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

Disassembly:
push 0xffffffffffffffff
push 0x4898ac
mov eax, dword fs:[0]
push eax
mov eax, 0x206c
call fcn.00482af0
mov eax, dword [0x4e4394]
xor eax, esp
mov dword [esp + 0x2068], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e4394]
xor eax, esp
push eax
lea eax, [esp + 0x2080]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push 0x4b71e0
push 0x80000002
mov esi, ecx
call dword [0x4a4018]
test eax, eax
jne 0x410fbc
push 0x1ffe
lea edx, [esp + 0x82]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x88], cx
call fcn.00478050
mov ebp, 7
xor eax, eax
add esp, 0xc
mov dword [esp + 0x1c], 0x2000
mov dword [esp + 0x20], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
mov dword [esp + 0x2088], ebx
xor ecx, ecx
mov eax, esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410dc1
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x48]
call fcn.0040bf50
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
mov byte [esp + 0x2098], 1
mov edx, dword [esp + 0x28]
push 0x4b7244
push edx
call dword [0x4a4004]
test eax, eax
jne 0x410fe6
mov eax, dword [esp + 0x1c]
shr eax, 1
xor ecx, ecx
push eax
lea eax, [esp + 0x80]
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
call fcn.0040bf50
push 0xffffffffffffffff
push ebx
mov eax, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x2090], 2
call fcn.0040bae0
mov esi, 8
mov byte [esp + 0x2088], 1
cmp dword [esp + 0x78], esi
jb 0x410e6b
mov edx, dword [esp + 0x64]
push edx
call fcn.00475571
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x410f87
push 0x4b6d3c
xor edi, edi
lea ecx, [esp + 0x2c]
call fcn.0040cd70
test eax, eax
je 0x410f87
mov eax, dword [esp + 0x3c]
lea ecx, [eax - 1]
xor ebp, ebp
test ecx, ecx
jbe 0x410f7e
cmp ebp, eax
jbe 0x410ea9
call fcn.00476736
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x410eb7
lea eax, [esp + 0x2c]
cmp word [eax + ebp*2], 0
jne 0x410f6e
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x3c]
jbe 0x410ed0
call fcn.00476736
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x410ede
lea eax, [esp + 0x2c]
cmp word [eax + ebp*2 + 2], 0
jne 0x410f6e
mov edi, ebx
lea edx, [esp + 0x28]
mov ecx, ebp
sub ecx, edi
push edx
mov edx, edi
lea esi, [esp + 0x64]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], ecx
call fcn.0040b380
mov byte [esp + 0x2088], 3
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x48]
jae 0x410f1f
lea eax, [esp + 0x48]
mov ebx, dword [esp + 0x58]
push eax
xor eax, eax
lea edx, [esp + 0x64]
call fcn.0040bb90
cmp eax, 0xffffffff
je 0x410f4c
mov eax, dword [esp + 0x24]
inc eax
mov ebx, edi
lea esi, [esp + 0x28]
call fcn.0040b2f0
lea ebp, [edi - 1]
dec edi
mov dword [esp + 0x14], edi
mov eax, 1
add dword [esp + 0x14], eax
lea esi, [esp + 0x60]
mov byte [esp + 0x2088], al
call fcn.0040b290
mov ebx, dword [esp + 0x14]
mov esi, 8
mov eax, dword [esp + 0x3c]
inc ebp
lea ecx, [eax - 1]
cmp ebp, ecx
jb 0x410ea0
mov ebp, 7
xor ebx, ebx
jmp 0x410feb
cmp dword [esp + 0x5c], esi
jb 0x410f9a
mov edx, dword [esp + 0x48]
push edx
call fcn.00475571
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
cmp dword [esp + 0x40], esi
jb 0x410fbc
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00475571
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2080]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2068]
xor ecx, esp
call fcn.0047557c
add esp, 0x2078
ret
mov esi, 8
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x410ff9
lea eax, [esp + 0x2c]
mov edx, dword [esp + 0x3c]
lea ecx, [edx + edx]
mov edx, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push ebx
push 0x4b7244
push eax
call dword [0x4a4020]
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4a4008]
cmp dword [esp + 0x5c], esi
jb 0x411036
mov edx, dword [esp + 0x48]
push edx
call fcn.00475571
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], ax
cmp dword [esp + 0x40], esi
jb 0x411058
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00475571
add esp, 4
mov eax, 1
jmp 0x410fbe