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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
cmp ebx, ecx
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x84]
mov edx, ebp
mov dword [esp + 0x28], eax
mov eax, ecx
cmovle eax, ebx
cmp dword [esp + 0x28], eax
jle 0x4cd4d0
cmp ebx, ecx
jl 0x4cd600
mov eax, dword [esp + 0x24]
sub eax, edx
mov ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
test eax, eax
mov eax, edi
jle 0x4cd3e1
mov edx, ebp
mov ebx, dword [edx]
add eax, 0x18
add edx, 0x18
mov dword [eax - 0x18], ebx
mov ebx, dword [edx - 0x14]
mov dword [eax - 0x14], ebx
mov ebx, dword [edx - 0x10]
mov dword [eax - 0x10], ebx
mov ebx, dword [edx - 0xc]
mov dword [eax - 0xc], ebx
mov ebx, dword [edx - 8]
mov dword [eax - 8], ebx
mov ebx, dword [edx - 4]
mov dword [eax - 4], ebx
sub ecx, 1
jne 0x4cd3b3
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004d0d00
mov ebp, esi
sub ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, esi
sar ebp, 3
imul eax, ebp, 0xaaaaaaab
sub dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
sub dword [esp + 0x28], ecx
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.004ce9b0
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004cd340
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
cmovle eax, ecx
cmp eax, dword [esp + 0x28]
jl 0x4cd704
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ebx
mov ebp, esi
mov esi, ecx
lea esi, [esi]
sub edx, esi
mov ecx, edx
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
test edx, edx
jle 0x4cd5ee
mov ebx, edi
mov eax, esi
lea esi, [esi]
mov edx, dword [eax]
add ebx, 0x18
add eax, 0x18
mov dword [ebx - 0x18], edx
mov edx, dword [eax - 0x14]
mov dword [ebx - 0x14], edx
mov edx, dword [eax - 0x10]
mov dword [ebx - 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [ebx - 0xc], edx
mov edx, dword [eax - 8]
mov dword [ebx - 8], edx
mov edx, dword [eax - 4]
mov dword [ebx - 4], edx
sub ecx, 1
jne 0x4cd4f0
cmp dword [esp + 0x24], ebp
je 0x4cd5a8
cmp ebx, edi
je 0x4cd5a8
mov eax, edi
mov edi, ebp
mov ebp, eax
jmp 0x4cd567
mov eax, dword [edi]
add esi, 0x18
add edi, 0x18
mov dword [esi - 0x18], eax
mov eax, dword [edi - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [edi - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [edi - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [edi - 8]
mov dword [esi - 8], eax
mov eax, dword [edi - 4]
mov dword [esi - 4], eax
cmp ebx, ebp
je 0x4cd5a6
cmp dword [esp + 0x24], edi
je 0x4cd5a6
mov dword [esp + 4], ebp
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x4cd534
mov eax, dword [ebp]
add ebp, 0x18
add esi, 0x18
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esi - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [esi - 8], eax
mov eax, dword [ebp - 4]
mov dword [esi - 4], eax
cmp ebx, ebp
jne 0x4cd561
mov edi, ebp
cmp ebx, edi
je 0x4cd5ee
sub ebx, edi
mov eax, ebx
sar eax, 3
imul eax, eax, 0xaaaaaaab
test ebx, ebx
jle 0x4cd5ee
lea esi, [esi]
mov edx, dword [edi]
add esi, 0x18
add edi, 0x18
mov dword [esi - 0x18], edx
mov edx, dword [edi - 0x14]
mov dword [esi - 0x14], edx
mov edx, dword [edi - 0x10]
mov dword [esi - 0x10], edx
mov edx, dword [edi - 0xc]
mov dword [esi - 0xc], edx
mov edx, dword [edi - 8]
mov dword [esi - 8], edx
mov edx, dword [edi - 4]
mov dword [esi - 4], edx
sub eax, 1
jne 0x4cd5c0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jle 0x4cd694
mov eax, ecx
mov esi, dword [esp + 0x40]
shr eax, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea eax, [eax + eax*2]
lea edi, [ecx + eax*8]
mov eax, dword [esp + 0x24]
sub eax, esi
mov ebx, eax
sar ebx, 3
imul ebx, ebx, 0xaaaaaaab
test eax, eax
jle 0x4cd765
mov dword [esp + 0x38], edi
jmp 0x4cd670
sub ebx, ebp
lea esi, [edi + 0x18]
sub ebx, 1
test ebx, ebx
jle 0x4cd413
mov ebp, ebx
sar ebp, 1
lea eax, [ebp + ebp*2]
lea edi, [esi + eax*8]
mov eax, dword [esp + 0x38]
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x4cd660
mov ebx, ebp
jmp 0x4cd668
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x40]
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
lea eax, [eax + eax*2]
lea esi, [ecx + eax*8]
mov eax, ecx
sub eax, edi
mov ebx, eax
sar ebx, 3
imul ebx, ebx, 0xaaaaaaab
test eax, eax
jle 0x4cd757
mov dword [esp + 0x38], esi
jmp 0x4cd6e0
sub ebx, ebp
lea edi, [esi + 0x18]
sub ebx, 1
test ebx, ebx
jle 0x4cd720
mov ebp, ebx
sar ebp, 1
lea eax, [ebp + ebp*2]
lea esi, [edi + eax*8]
mov eax, dword [esp + 0x38]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [esp + 0x20]
call eax
test al, al
je 0x4cd6d4
mov ebx, ebp
jmp 0x4cd6dc
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], ecx
jl 0x4cd74a
mov ecx, ebp
mov edx, ebx
mov ebp, esi
mov edi, dword [esp + 0x34]
mov esi, ecx
jmp 0x4cd39a
mov eax, edi
sub eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
sar eax, 3
imul eax, eax, 0xaaaaaaab
sub dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x4c]
mov ebx, esi
sub dword [esp + 0x2c], ecx
jmp 0x4cd438
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebp
jmp 0x4cd614
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x48], 0
jmp 0x4cd73b
mov esi, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov ebx, esi
jmp 0x4cd430