Function at 0x1007b840
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100e82e9
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1010bb90]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010bb90]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0x7a
push 0x7b
push 0xffffffffffffff84
push 0x3e
push 0x7e
push 0x77
push 0x71
push 0xffffffffffffff81
push 0x6c
push 0x39
push 0x7c
push 0x6d
push 0x70
push 0x78
push 0x66
push 0x76
push 0x65
push 0x6b
push 0x6d
lea esi, [esp + 0x98]
call fcn.10070600
mov ebp, 0x10
add esp, 0x84
cmp dword [eax + 0x18], ebp
jb 0x1007b8df
mov eax, dword [eax + 4]
jmp 0x1007b8e2
add eax, 4
push 0x100f4118
push eax
call fcn.100c1120
add esp, 8
cmp eax, edi
je 0x1007b904
push eax
call fcn.100c190c
add esp, 4
mov eax, 1
jmp 0x1007b906
xor eax, eax
cmp eax, edi
sete bl
cmp dword [esp + 0x2c], ebp
jb 0x1007b91e
mov eax, dword [esp + 0x18]
push eax
call fcn.100c14d4
add esp, 4
test bl, bl
je 0x1007bd65
push edi
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0xffffffffffffff87
push 0xffffffffffffff8a
push 0xffffffffffffff85
push 0x3e
push 0x7e
push 0x77
push 0x71
push 0xffffffffffffff81
push 0x6c
push 0x39
push 0x7c
push 0x6d
push 0x70
push 0x78
push 0x66
push 0x76
push 0x65
push 0x6b
push 0x6d
lea esi, [esp + 0x98]
call fcn.10070600
add esp, 0x84
cmp dword [eax + 0x18], ebp
jb 0x1007b983
mov eax, dword [eax + 4]
jmp 0x1007b986
add eax, 4
push 0x100f4118
push eax
call fcn.100c1120
add esp, 8
cmp eax, edi
je 0x1007b9a8
push eax
call fcn.100c190c
add esp, 4
mov esi, 1
jmp 0x1007b9aa
xor esi, esi
cmp dword [esp + 0x2c], ebp
jb 0x1007b9bd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100c14d4
add esp, 4
cmp esi, edi
je 0x1007bd65
push edi
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0xffffffffffffff87
push 0xffffffffffffff8a
push 0xffffffffffffff85
push 0x3e
push 0x7e
push 0x77
push 0x71
push 0xffffffffffffff81
push 0x6c
push 0x39
push 0x7c
push 0x6d
push 0x70
push 0x78
push 0x66
push 0x76
push 0x65
push 0x6b
push 0x6d
lea esi, [esp + 0x98]
call fcn.10070600
add esp, 0x84
mov dword [esp + 0x148], edi
cmp dword [eax + 0x18], ebp
jb 0x1007ba29
mov eax, dword [eax + 4]
jmp 0x1007ba2c
add eax, 4
push eax
lea edx, [esp + 0x50]
push edx
call fcn.1004ddc0
mov byte [esp + 0x148], 2
cmp dword [esp + 0x2c], ebp
jb 0x1007ba52
mov eax, dword [esp + 0x18]
push eax
call fcn.100c14d4
add esp, 4
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 4]
mov edx, dword [esp + eax + 0x54]
lea eax, [esp + eax + 0x4c]
and dl, 6
movsx ecx, dl
neg ecx
sbb ecx, ecx
not ecx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
test eax, ecx
je 0x1007bd33
xor eax, eax
lea edx, [esp + 0x118]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov byte [esp + 0x138], al
push edx
lea eax, [esp + 0x50]
push eax
mov ecx, 0x20
call fcn.1000a550
cmp dword [esp + 0x50], edi
je 0x1007bd2a
push edi
push 0x51
push 0x58
push 0x4e
push 0xffffffffffffff82
push 0x53
push 0x51
push 0x4a
push 0x4e
push 0x4b
push 0x4e
push 0x48
push 0x4b
push 0x4c
push 0x45
push 0x44
push 0x41
push 0x40
push 0x42
push 0x42
push 0x46
push 0x71
push 0x6c
push 0x3c
push 0x3f
push 0x3f
push 0x6d
push 0x3d
push 0x67
push 0x3a
push 0x37
push 0x67
push 0x66
lea esi, [esp + 0xb4]
call fcn.10070600
add esp, 0x84
mov esi, eax
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x11c]
mov byte [esp + 0x14c], 3
call fcn.100309c0
add esp, 4
cmp dword [esi + 0x18], ebp
jb 0x1007bb66
mov esi, dword [esi + 4]
jmp 0x1007bb69
add esi, 4
cmp dword [eax + 0x18], ebp
jb 0x1007bb73
mov eax, dword [eax + 4]
jmp 0x1007bb76
add eax, 4
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007bb98
test dl, dl
je 0x1007bb94
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007bb98
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007bb78
xor eax, eax
jmp 0x1007bb9d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea ecx, [esp + 0xfc]
sete bl
call fcn.10007a10
lea ecx, [esp + 0x30]
mov byte [esp + 0x148], 2
call fcn.10007a10
test bl, bl
je 0x1007bd2a
lea esi, [esp + 0x4c]
call fcn.10009860
push edi
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0x13
push 0x12
push 0x11
push ebp
push 0xf
push 0xe
push 0xd
push 0xc
push 0xb
push 0xa
push 9
push 8
push 7
push 6
push 5
push 4
push 3
push 0x64
push 0x78
lea esi, [esp + 0x164]
call fcn.10070600
add esp, 0x84
mov edi, eax
push 0
push 0x20
push 0x1f
push 0x1e
push 0x1d
push 0x1c
push 0x1b
push 0x1a
push 0x19
push 0x18
push 0x17
push 0x16
push 0x15
push 0x14
push 0x7a
push 0x7b
push 0xffffffffffffff84
push 0x3e
push 0x7e
push 0x77
push 0x71
push 0xffffffffffffff81
push 0x6c
push 0x39
push 0x7c
push 0x6d
push 0x70
push 0x78
push 0x66
push 0x76
push 0x65
push 0x6b
push 0x6d
lea esi, [esp + 0xb4]
mov byte [esp + 0x1cc], 4
call fcn.10070600
add esp, 0x84
cmp dword [edi + 0x18], ebp
jb 0x1007bc8a
mov edi, dword [edi + 4]
jmp 0x1007bc8d
add edi, 4
cmp dword [eax + 0x18], ebp
jb 0x1007bc97
mov eax, dword [eax + 4]
jmp 0x1007bc9a
add eax, 4
push edi
push eax
call fcn.100c1120
add esp, 8
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.10007a10
lea ecx, [esp + 0xe0]
mov byte [esp + 0x148], 2
call fcn.10007a10
test esi, esi
je 0x1007bd14
lea edx, [esp + 0xfc]
push edx
call fcn.1007b340
mov eax, dword [esp + 0x104]
add esp, 4
cmp dword [esp + 0x114], ebp
jae 0x1007bcee
lea eax, [esp + 0x100]
mov ecx, dword [esp + 0x110]
push esi
push 1
push ecx
push eax
call fcn.100c16be
push esi
call fcn.100c190c
add esp, 0x14
lea ecx, [esp + 0xfc]
call fcn.10007a10
lea eax, [esp + 0x4c]
mov dword [esp + 0x148], 0xffffffff
call fcn.10006c30
jmp 0x1007bd65
lea esi, [esp + 0x4c]
call fcn.10009860
lea ecx, [esp + 0xa8]
mov dword [esp + 0x148], 0xffffffff
call fcn.100097d0
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0xac], vtable.std::ios_base.0
call fcn.100af7db
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100bfcbc
add esp, 0x138
ret