Function at 0x4e4760
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 ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
cmp ecx, ebx
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x84]
mov edx, esi
mov dword [esp + 0x28], eax
mov eax, ebx
cmovle eax, ecx
cmp dword [esp + 0x28], eax
jle 0x4e48e0
cmp ecx, ebx
jl 0x4e49d0
mov eax, dword [esp + 0x24]
sub eax, edx
mov ecx, eax
sar ecx, 4
test eax, eax
mov eax, edi
jle 0x4e47f2
mov edx, esi
lea esi, [esi]
mov ebx, dword [edx]
add eax, 0x10
add 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 0x4e47d0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebp
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.004e7e40
mov eax, edi
sub eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov esi, edi
sar eax, 4
sub dword [esp + 0x2c], eax
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x4c]
sub dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.004e5c40
mov ebx, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004e4760
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
cmovle eax, ecx
cmp eax, dword [esp + 0x28]
jl 0x4e4ad2
mov eax, edi
mov edi, dword [esp + 0x34]
mov edx, esi
mov ebp, ebx
mov esi, eax
nop
lea esi, [esi]
sub edx, ebp
mov ecx, edx
sar ecx, 4
test edx, edx
jle 0x4e49c2
mov ebx, edi
mov eax, ebp
mov edx, dword [eax]
add ebx, 0x10
add 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 0x4e48f3
cmp dword [esp + 0x24], esi
je 0x4e498b
cmp ebx, edi
je 0x4e498b
mov eax, edi
mov edi, esi
mov esi, eax
jmp 0x4e4957
mov eax, dword [edi]
add ebp, 0x10
add edi, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [edi - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edi - 8]
mov dword [ebp - 8], eax
mov eax, dword [edi - 4]
mov dword [ebp - 4], eax
cmp ebx, esi
je 0x4e4989
cmp dword [esp + 0x24], edi
je 0x4e4989
mov dword [esp + 4], esi
mov dword [esp], edi
mov eax, dword [esp + 0x20]
call eax
test al, al
jne 0x4e4930
mov eax, dword [esi]
add esi, 0x10
add ebp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [esi - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 8]
mov dword [ebp - 8], eax
mov eax, dword [esi - 4]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x4e4951
mov edi, esi
cmp ebx, edi
je 0x4e49c2
sub ebx, edi
mov eax, ebx
sar eax, 4
test ebx, ebx
jle 0x4e49c2
lea esi, [esi]
mov edx, dword [edi]
add ebp, 0x10
add edi, 0x10
mov dword [ebp - 0x10], edx
mov edx, dword [edi - 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [edi - 8]
mov dword [ebp - 8], edx
mov edx, dword [edi - 4]
mov dword [ebp - 4], edx
sub eax, 1
jne 0x4e49a0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jle 0x4e4a65
mov eax, ecx
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
shl eax, 4
add ebp, eax
mov eax, dword [esp + 0x24]
sub eax, edi
mov esi, eax
sar esi, 4
test eax, eax
jle 0x4e4b2f
mov dword [esp + 0x38], ebp
jmp 0x4e4a40
sub esi, ebx
lea edi, [ebp + 0x10]
sub esi, 1
test esi, esi
jle 0x4e4824
mov ebx, esi
mov eax, dword [esp + 0x38]
sar ebx, 1
mov edx, ebx
shl edx, 4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
lea ebp, [edi + edx]
mov dword [esp], ebp
call eax
test al, al
jne 0x4e4a30
mov esi, ebx
jmp 0x4e4a38
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
shl eax, 4
mov edi, eax
mov eax, dword [esp + 0x40]
add edi, eax
sub eax, ebp
mov esi, eax
sar esi, 4
test eax, eax
jle 0x4e4b21
mov dword [esp + 0x38], edi
jmp 0x4e4aac
sub esi, ebx
lea ebp, [edi + 0x10]
sub esi, 1
test esi, esi
jle 0x4e4af0
mov ebx, esi
mov eax, dword [esp + 0x38]
sar ebx, 1
mov edx, ebx
shl edx, 4
mov dword [esp], eax
mov eax, dword [esp + 0x20]
lea edi, [ebp + edx]
mov dword [esp + 4], edi
call eax
test al, al
je 0x4e4aa0
mov esi, ebx
jmp 0x4e4aa8
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x30], ecx
jl 0x4e4b14
mov eax, edi
mov edx, esi
mov edi, dword [esp + 0x34]
mov esi, eax
mov ebp, ebx
jmp 0x4e47ba
mov eax, ebp
sub eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sar eax, 4
sub dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x4c]
mov esi, edi
sub dword [esp + 0x2c], ecx
jmp 0x4e4843
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
jmp 0x4e49e4
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x48], 0
jmp 0x4e4b05
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], 0
mov esi, edi
jmp 0x4e483b