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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push edi
mov edi, eax
mov ebx, edi
mov ecx, ebp
sar ecx, 1
sar ebx, 1
mov eax, ebx
imul eax, ecx
shl eax, 2
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x78], eax
call dword [0x15485b0]
add esp, 4
dec edi
test ebx, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
jle 0x4df94d
mov ecx, 2
add eax, ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], ebx
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4df922
lea eax, [ecx - 2]
and eax, edi
imul eax, ebp
mov dword [esp + 0xc], eax
mov eax, ecx
and eax, edi
imul eax, ebp
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
lea edx, [ecx - 1]
and edx, edi
lea eax, [ecx - 3]
imul edx, ebp
and eax, edi
imul eax, ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov edi, 2
mov dword [esp + 0x48], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
jmp 0x4df588
mov edx, dword [esp + 0x48]
dec ebp
lea eax, [edi - 1]
and eax, ebp
lea ecx, [edx + eax]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0xc]
add ecx, eax
lea ecx, [esi + ecx*4]
mov dword [esp + 0x1c], ecx
lea ecx, [edi - 2]
and ecx, ebp
add edx, ecx
lea edx, [esi + edx*4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xc]
add edx, ecx
lea edx, [esi + edx*4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x4c], ebp
mov edx, edi
and edx, ebp
mov ebp, dword [esp + 0x48]
add ebp, edx
lea ebp, [esi + ebp*4]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x10]
add ebp, eax
lea ebp, [esi + ebp*4]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x4c]
add edi, 0xfffffffd
and edi, ebp
mov ebp, dword [esp + 0x48]
add ebp, edi
lea ebp, [esi + ebp*4]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x58]
add eax, ebp
lea ebp, [esi + eax*4]
mov eax, dword [esp + 0xc]
add eax, edx
lea eax, [esi + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
add eax, edi
lea eax, [esi + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
add eax, ecx
lea eax, [esi + eax*4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
add ecx, eax
lea ecx, [esi + ecx*4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x10]
add ecx, edx
add edx, eax
lea edx, [esi + edx*4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x10]
add edx, edi
add edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esi + edx*4]
mov dword [esp + 0x40], edx
movzx edx, byte [eax]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
lea ecx, [esi + ecx*4]
add edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], ecx
lea edi, [esi + edi*4]
movzx eax, byte [eax]
lea edx, [eax + edx*2]
mov eax, dword [esp + 0x38]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x28]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax]
add edx, eax
movzx ecx, byte [ecx]
movzx eax, byte [ebp]
add edx, eax
mov eax, dword [esp + 0x30]
movzx eax, byte [eax]
add edx, eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax]
add edx, eax
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x44]
movzx eax, byte [edx]
add ecx, eax
mov edx, dword [esp + 0x40]
movzx eax, byte [edx]
movzx edx, byte [edi]
add ecx, eax
add ecx, edx
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x18]
mov byte [ebx - 2], dl
movzx edx, byte [ecx + 1]
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x1c]
add edx, ecx
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x20]
add edx, ecx
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x24]
add edx, ecx
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x28]
lea edx, [ecx + edx*2]
movzx ecx, byte [eax + 1]
mov eax, dword [esp + 0x2c]
add edx, ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [ebp + 1]
add edx, ecx
mov ecx, dword [esp + 0x30]
add edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esp + 0x34]
add edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esp + 0x38]
add edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esp + 0x3c]
add edx, eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [edi + 1]
add edx, eax
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x40]
movzx eax, byte [edx + 1]
mov edx, dword [esp + 0x44]
add ecx, eax
movzx eax, byte [edx + 1]
add ecx, eax
mov edx, dword [esp + 0x4c]
movzx eax, byte [edx + 1]
add ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [ebx - 1], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 2]
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + 2]
add eax, edx
mov ecx, dword [esp + 0x1c]
movzx edx, byte [ecx + 2]
add eax, edx
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx + 2]
add eax, edx
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + 2]
lea eax, [edx + eax*2]
mov ecx, dword [esp + 0x28]
movzx edx, byte [ecx + 2]
add eax, edx
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + 2]
movzx ecx, byte [ebp + 2]
add eax, edx
mov edx, dword [esp + 0x30]
add eax, ecx
movzx ecx, byte [edx + 2]
mov edx, dword [esp + 0x34]
add eax, ecx
movzx ecx, byte [edx + 2]
mov edx, dword [esp + 0x38]
add eax, ecx
movzx ecx, byte [edx + 2]
mov edx, dword [esp + 0x3c]
add eax, ecx
movzx ecx, byte [edx + 2]
movzx edx, byte [edi + 2]
add eax, ecx
lea ecx, [edx + eax*2]
mov eax, dword [esp + 0x40]
movzx edx, byte [eax + 2]
mov eax, dword [esp + 0x44]
add ecx, edx
movzx edx, byte [eax + 2]
mov eax, dword [esp + 0x4c]
add ecx, edx
movzx edx, byte [eax + 2]
add ecx, edx
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x18]
mov byte [ebx], dl
movzx edx, byte [ecx + 3]
movzx ecx, byte [eax + 3]
mov eax, dword [esp + 0x1c]
add edx, ecx
movzx ecx, byte [eax + 3]
mov eax, dword [esp + 0x20]
add edx, ecx
movzx ecx, byte [eax + 3]
mov eax, dword [esp + 0x24]
add edx, ecx
movzx ecx, byte [eax + 3]
mov eax, dword [esp + 0x28]
lea edx, [ecx + edx*2]
movzx ecx, byte [eax + 3]
mov eax, dword [esp + 0x2c]
add edx, ecx
movzx ecx, byte [eax + 3]
movzx eax, byte [ebp + 3]
add edx, ecx
mov ecx, dword [esp + 0x30]
add edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x34]
add edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x38]
add edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x3c]
add edx, eax
movzx eax, byte [ecx + 3]
movzx ecx, byte [edi + 3]
add edx, eax
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x40]
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x44]
add ecx, eax
movzx eax, byte [edx + 3]
mov edx, dword [esp + 0x4c]
add ecx, eax
movzx eax, byte [edx + 3]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x7c]
add ecx, eax
mov eax, 0x38e38e39
imul ecx
mov eax, dword [esp + 0x60]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [ebx + 1], dl
add edi, 2
add ebx, 4
dec eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
jne 0x4df584
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
shl eax, 2
add edx, eax
mov eax, dword [esp + 0x68]
add ecx, 2
dec eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], eax
jne 0x4df532
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
push edx
push eax
push esi
call fcn.0042b090
mov eax, dword [esp + 0x78]
add esp, 0xc
pop edi
pop ebp
pop ebx
add esp, 0x6c
mov dword [esp + 4], eax
jmp dword [0x15485bc]