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

Disassembly:
push 0xffffffffffffffff
push 0x4931d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ba190]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov esi, dword [edi + 0x2c8]
mov dword [esp + 0x64], eax
cmp esi, dword [edi + 0x2cc]
jbe 0x41a5c2
call fcn.0046767e
mov ebp, dword [edi + 0x2bc]
mov ebx, esi
mov dword [esp + 0x18], ebx
mov edi, edi
mov esi, dword [edi + 0x2cc]
cmp dword [edi + 0x2c8], esi
jbe 0x41a5e3
call fcn.0046767e
mov eax, dword [edi + 0x2bc]
test ebp, ebp
je 0x41a5f1
cmp ebp, eax
je 0x41a5f6
call fcn.0046767e
cmp ebx, esi
je 0x41a78b
push 1
push 1
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.004358f0
add esp, 0x10
mov esi, eax
mov byte [esp + 0x64], 1
test ebp, ebp
jne 0x41a653
call fcn.0046767e
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x41a630
call fcn.0046767e
push 1
push 1
add ebx, 0x20
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.004358f0
add esp, 0x10
cmp dword [esi + 0x18], 8
mov ebx, dword [esi + 0x14]
jb 0x41a658
mov esi, dword [esi + 4]
jmp 0x41a65b
mov eax, dword [ebp]
jmp 0x41a626
add esi, 4
mov edi, dword [eax + 0x14]
mov ecx, edi
cmp ecx, edi
jae 0x41a664
mov edx, edi
cmp edi, ebx
jb 0x41a66c
mov edx, ebx
cmp dword [eax + 0x18], 8
jb 0x41a677
mov ecx, dword [eax + 4]
jmp 0x41a67a
lea ecx, [eax + 4]
mov eax, esi
test edx, edx
jbe 0x41a6a5
mov si, word [ecx]
cmp si, word [eax]
jne 0x41a695
add ecx, 2
add eax, 2
sub edx, 1
jne 0x41a680
jmp 0x41a6a5
mov cx, si
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jne 0x41a6b5
cmp edi, ebx
jae 0x41a6ae
or eax, 0xffffffff
jmp 0x41a6b5
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
mov edi, 8
sete bl
cmp dword [esp + 0x3c], edi
jb 0x41a6d2
mov edx, dword [esp + 0x28]
push edx
call fcn.00443d03
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov byte [esp + 0x64], al
cmp dword [esp + 0x58], edi
jb 0x41a700
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00443d03
add esp, 4
test bl, bl
jne 0x41a737
test ebp, ebp
jne 0x41a732
call fcn.0046767e
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x10]
jb 0x41a71d
call fcn.0046767e
add dword [esp + 0x18], 0xe8
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
jmp 0x41a5d0
mov eax, dword [ebp]
jmp 0x41a70f
test ebp, ebp
jne 0x41a786
call fcn.0046767e
xor eax, eax
mov esi, dword [esp + 0x18]
cmp esi, dword [eax + 0x10]
jb 0x41a750
call fcn.0046767e
lea eax, [esi + 4]
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
push eax
mov ecx, esi
call fcn.00402110
cmp dword [esp + 0x88], edi
jb 0x41a7c7
mov edx, dword [esp + 0x74]
push edx
jmp 0x41a7bf
mov eax, dword [ebp]
jmp 0x41a742
mov esi, dword [esp + 0x1c]
xor eax, eax
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push 0x499b28
mov ecx, esi
mov word [esi + 4], ax
call fcn.00402210
cmp dword [esp + 0x88], 8
jb 0x41a7c7
mov ecx, dword [esp + 0x74]
push ecx
call fcn.00443d03
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x20