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

Disassembly:
sub esp, 0x84
mov edx, dword [esp + 0x90]
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
push ebp
mov dword [esp + 0x74], 0
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x10]
push esi
mov esi, dword [edx + 0x18]
cmp eax, esi
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], eax
jl 0x41c5c6
mov dword [esp + 0x48], esi
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x1c]
cmp ecx, edi
mov dword [esp + 0x4c], ecx
jl 0x41c5d8
mov dword [esp + 0x4c], edi
cmp eax, esi
mov dword [esp + 0x50], eax
jg 0x41c5e4
mov dword [esp + 0x50], esi
cmp ecx, edi
jg 0x41c5ea
mov ecx, edi
mov esi, eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x68], eax
mov eax, edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x6c], eax
test eax, eax
jg 0x41c616
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x84
ret 0xc
mov edi, dword [edx + 0xc]
sub edi, eax
imul edi, dword [edx + 8]
mov edx, dword [edx + 4]
sub ecx, dword [esp + 0x4c]
add edi, esi
lea eax, [edx + edi*4]
push ebx
mov ebx, dword [esp + 0x9c]
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 0x10]
mov edi, dword [ebx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x1c]
sub esi, eax
imul esi, dword [ebx + 8]
add esi, edx
lea esi, [edi + esi*4]
mov dword [esp + 0x14], esi
mov esi, dword [ebx + 0x14]
add ecx, ebp
sub eax, esi
cmp ecx, eax
jge 0x41c663
mov dword [esp + 0x24], ecx
jmp 0x41c66c
mov eax, dword [ebx + 0x1c]
sub eax, esi
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x18]
add ecx, ebp
sub eax, edx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x41c687
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
sub esi, dword [esp + 0x68]
cmp eax, ebp
mov dword [esp + 0x2c], eax
jl 0x41c6a3
mov dword [esp + 0x2c], ebp
cmp esi, ebp
mov dword [esp + 0x30], esi
jl 0x41c6af
mov dword [esp + 0x30], ebp
xor edx, edx
cmp dword [esp + 0x24], edx
lea ecx, [eax + ebp]
mov dword [esp + 0x74], ecx
lea eax, [esi + ebp]
mov dword [esp + 0x18], edx
jle 0x41c842
mov esi, ebp
neg esi
mov dword [esp + 0x1c], esi
mov esi, ebp
sub esi, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], esi
lea ecx, [ecx]
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x41c817
mov eax, dword [esp + 0x10]
add esi, eax
mov eax, dword [esp + 0x28]
mov ebx, ebp
neg ebx
mov ebp, ecx
sub eax, ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], eax
jmp 0x41c718
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x60]
add eax, ebp
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
xor eax, eax
test esi, esi
setl al
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
dec eax
and eax, esi
cmp edi, ecx
mov dword [esp + 0x48], eax
mov eax, edi
jl 0x41c742
mov eax, ecx
cmp eax, ebp
jge 0x41c756
cmp edi, ecx
jge 0x41c750
mov dword [esp + 0x3c], edi
jmp 0x41c75a
mov dword [esp + 0x3c], ecx
jmp 0x41c75a
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x30]
cmp edx, ecx
mov eax, edx
jl 0x41c766
mov eax, ecx
mov esi, dword [esp + 0x10]
cmp eax, esi
jge 0x41c776
cmp edx, ecx
mov esi, edx
jl 0x41c776
mov esi, ecx
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test ebx, ebx
setle cl
xor edx, edx
mov dword [esp + 0x40], esi
dec ecx
and ecx, ebx
test eax, eax
setle dl
dec edx
and edx, eax
xor eax, eax
test esi, esi
jbe 0x41c7cb
jmp 0x41c7a0
mov ebp, dword [esp + 0xa0]
lea esi, [eax + edx]
imul esi, dword [ebp + 8]
mov ebp, dword [esp + 0x5c]
add esi, ecx
lea esi, [ebp + esi*4]
mov ebp, dword [esp + 0x38]
mov dword [ebp + eax*4], esi
inc eax
cmp eax, dword [esp + 0x40]
jb 0x41c7a0
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ecx + edi*4], eax
inc edi
dec ebp
inc ebx
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x34], ebp
jl 0x41c710
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 8]
lea eax, [edi + eax*4]
mov dword [esp + 0x14], eax
mov eax, 1
sub dword [esp + 0x10], eax
add dword [esp + 0x1c], eax
add edx, eax
cmp edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
jl 0x41c6e0
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x84
ret 0xc