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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x78]
mov ecx, esi
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
add esi, 0xfffffff4
lea ebx, [edi + eax*4]
push esi
mov ecx, edi
call fcn.00420270
add esp, 4
cmp edi, ebx
mov eax, ebx
lea esi, [ebx + 0xc]
jae 0x41fdb7
lea ecx, [ebx - 8]
mov edx, dword [eax]
mov edi, dword [ecx]
mov ebx, dword [eax + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 4]
cmp edi, edx
jl 0x41fdb7
jne 0x41fd91
cmp dword [ecx + 4], ebx
jg 0x41fdb7
mov edx, dword [ecx - 4]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x58], edx
mov edx, edi
mov edi, dword [ecx + 0xc]
cmp edi, edx
jl 0x41fdb7
jne 0x41fdab
cmp dword [ecx + 0x10], ebx
jg 0x41fdb7
sub eax, 0xc
sub ecx, 0xc
cmp dword [esp + 0x78], eax
jb 0x41fd78
cmp esi, dword [esp + 0x7c]
jae 0x41fdfc
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x58], ecx
lea esp, [esp]
mov ecx, dword [esi + 4]
cmp ecx, ebx
jl 0x41fdfc
jne 0x41fdde
cmp dword [esi + 8], ebp
jg 0x41fdfc
mov edx, dword [esi]
mov edi, dword [esi + 8]
mov dword [esp + 0x58], edx
mov edx, ebx
cmp edx, ecx
jl 0x41fdfc
jne 0x41fdf3
cmp ebp, edi
jg 0x41fdfc
add esi, 0xc
cmp esi, dword [esp + 0x7c]
jb 0x41fdd0
mov ecx, esi
mov ebx, eax
cmp ecx, dword [esp + 0x7c]
jae 0x41fe77
mov edx, dword [ecx]
mov edi, dword [eax + 4]
mov ebp, dword [ecx + 8]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 4]
cmp edi, edx
jl 0x41fe6e
jne 0x41fe20
cmp dword [eax + 8], ebp
jg 0x41fe6e
mov edx, dword [eax]
mov ebp, dword [eax + 8]
mov dword [esp + 0x64], edx
mov edx, edi
mov edi, dword [ecx + 4]
cmp edi, edx
jl 0x41fe77
jne 0x41fe39
cmp dword [ecx + 8], ebp
jg 0x41fe77
mov edx, esi
mov ebp, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x20], ebp
mov ebp, dword [edx + 8]
mov dword [esp + 0x24], ebp
mov ebp, dword [ecx]
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [edx + 8], ebp
mov edx, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
add esi, 0xc
mov dword [ecx + 8], edx
add ecx, 0xc
cmp ecx, dword [esp + 0x7c]
jb 0x41fe06
cmp ebx, dword [esp + 0x78]
jbe 0x41fef7
lea edx, [ebx - 0xc]
mov edi, dword [eax]
mov ebp, dword [edx + 4]
mov dword [esp + 0x64], edi
mov edi, dword [eax + 4]
cmp ebp, edi
jl 0x41fee7
jne 0x41fe9a
mov edi, dword [eax + 8]
cmp dword [edx + 8], edi
jg 0x41fee7
mov edi, dword [edx]
mov dword [esp + 0x64], edi
mov edi, ebp
mov ebp, dword [eax + 4]
cmp ebp, edi
jl 0x41fef3
jne 0x41feb3
mov edi, dword [edx + 8]
cmp dword [eax + 8], edi
jg 0x41fef3
mov ebp, dword [eax - 8]
mov edi, dword [eax - 0xc]
sub eax, 0xc
mov dword [esp + 0x2c], ebp
mov ebp, dword [eax + 8]
mov dword [esp + 0x30], ebp
mov ebp, dword [edx]
mov dword [eax], ebp
mov ebp, dword [edx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [edx + 8]
mov dword [eax + 8], ebp
mov dword [edx], edi
mov edi, dword [esp + 0x2c]
mov dword [edx + 4], edi
mov edi, dword [esp + 0x30]
mov dword [edx + 8], edi
sub ebx, 0xc
sub edx, 0xc
cmp dword [esp + 0x78], ebx
jb 0x41fe80
cmp ebx, dword [esp + 0x78]
jne 0x41ff7d
cmp ecx, dword [esp + 0x7c]
je 0x420015
cmp esi, ecx
je 0x41ff33
mov ebp, dword [eax + 8]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esi]
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov dword [eax + 8], ebp
mov dword [esi], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 4], edi
mov dword [esi + 8], edx
mov edi, eax
mov ebp, dword [edi]
mov dword [esp + 0x10], ebp
mov ebp, dword [edi + 4]
mov edx, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [edi + 8]
mov dword [esp + 0x18], ebp
mov ebp, dword [edx]
mov dword [edi], ebp
mov ebp, dword [edx + 4]
mov dword [edi + 4], ebp
mov ebp, dword [edx + 8]
mov dword [edi + 8], ebp
mov edi, dword [esp + 0x10]
mov dword [edx], edi
mov edi, dword [esp + 0x14]
mov dword [edx + 4], edi
mov edi, dword [esp + 0x18]
add esi, 0xc
add eax, 0xc
add ecx, 0xc
mov dword [edx + 8], edi
jmp 0x41fe00
sub ebx, 0xc
cmp ecx, dword [esp + 0x7c]
jne 0x41ffe5
sub eax, 0xc
cmp ebx, eax
je 0x41ffb5
mov ebp, dword [ebx + 8]
mov edx, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [esp + 0x48], ebp
mov ebp, dword [eax]
mov dword [ebx], ebp
mov ebp, dword [eax + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ebx + 8], ebp
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ebp, dword [eax + 8]
mov edx, dword [eax]
mov edi, dword [eax + 4]
sub esi, 0xc
mov dword [esp + 0x54], ebp
mov ebp, dword [esi]
mov dword [eax], ebp
mov ebp, dword [esi + 4]
mov dword [eax + 4], ebp
mov ebp, dword [esi + 8]
mov dword [eax + 8], ebp
mov dword [esi], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 4], edi
mov dword [esi + 8], edx
jmp 0x41fe00
mov ebp, dword [ecx + 8]
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x60], ebp
mov ebp, dword [ebx]
mov dword [ecx], ebp
mov ebp, dword [ebx + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [ecx + 8], ebp
mov dword [ebx], edx
mov edx, dword [esp + 0x60]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edx
add ecx, 0xc
jmp 0x41fe00
mov ecx, dword [esp + 0x74]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, ecx
pop ebx
add esp, 0x60
ret