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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41a6e0
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
test byte [eax], al
lea ecx, [eax + 0x40]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
call fcn.004029a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x8c]
cmp edx, ecx
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x88]
cmp esi, eax
xchg edi, ebx
setb bl
xchg edi, ebx
and ebp, edi
or ebx, ebp
test bl, bl
jne 0x41a4e5
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x64], ecx
sar ecx, 0x1f
mov dword [esp + 0x60], ecx
lea ebx, [eax + 0x28]
mov dword [esp + 0x78], ebx
nop
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
call fcn.00402960
nop
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.004029a0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x20]
sub ebx, ebp
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x24]
sbb ebp, edi
mov edi, eax
mov eax, ebx
mov esi, dword [esp + 0x64]
mul esi
mov dword [esp + 0x30], eax
imul ebp, esi
add edx, ebp
mov ebp, dword [esp + 0x60]
imul ebp, ebx
add edx, ebp
mov dword [esp + 0x5c], edx
test ecx, ecx
setne bl
test edi, edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x41a416
mov eax, dword [esp + 0x78]
mov dword [esp], eax
xor eax, eax
sub eax, edi
mov edx, 0
sbb edx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.004029c0
mov eax, dword [esp + 0x84]
lea ecx, [eax + 0x38]
mov dword [esp + 0x7c], ecx
nop
mov dword [esp], ecx
call fcn.004029a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
test ecx, ecx
setne bl
test eax, eax
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x41a47e
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
xor edx, edx
sub edx, eax
mov ebx, 0
sbb ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
call fcn.004029c0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x84]
movzx ebx, byte [ecx + 0x50]
test bl, bl
jne 0x41a4db
mov ebx, dword [0x5b96c8]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov ebp, dword [ebx + 0x18]
nop
inc dword [ebp + 0x7c]
mov ebp, dword [0x594960]
mov dword [esp + 0x74], ebp
mov esi, dword [0x594964]
mov dword [esp + 0x58], esi
mov ebx, dword [ebx + 0x18]
mov dword [esp + 0x70], ebx
xor edi, edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
xor edi, edi
jmp 0x41a5c0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41a4e9
sub esp, 0xffffff80
ret
movzx esi, byte [ecx + 0x20]
xchg esi, eax
test al, al
xchg esi, eax
je 0x41a572
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0044e6a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3fd00000
mov dword [esp + 8], 0
call fcn.0044cdb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044e730
mov ebp, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
add ebp, eax
mov eax, dword [esp + 0x38]
adc ebx, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x5c]
sbb eax, edx
sub ecx, ebp
sbb eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
call fcn.0041a6f0
sub esp, 0xffffff80
ret
mov ebp, dword [esp + 0x54]
lea edi, [ebp + 1]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x70]
cmp edi, esi
jge 0x41a693
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], edi
mov eax, dword [ebp + edi*4]
test byte [eax], al
add eax, 0x948
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.0041aaf0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
cmp al, 1
ja 0x41a62c
test al, al
jne 0x41a654
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
jmp 0x41a59e
cmp al, 2
je 0x41a636
cmp al, 3
jne 0x41a64f
mov ebx, dword [esp + 0x4c]
add ebx, ecx
mov ecx, dword [esp + 0x50]
adc ecx, edx
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
jmp 0x41a59e
cmp al, 4
jne 0x41a6c9
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x14]
lea edx, [0x5956c0]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004029c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
adc edx, ecx
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x4c]
jmp 0x41a59e
mov ebp, dword [ebx + 0x7c]
lea esi, [ebp - 1]
nop
mov edi, dword [0x5b96c8]
mov edi, dword fs:[edi]
mov edi, dword [edi]
mov dword [ebx + 0x7c], esi
cmp ebp, 1
jne 0x41a6bc
movzx ebx, byte [edi + 0x65]
test bl, bl
je 0x41a6bc
mov dword [edi + 8], 0xfffffade
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
jmp 0x41a4e9
lea eax, [0x4e6125]
mov dword [esp], eax
mov dword [esp + 4], 0x20
call fcn.00437e40
nop
call fcn.00465370
jmp fcn.0041a2e0