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

Disassembly:
push 0xffffffffffffffff
push 0x568a2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xe8]
xor esi, esi
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x28]
mov ecx, dword [edi + 0x10]
sub eax, ebx
lea ebp, [eax + ecx + 1]
lea ecx, [esp + 0x14]
push ebp
push esi
push 0x571b20
mov dword [esp + 0x1c], ebp
call fcn.00410e80
cmp ebp, esi
mov dword [esp + 0xe0], esi
jle 0x4109ad
mov edx, dword [esp + 0xec]
lea ebp, [edx + 4]
jmp 0x41087d
mov edi, dword [esp + 0xe8]
push esi
mov ecx, edi
call fcn.0043fe30
lea ebx, [ebp - 4]
mov edi, eax
push 0
mov ecx, ebx
mov dword [esp + 0x60], edi
call fcn.0043a0c0
mov eax, dword [esp + 0x24]
mov dword [ebp], 0
cmp esi, eax
mov dword [ebp + 4], 0xffffffff
jl 0x4108b3
cmp esi, dword [esp + 0x28]
jle 0x4108f4
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0x8c]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 1
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 0
call fcn.004305f0
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [ecx + eax*4], 0
cmp dword [edi], 0
je 0x41099b
mov edx, dword [esp + 0x5c]
test byte [edx + 8], 2
jne 0x41099b
push edi
mov ecx, ebx
call fcn.0043a110
mov eax, dword [edi]
push eax
call fcn.00410020
mov dword [ebp], eax
mov eax, dword [esp + 0x28]
mov edi, dword [edi]
add esp, 4
cmp esi, eax
jl 0x410943
cmp esi, dword [esp + 0x28]
jle 0x410981
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0x74]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 2
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], 0
call fcn.004305f0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, esi
push edi
sub eax, ebx
lea ebx, [ecx + eax*4]
call fcn.00410d20
add esp, 4
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
inc esi
add ebp, 0xc
cmp esi, eax
jl 0x410876
mov ebp, eax
push ebp
push 0
push 0x571b20
lea ecx, [esp + 0x50]
call fcn.00410e80
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x50]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x24]
sub eax, edx
push ebp
push eax
mov eax, dword [esp + 0x28]
lea edx, [ecx*4]
mov byte [esp + 0xf0], 3
sub eax, edx
push eax
call fcn.00444d20
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x2c]
push edi
push 0
push 0x571b20
call fcn.0043e2f0
mov bl, 4
xor esi, esi
test edi, edi
mov byte [esp + 0xe0], bl
jl 0x410a86
cmp esi, dword [esp + 0x3c]
jl 0x410a31
cmp esi, dword [esp + 0x40]
jle 0x410a6e
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0x74]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 5
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov edx, dword [esp + 0x34]
mov ecx, esi
sub ecx, edx
mov edx, dword [esp + 0x30]
inc esi
cmp esi, edi
mov dword [edx + ecx*4], 0xffffffff
jle 0x410a25
xor edi, edi
test ebp, ebp
jle 0x410c94
mov eax, dword [esp + 0xec]
add eax, 8
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x24]
jl 0x410aaa
cmp edi, dword [esp + 0x28]
jle 0x410ae7
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0x74]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 6
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x60]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub ecx, edx
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx*4], 0
je 0x410c80
cmp edi, dword [esp + 0x54]
jl 0x410b09
cmp edi, dword [esp + 0x58]
jle 0x410b49
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0x8c]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 7
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jl 0x410b66
cmp esi, dword [esp + 0x40]
jle 0x410ba9
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0xa4]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 8
call fcn.00430640
add esp, 4
lea ecx, [esp + 0x90]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
sub esi, ecx
mov esi, dword [edx + esi*4]
test esi, esi
mov dword [eax], esi
jge 0x410c80
cmp edi, dword [esp + 0x54]
jl 0x410bd0
cmp edi, dword [esp + 0x58]
jle 0x410c13
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0xbc]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 9
call fcn.00430640
add esp, 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x3c]
mov ecx, edi
sub ecx, edx
mov edx, dword [esp + 0x48]
mov esi, dword [edx + ecx*4]
cmp esi, eax
jl 0x410c30
cmp esi, dword [esp + 0x40]
jle 0x410c73
push 0
push 0
push 0x261
push 0x5bade0
push 0x5badc0
lea ecx, [esp + 0xd4]
call fcn.00430560
push eax
mov byte [esp + 0xe4], 0xa
call fcn.00430640
add esp, 4
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe0], bl
call fcn.004305f0
mov eax, dword [esp + 0x34]
sub esi, eax
mov eax, dword [esp + 0x30]
mov dword [eax + esi*4], edi
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0xc
cmp edi, ebp
mov dword [esp + 0x10], ecx
jl 0x410a9e
xor esi, esi
test ebp, ebp
jle 0x410cc3
push esi
lea ecx, [esp + 0x18]
call fcn.00410f30
cmp dword [eax], 0
je 0x410cbe
push esi
lea ecx, [esp + 0x18]
call fcn.00410f30
mov ecx, dword [eax]
push ecx
call fcn.00444cf0
add esp, 4
inc esi
cmp esi, ebp
jl 0x410c9a
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 3
call fcn.0043e330
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 0
call fcn.0043e330
lea ecx, [esp + 0x14]
mov dword [esp + 0xe0], 0xffffffff
call fcn.0043e330
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd4
ret