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

Disassembly:
push 0xffffffffffffffff
push 0x45845a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebp
push esi
push edi
xor edi, edi
mov ecx, 0x472168
mov dword [esp + 0x14], edi
call fcn.00412a10
mov eax, dword [0x46d088]
mov dword [esp + 0xc], eax
mov dword [esp + 0xac], edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0xb4]
push edi
push edi
push 0x1004
mov eax, dword [esi + 0x1c]
mov byte [esp + 0xb8], 1
push eax
xor ebp, ebp
call dword [0x45a740]
cmp eax, edi
jle 0x419525
push ebx
push 2
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0043f74a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 2
call fcn.00447895
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 1
call fcn.0044775c
mov edx, dword [esp + 0x10]
push 0x46cd88
push edx
call fcn.0041e2a0
add esp, 8
cmp eax, edi
jne 0x418fd7
push 0x46c3a0
lea ecx, [esp + 0x14]
call fcn.004478e5
push 3
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, esi
call fcn.0043f74a
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 3
call fcn.00447895
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 1
call fcn.0044775c
mov ecx, dword [esp + 0x14]
push 0x46cd88
push ecx
call fcn.0041e2a0
add esp, 8
cmp eax, edi
jne 0x41902d
push 0x46c3a0
lea ecx, [esp + 0x18]
call fcn.004478e5
push edi
lea edx, [esp + 0x34]
push ebp
push edx
mov ecx, esi
call fcn.0043f74a
mov eax, dword [eax]
mov esi, str.Direct
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41906a
test cl, cl
je 0x419066
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41906a
add eax, 2
add esi, 2
test cl, cl
jne 0x419042
xor eax, eax
jmp 0x41906f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea ecx, [esp + 0x30]
sete bl
call fcn.0044775c
test bl, bl
push 0x40
je 0x4190d0
call fcn.004428c1
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, edi
mov byte [esp + 0xb0], 4
je 0x4190bd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, eax
call fcn.00417200
mov byte [esp + 0xb0], 1
mov dword [esp + 0x1c], eax
jmp 0x419198
xor eax, eax
mov byte [esp + 0xb0], 1
mov dword [esp + 0x1c], eax
jmp 0x419198
call fcn.004428c1
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
test edi, edi
mov byte [esp + 0xb0], 5
je 0x41914e
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xb8]
push 1
lea eax, [esp + 0x24]
push ebp
push eax
or ebx, 1
call fcn.0043f74a
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x28]
push ebp
or ebx, 2
push ecx
mov ecx, dword [esp + 0xc4]
mov byte [esp + 0xbc], 6
mov dword [esp + 0x24], ebx
call fcn.0043f74a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push ecx
push 5
push esi
push eax
mov ecx, edi
mov dword [esp + 0xc4], 7
call fcn.00417040
jmp 0x419154
mov ebx, dword [esp + 0x18]
xor eax, eax
test bl, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb0], 8
je 0x419178
and ebx, 0xfffffffd
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
call fcn.0044775c
test bl, 1
mov dword [esp + 0xb0], 1
je 0x419198
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.0044775c
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x419501
mov eax, dword [0x4721a8]
test eax, eax
je 0x41937d
mov ecx, dword [0x472198]
mov edx, dword [0x472194]
cmp ecx, edx
je 0x41937d
lea eax, [ecx + 4]
cmp eax, edx
mov dword [0x472198], eax
jne 0x41936a
test ecx, ecx
je 0x4191db
mov dword [ecx], esi
push 0x1000
call fcn.004428c1
mov esi, eax
mov eax, dword [0x4721a8]
add esp, 4
test eax, eax
jne 0x41926c
mov ecx, 0x47217c
mov dword [0x4721a4], 2
call fcn.0040d310
mov edx, dword [0x4721a0]
lea ecx, [esp + 0x38]
mov dword [edx + 4], esi
mov eax, dword [0x4721a0]
add eax, 4
add esi, 0x800
push eax
push esi
call fcn.0040d3a0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [0x472180], eax
mov dword [0x472184], ecx
mov dword [0x472188], edx
mov dword [0x47218c], esi
mov dword [0x472190], eax
mov dword [0x472194], ecx
mov dword [0x472198], edx
mov dword [0x47219c], esi
jmp 0x4194fb
mov ecx, dword [0x4721a4]
mov edx, dword [0x4721a0]
mov eax, dword [0x47219c]
lea ecx, [edx + ecx*4 - 4]
cmp eax, ecx
jae 0x4192da
add eax, 4
lea ecx, [esp + 0x88]
mov dword [0x47219c], eax
mov dword [eax], esi
mov eax, dword [0x47219c]
push eax
push esi
call fcn.0040d3a0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [0x472190], edx
mov edx, dword [esp + 0x94]
mov dword [0x472194], eax
mov dword [0x472198], ecx
mov dword [0x47219c], edx
jmp 0x4194fb
mov ebx, dword [0x47218c]
mov ecx, 0x47217c
sub eax, ebx
sar eax, 2
inc eax
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.0040d330
lea edi, [eax + edi*4]
push eax
mov dword [edi], esi
mov ecx, dword [0x472188]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040d3a0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov dword [0x472180], ecx
mov ecx, dword [esp + 0x74]
push edi
mov dword [0x47218c], ecx
push esi
lea ecx, [esp + 0x50]
mov dword [0x472184], edx
mov dword [0x472188], eax
call fcn.0040d3a0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [0x472190], edx
mov edx, dword [esp + 0x54]
mov dword [0x472194], eax
mov dword [0x472198], ecx
mov dword [0x47219c], edx
jmp 0x4194fb
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0040d3d0
add esp, 8
jmp 0x4194fb
push 0x1000
call fcn.004428c1
mov esi, eax
mov eax, dword [0x4721a8]
add esp, 4
test eax, eax
jne 0x419408
push 8
mov dword [0x4721a4], 2
call fcn.004428c1
mov dword [0x4721a0], eax
mov dword [eax + 4], esi
mov ecx, dword [0x4721a0]
add esp, 4
add esi, 0x800
lea eax, [ecx + 4]
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.0040d3a0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [0x472180], eax
mov dword [0x472184], ecx
mov dword [0x472188], esi
mov dword [0x47218c], edx
mov dword [0x472190], eax
mov dword [0x472194], ecx
mov dword [0x47219c], edx
jmp 0x4194e6
mov edx, dword [0x4721a4]
mov eax, dword [0x4721a0]
lea ecx, [eax + edx*4 - 4]
mov eax, dword [0x47219c]
cmp eax, ecx
jae 0x419466
add eax, 4
lea ecx, [esp + 0x78]
mov dword [0x47219c], eax
mov dword [eax], esi
mov eax, dword [0x47219c]
push eax
push esi
call fcn.0040d3a0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov dword [0x472190], edx
mov dword [0x472194], eax
mov dword [0x47219c], ecx
jmp 0x4194e6
mov edi, dword [0x47218c]
mov ecx, 0x47217c
sub eax, edi
sar eax, 2
inc eax
mov edi, eax
lea edx, [edi + edi]
push edx
call fcn.0040d330
lea edi, [eax + edi*4]
push eax
mov dword [edi], esi
mov ecx, dword [0x472188]
push ecx
lea ecx, [esp + 0xa0]
call fcn.0040d3a0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [0x472180], eax
mov eax, dword [esp + 0xa4]
mov dword [0x472184], ecx
mov dword [0x472188], edx
mov dword [0x47218c], eax
mov eax, dword [edi]
mov dword [0x47219c], edi
mov dword [0x472190], eax
lea ecx, [eax + 0x1000]
mov dword [0x472194], ecx
mov eax, esi
add esi, 4
test eax, eax
mov dword [0x472198], esi
je 0x4194fb
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
inc dword [0x4721a8]
mov esi, dword [esp + 0xb8]
xor edi, edi
push edi
push edi
mov edx, dword [esi + 0x1c]
push 0x1004
push edx
inc ebp
call dword [0x45a740]
cmp ebp, eax
jl 0x418f7d
pop ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.0044775c
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.0044775c
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xa4
ret 4