Function at 0x40aba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d55e
mov eax, dword fs:[0]
push eax
sub esp, 0x190
push ebx
push esi
push edi
mov eax, dword [0x49d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esp + 0x90]
call fcn.00410860
lea eax, [esp + 0x124]
xor ebx, ebx
push eax
mov dword [esp + 0x1ac], ebx
call fcn.00413770
mov dword [esp + 0x74], vtable.Variant.0
mov dword [esp + 0x7c], 1
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov edi, vtable.IOBuffer.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x1000
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x94]
push ecx
mov byte [esp + 0x1ac], 3
call fcn.0040bda0
lea edx, [esp + 0x16c]
push edx
push esi
mov byte [esp + 0x1b0], 4
call fcn.0043f62f
add esp, 8
cmp dword [esp + 0x180], 0x1b
jge 0x40acaa
lea ecx, [esp + 0xec]
mov byte [esp + 0x1a8], 3
call fcn.0040be80
lea eax, [esp + 0xec]
push eax
mov dword [esp + 0xf0], vtable.std::ios_base.0
call fcn.00459727
mov dword [esp + 0x18], edi
jmp 0x40b25f
mov ecx, esi
push 0x21
lea esi, [esp + 0xa0]
call fcn.0040d090
test eax, eax
jne 0x40ace8
mov ecx, dword [esp + 0x94]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x9c]
lea ecx, [esp + ecx + 0x94]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x40ace1
or eax, 4
push ebx
push eax
call fcn.0040a8e0
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 4]
mov eax, dword [esp + eax + 0x9c]
test al, 6
je 0x40ad32
lea ecx, [esp + 0xec]
mov byte [esp + 0x1a8], 3
call fcn.0040be80
lea ecx, [esp + 0xec]
push ecx
mov dword [esp + 0xf0], vtable.std::ios_base.0
call fcn.00459727
mov dword [esp + 0x18], edi
jmp 0x40b25f
mov edi, dword [ebp + 8]
lea esi, [edi + 0x34]
push esi
lea edx, [esp + 0x98]
push edx
mov ecx, 1
call fcn.0040cf40
lea eax, [edi + 0x35]
push eax
lea eax, [esp + 0x98]
push eax
mov ecx, 1
call fcn.0040cf40
cmp byte [esi], bl
jne 0x40b1f1
cmp byte [edi + 0x35], 0xbf
jne 0x40b1f1
lea ecx, [esp + 0x33]
push ecx
lea edx, [esp + 0x98]
push edx
mov ecx, 1
call fcn.0040cf40
lea eax, [esp + 0x32]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, 1
call fcn.0040cf40
lea edx, [esp + 0x31]
push edx
lea eax, [esp + 0x98]
push eax
mov ecx, 1
call fcn.0040cf40
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x98]
push edx
mov ecx, 1
call fcn.0040cf40
mov eax, dword [esp + 0x180]
add eax, 0xfffffffa
cmp dword [esp + 0x30], eax
jne 0x40b1c0
lea esi, [edi + 0x36]
push esi
lea ecx, [esp + 0x98]
push ecx
mov ecx, 4
call fcn.0040cf40
cmp byte [esi], 0x54
jne 0x40b1c0
cmp byte [edi + 0x37], 0x43
jne 0x40b1c0
cmp byte [edi + 0x38], 0x53
jne 0x40b1c0
cmp byte [edi + 0x39], 0x4f
jne 0x40b1c0
lea esi, [esp + 0x94]
call fcn.0040ba10
mov edi, dword [esp + 0x30]
add edi, 0xfffffff6
push edi
mov dword [esp + 0x3c], edi
call fcn.0041dd4e
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x10], esi
je 0x40b1c0
push esi
lea edx, [esp + 0x98]
push edx
mov ecx, edi
call fcn.0040cf40
mov al, byte [esi + 1]
mov cl, byte [esi]
mov byte [esp + 0x34], al
mov byte [esp + 0x35], cl
movzx eax, word [esp + 0x34]
lea edi, [eax + 2]
push esi
lea eax, [esp + 0x18]
call fcn.004135a0
test al, al
je 0x40b1b7
mov esi, edi
lea edx, [esi + 4]
cmp edx, dword [esp + 0x38]
jae 0x40b1b3
push ebx
lea eax, [esp + 0x78]
push eax
lea edi, [esp + 0x1c]
call fcn.00410df0
test al, al
je 0x40b1b3
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
call fcn.0040e740
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
push edx
lea ecx, [edi + 0x18]
mov byte [esp + 0x1b4], 5
call fcn.00401f50
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a8], 4
call fcn.00401e10
mov eax, dword [esp + 0x10]
add esi, 3
cmp byte [esi + eax], bl
jne 0x40b08a
mov dword [edi + 0x44], ebx
mov edi, dword [esp + 0x38]
add esi, 1
sub edi, esi
add esi, eax
sub edi, 1
push esi
lea eax, [esp + 0x18]
call fcn.004135a0
test al, al
je 0x40b1b3
cmp dword [esp + 0x20], ebx
je 0x40afe0
mov esi, vtable.Variant.0
mov eax, 1
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
push ebx
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x1b0], 7
call fcn.00410df0
test al, al
je 0x40b057
lea ecx, [esp + 0x3c]
push ecx
mov edx, edi
push edx
lea ecx, [esp + 0x98]
call fcn.00412890
test al, al
je 0x40b057
mov esi, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040ebc0
add esp, 4
call fcn.0040e1e0
add dword [esp + 0x24], 1
mov byte [esp + 0x1a8], 6
mov edi, vtable.Variant.0
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.0040e0e0
mov byte [esp + 0x1a8], 4
lea esi, [esp + 0x54]
mov dword [esp + 0x54], edi
call fcn.0040e0e0
cmp dword [esp + 0x20], ebx
jne 0x40af22
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041dd53
add esp, 4
lea edi, [esp + 0x94]
call fcn.0040bef0
mov eax, edi
mov byte [esp + 0x1a8], 3
call fcn.0040b2d0
lea ecx, [esp + 0x14]
call fcn.00413570
mov byte [esp + 0x1a8], 1
lea esi, [esp + 0x74]
mov dword [esp + 0x74], vtable.Variant.0
call fcn.0040e0e0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1a8], bl
call fcn.00413800
mov al, 1
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x3c]
call fcn.0040e0e0
mov byte [esp + 0x1a8], 4
lea esi, [esp + 0x54]
mov dword [esp + 0x54], vtable.Variant.0
call fcn.0040e0e0
jmp 0x40b1b3
mov dword [edi + 0x44], 3
mov edi, dword [esp + 0x38]
add esi, 1
sub edi, esi
add esi, eax
sub edi, 1
push esi
lea eax, [esp + 0x18]
call fcn.004135a0
test al, al
je 0x40b1b3
cmp dword [esp + 0x20], ebx
je 0x40afe0
jmp 0x40b0c0
mov ecx, vtable.Variant.0
mov eax, 1
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
push ebx
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x44]
lea ecx, [esp + 0x12c]
mov byte [esp + 0x1b0], 9
call fcn.00413f60
test al, al
je 0x40b182
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x12c]
call fcn.00413880
test al, al
je 0x40b182
mov esi, dword [ebp + 8]
lea edx, [esp + 0x54]
push edx
push ecx
mov eax, ebx
push eax
call fcn.0040ebc0
add esp, 4
call fcn.0040e1e0
add dword [esp + 0x24], 1
mov byte [esp + 0x1a8], 8
mov edi, vtable.Variant.0
lea esi, [esp + 0x54]
mov dword [esp + 0x54], edi
call fcn.0040e0e0
mov byte [esp + 0x1a8], 4
mov esi, ebx
mov dword [esp + 0x3c], edi
call fcn.0040e0e0
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x40b0c0
jmp 0x40afe0
mov byte [esp + 0x1a8], 8
mov edi, vtable.Variant.0
lea esi, [esp + 0x54]
mov dword [esp + 0x54], edi
call fcn.0040e0e0
mov byte [esp + 0x1a8], 4
lea esi, [esp + 0x3c]
mov dword [esp + 0x3c], edi
call fcn.0040e0e0
xor ebx, ebx
mov esi, dword [esp + 0x10]
push esi
call fcn.0041dd53
add esp, 4
lea edi, [esp + 0x94]
call fcn.0040bef0
mov eax, edi
mov byte [esp + 0x1a8], 3
call fcn.0040b2d0
lea ecx, [esp + 0x14]
call fcn.00413570
mov byte [esp + 0x1a8], 1
jmp 0x40b28b
lea esi, [esp + 0x9c]
call fcn.0040d170
test eax, eax
jne 0x40b22b
mov edx, dword [esp + 0x94]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x9c]
lea ecx, [esp + ecx + 0x94]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x40b224
or eax, 4
push ebx
push eax
call fcn.0040a8e0
lea ecx, [esp + 0xec]
mov byte [esp + 0x1a8], 3
call fcn.0040be80
lea eax, [esp + 0xec]
push eax
mov dword [esp + 0xf0], vtable.std::ios_base.0
call fcn.00459727
mov dword [esp + 0x18], vtable.IOBuffer.0
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x40b277
push eax
call fcn.0041dd53
add esp, 4
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1a8], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea esi, [esp + 0x74]
mov dword [esp + 0x74], vtable.Variant.0
call fcn.0040e0e0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1a8], bl
call fcn.00413800
xor al, al
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4