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

Disassembly:
push 0xffffffffffffffff
push 0x60e17a
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x254]
mov esi, dword [esp + 0x258]
mov edi, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], ebx
call fcn.005e8490
test byte [esi + 8], 0xf
mov dword [esp + 0x24c], 0
je 0x410757
mov ebp, dword [esp + 0x25c]
push ebp
push esi
push ebx
mov ecx, edi
call fcn.0040e920
cmp eax, 1
je 0x410ba2
lea ecx, [esp + 0x24]
call fcn.00513f30
push 0
push 0
push 1
push 0
lea eax, [esp + 0x34]
push eax
push esi
lea ecx, [edi + 0x1f0]
mov byte [esp + 0x264], 1
call fcn.0054d1c0
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x410738
lea esp, [esp]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + esi*4]
push ebp
push edx
push ebx
mov ecx, edi
call fcn.0040f3b0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x410720
lea ecx, [esp + 0x24]
call fcn.00513f80
lea ecx, [esp + 0x24]
mov byte [esp + 0x24c], 0
call fcn.0048f310
jmp 0x410ba2
push esi
lea ecx, [esp + 0x94]
call fcn.0055fef0
cmp dword [edi + 0x1cc], 0
mov byte [esp + 0x24c], 2
jne 0x410783
push 0
lea ecx, [esp + 0x94]
call fcn.00560480
push 0xffffffffffffffff
mov ecx, esi
call fcn.00560200
mov ebp, dword [esp + 0x25c]
test eax, eax
jle 0x41081a
cmp ebp, 1
je 0x41081a
mov al, byte [esi + 8]
shr al, 4
and al, 0xf
cmp al, 1
je 0x4107b5
cmp dword [edi + 0x2a8], 1
jne 0x41081a
lea ecx, [esp + 0x24]
call fcn.00513f30
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xa4]
push edx
lea ecx, [edi + 0x1f0]
mov byte [esp + 0x264], 3
call fcn.0054d1c0
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x410808
mov edi, edi
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + esi*4]
push ebp
push ecx
push ebx
mov ecx, edi
call fcn.0040f3b0
inc esi
cmp esi, dword [esp + 0x24]
jl 0x4107f0
lea ecx, [esp + 0x24]
call fcn.00513f80
lea ecx, [esp + 0x24]
jmp 0x410b81
push ebp
push 2
lea edx, [esp + 0x98]
push edx
push ebx
mov ecx, edi
call fcn.0040f260
lea ecx, [esp + 0x30]
call fcn.00513f30
push esi
lea ecx, [esp + 0x120]
mov byte [esp + 0x250], 4
call fcn.0056d910
lea ecx, [esp + 0x11c]
mov byte [esp + 0x24c], 5
call fcn.0056dbc0
mov eax, dword [esp + 0x128]
cmp eax, dword [esp + 0x12c]
ja 0x410b40
mov bl, 8
mov esi, 0x80000
lea ebx, [ebx]
lea ecx, [esp + 0x11c]
call fcn.0056de00
cmp eax, 0x20
jne 0x410b1c
mov ecx, dword [esp + 0x13c]
push ecx
lea ecx, [esp + 0x44]
call fcn.0057c850
lea ecx, [esp + 0x74]
mov byte [esp + 0x24c], 6
call fcn.0055abe0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 7
call fcn.005eb500
cmp dword [esp + 0x54], 0
mov byte [esp + 0x24c], bl
jne 0x410930
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.0057c920
push eax
lea ecx, [esp + 0xf8]
call fcn.005808e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 9
call fcn.00517aa0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x24c], bl
call fcn.004ed1b0
test dword [esp + 0x14], esi
je 0x410926
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
jmp 0x41097c
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
jmp 0x41097c
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0xd8]
call fcn.005808e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 0xa
call fcn.00517aa0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x24c], bl
call fcn.004ed1b0
mov eax, dword [esp + 0x5c]
add eax, eax
test dword [esp + 0x14], esi
je 0x410978
mov dword [esp + 0x18], eax
jmp 0x41097c
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
call fcn.00560230
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x78]
call fcn.00560230
mov edx, dword [esp + 0x54]
push edx
lea ecx, [esp + 0x44]
call fcn.00473580
push eax
lea ecx, [esp + 0xb4]
call fcn.0057c810
test dword [esp + 0x58], 0xfffffffd
mov byte [esp + 0x24c], 0xb
je 0x4109cf
or dword [esp + 0xc4], 1
jmp 0x4109d7
and dword [esp + 0xc4], 0xfffffffe
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x78]
call fcn.005602f0
cmp dword [esp + 0x54], 0
jne 0x410a3e
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0xe8]
call fcn.005808e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 0xc
call fcn.00517aa0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x24c], 0xb
call fcn.004ed1b0
mov eax, dword [esp + 0x5c]
add eax, eax
test dword [esp + 0x14], esi
je 0x410a38
mov dword [esp + 0x18], eax
jmp 0x410a9a
mov dword [esp + 0x20], eax
jmp 0x410a9a
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x44]
call fcn.0057c920
push eax
lea ecx, [esp + 0x108]
call fcn.005808e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x250], 0xd
call fcn.00517aa0
lea ecx, [esp + 0x104]
mov byte [esp + 0x24c], 0xb
call fcn.004ed1b0
test dword [esp + 0x14], esi
je 0x410a92
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
jmp 0x410a9a
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x78]
call fcn.00560230
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
call fcn.00560230
push 0
push 0
push 1
push 0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x88]
push edx
lea ecx, [edi + 0x1f0]
call fcn.0054d1c0
lea ecx, [esp + 0xac]
mov byte [esp + 0x24c], bl
call fcn.0057c8f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x24c], 7
call fcn.004ed1b0
lea ecx, [esp + 0x74]
mov byte [esp + 0x24c], 6
call fcn.0055ff50
lea ecx, [esp + 0x40]
mov byte [esp + 0x24c], 5
call fcn.0057c8f0
lea ecx, [esp + 0x11c]
call fcn.0056dbf0
mov eax, dword [esp + 0x128]
cmp eax, dword [esp + 0x12c]
jbe 0x410880
mov ebx, dword [esp + 0x3c]
xor esi, esi
cmp dword [esp + 0x30], esi
jle 0x410b60
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + esi*4]
push ebp
push edx
push ebx
mov ecx, edi
call fcn.0040f3b0
inc esi
cmp esi, dword [esp + 0x30]
jl 0x410b48
lea ecx, [esp + 0x30]
call fcn.00513f80
lea ecx, [esp + 0x11c]
mov byte [esp + 0x24c], 4
call fcn.0056cc30
lea ecx, [esp + 0x30]
mov byte [esp + 0x24c], 2
call fcn.0048f310
lea ecx, [esp + 0x90]
mov byte [esp + 0x24c], 0
call fcn.0055ff50
lea ecx, [esp + 0x68]
mov dword [esp + 0x24c], 0xffffffff
call fcn.005e8710
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.005f617e
add esp, 0x23c
ret 0xc