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

Disassembly:
push 0xffffffffffffffff
push 0x42a6e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
call fcn.00406528
mov eax, dword [0x437898]
mov dword [esp + 0x94], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 4
call fcn.004016b0
mov esi, dword [esp + 0x9c]
mov byte [ebp + 0x18], 0
push 0
mov byte [esp + 0x98], 5
mov eax, dword [esi]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00402940
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x98], 6
call fcn.0041f45c
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 5
call fcn.0041f323
mov eax, dword [esi + 0xc]
test eax, eax
je 0x401352
push section..data
lea ecx, [esp + 0x20]
call fcn.0041f391
push eax
lea ecx, [esp + 0x1c]
mov bl, 7
push esi
push ecx
mov byte [esp + 0xa0], bl
call fcn.0041f552
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 8
call fcn.0041f45c
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.0041f323
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 5
call fcn.0041f323
mov edx, dword [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.004065eb
test eax, eax
je 0x401352
mov bl, 9
mov al, byte [ebp + 0x18]
test al, al
jne 0x401352
lea ecx, [esp + 0x28]
call fcn.0040680b
mov edi, eax
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
test eax, eax
je 0x40134a
lea ecx, [esp + 0x28]
call fcn.004067d2
test eax, eax
jne 0x40134a
push esi
lea ecx, [esp + 0x48]
call fcn.0041f45c
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0041f45c
lea edx, [esi + 8]
lea ecx, [esp + 0x4c]
push edx
call fcn.0041f45c
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], edx
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0x40]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.00406a03
push eax
lea edx, [esp + 0x20]
push esi
push edx
mov byte [esp + 0xa0], bl
call fcn.0041f552
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 0xa
call fcn.0041f45c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.0041f323
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 5
call fcn.0041f323
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.00401110
test edi, edi
jne 0x401229
lea ecx, [esp + 0x28]
call fcn.004065a1
push esi
lea ecx, [ebp + 0x24]
call fcn.0041f45c
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x401377
mov ecx, dword [ebp + 0x20]
push ecx
push 2
push ebp
call eax
add esp, 0xc
lea edx, [esi + 4]
lea eax, [esp + 0x1c]
push edx
push esi
push eax
call fcn.0041f552
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x98], 0xb
call fcn.0041f45c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 5
call fcn.0041f323
mov ecx, dword [esp + 0x14]
push 0
push ecx
lea ecx, [esp + 0x30]
call fcn.004065eb
test eax, eax
je 0x401630
mov bl, 0xc
mov al, byte [ebp + 0x18]
test al, al
jne 0x401630
lea ecx, [esp + 0x28]
call fcn.0040680b
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.004067d2
test eax, eax
jne 0x401624
mov al, byte [esi + 0x10]
mov edi, 1
test al, 0x10
je 0x40140f
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x28]
push edx
call fcn.004066cb
mov edi, eax
test edi, edi
je 0x40160b
test byte [esi + 0x10], 1
je 0x40145e
lea ecx, [esp + 0x28]
call fcn.00406a62
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
jg 0x401565
jl 0x401436
mov edx, dword [esi + 0x18]
cmp edx, eax
ja 0x401565
lea ecx, [esp + 0x28]
call fcn.00406a62
mov ecx, dword [esi + 0x24]
cmp ecx, edx
jl 0x401565
jg 0x401457
mov edx, dword [esi + 0x20]
cmp edx, eax
jb 0x401565
mov edi, 1
jmp 0x401466
test edi, edi
je 0x40160b
test byte [esi + 0x10], 2
je 0x4014bb
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.0040677c
push ecx
mov ecx, dword [esi + 0x30]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.004019f0
test eax, eax
je 0x401565
mov edx, dword [esi + 0x34]
push ecx
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esp
mov dword [eax], edx
call fcn.004019e0
test eax, eax
je 0x401565
mov edi, 1
jmp 0x4014c3
test edi, edi
je 0x40160b
test byte [esi + 0x10], 4
je 0x401510
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004067a7
push ecx
mov ecx, dword [esi + 0x28]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.004019f0
test eax, eax
je 0x401565
mov edx, dword [esi + 0x2c]
push ecx
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esp
mov dword [eax], edx
call fcn.004019e0
test eax, eax
je 0x401565
mov edi, 1
jmp 0x401518
test edi, edi
je 0x40160b
test byte [esi + 0x10], 8
je 0x40156c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.00406751
push ecx
mov ecx, dword [esi + 0x38]
mov eax, esp
mov dword [esp + 0x28], esp
mov dword [eax], ecx
lea ecx, [esp + 0x14]
call fcn.004019f0
test eax, eax
je 0x401565
mov edx, dword [esi + 0x3c]
push ecx
mov eax, esp
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], esp
mov dword [eax], edx
call fcn.004019e0
test eax, eax
je 0x401565
mov edi, 1
jmp 0x401574
xor edi, edi
jmp 0x40160b
test edi, edi
je 0x40160b
test byte [esi + 0x10], 0x20
je 0x4015b0
mov edi, dword [esi + 8]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004068da
mov eax, dword [eax]
push edi
push eax
mov ecx, ebp
mov byte [esp + 0x9c], bl
call fcn.00401740
lea ecx, [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x94], 5
call fcn.0041f323
test edi, edi
je 0x40160b
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004068da
mov edx, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0xd
call dword [edx + 0x38]
test eax, eax
je 0x4015e9
push str..__
lea ecx, [esp + 0x1c]
call fcn.0041f617
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 4]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0041eb82
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], 5
call fcn.0041f323
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x401624
mov ecx, dword [ebp + 0x20]
xor edx, edx
test edi, edi
sete dl
push ecx
push edx
push ebp
call eax
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4013c3
mov ecx, ebp
call fcn.00401920
mov esi, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 0xf
call fcn.0041f323
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 0xe
call fcn.0041f323
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 1
call fcn.0041f323
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.0041f323
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], 0xffffffff
call fcn.00406565
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 4