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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x4dd776
test ecx, ecx
je 0x4dd776
lea eax, [ebx + ecx]
cmp eax, 2
jne 0x4dd794
mov dword [esp + 4], edi
mov dword [esp], esi
call ebp
test al, al
jne 0x4dd780
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004de500
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp edx, eax
jle 0x4dd825
mov eax, edx
mov edi, dword [esp + 0x3c]
shr eax, 0x1f
add eax, edx
sar eax, 1
imul esi, eax, 0x38
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
add esi, dword [esp + 0x38]
sub eax, edi
mov ebx, eax
sar ebx, 3
imul ebx, ebx, 0xb6db6db7
test eax, eax
jle 0x4dd972
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
mov esi, ebx
jmp 0x4dd803
mov edx, esi
lea edi, [ebx + 0x38]
sub edx, ebp
lea esi, [edx - 1]
test esi, esi
jle 0x4dd8a4
mov ebp, esi
mov eax, dword [esp + 0x30]
sar ebp, 1
imul ebx, ebp, 0x38
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
add ebx, edi
mov dword [esp], ebx
call eax
test al, al
jne 0x4dd7f1
mov esi, ebp
jmp 0x4dd7fb
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
imul eax, eax, 0x38
mov edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov edi, eax
sub eax, esi
mov ebx, eax
add edi, edx
sar ebx, 3
imul ebx, ebx, 0xb6db6db7
test eax, eax
jle 0x4dd985
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov edi, ebx
jmp 0x4dd882
mov edx, edi
lea esi, [ebx + 0x38]
sub edx, ebp
lea edi, [edx - 1]
test edi, edi
jle 0x4dd940
mov ebp, edi
mov eax, dword [esp + 0x30]
sar ebp, 1
imul ebx, ebp, 0x38
mov dword [esp], eax
mov eax, dword [esp + 0x34]
add ebx, esi
mov dword [esp + 4], ebx
call eax
test al, al
je 0x4dd870
mov edi, ebp
jmp 0x4dd87a
mov ebx, edi
sub ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov eax, ebx
add ebx, esi
sar eax, 3
imul eax, eax, 0xb6db6db7
sub dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x48]
sub dword [esp + 0x2c], edx
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.004d6860
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004dd730
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4dd776
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4dd776
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x4dd993
mov esi, edi
mov edi, ebx
jmp 0x4dd769
mov eax, esi
sub eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
sar eax, 3
imul eax, eax, 0xb6db6db7
sub dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub dword [esp + 0x28], edx
add ebx, esi
jmp 0x4dd8cf
mov ebx, esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], 0
jmp 0x4dd8c7
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], 0
jmp 0x4dd95f
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
jmp 0x4dd7a4