Function at 0x4e7350
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 0x4e7396
test ecx, ecx
je 0x4e7396
lea eax, [ebx + ecx]
cmp eax, 2
jne 0x4e73b4
mov dword [esp + 4], edi
mov dword [esp], esi
call ebp
test al, al
jne 0x4e73a0
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.004e8120
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 0x4e7445
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 0x4e7592
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
mov esi, ebx
jmp 0x4e7423
mov edx, esi
lea edi, [ebx + 0x38]
sub edx, ebp
lea esi, [edx - 1]
test esi, esi
jle 0x4e74c4
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 0x4e7411
mov esi, ebp
jmp 0x4e741b
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 0x4e75a5
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov edi, ebx
jmp 0x4e74a2
mov edx, edi
lea esi, [ebx + 0x38]
sub edx, ebp
lea edi, [edx - 1]
test edi, edi
jle 0x4e7560
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 0x4e7490
mov edi, ebp
jmp 0x4e749a
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.004e0480
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.004e7350
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4e7396
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e7396
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x4e75b3
mov esi, edi
mov edi, ebx
jmp 0x4e7389
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 0x4e74ef
mov ebx, esi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x44], 0
jmp 0x4e74e7
mov esi, dword [esp + 0x38]
mov dword [esp + 0x40], 0
jmp 0x4e757f
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
jmp 0x4e73c4