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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 4]
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov esi, eax
sub esi, ebp
mov ebp, eax
sub ebp, edx
mov edx, eax
sub edx, ebx
mov ebx, dword [ecx + 0xc]
mov ecx, dword [edi]
sub eax, ebx
add eax, 0x20
add esi, 0x10
add edx, 0x10
mov ebx, eax
cmp ebp, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x64], ebp
jl 0x4e654c
mov dword [esp + 0x64], esi
cmp ebx, esi
lea eax, [ecx + 0x20]
mov dword [esp + 0x6c], ebx
jg 0x4e655b
mov dword [esp + 0x6c], esi
mov edi, dword [esp + 0x78]
mov ebx, dword [edi + 8]
cmp ecx, ebx
jge 0x4e6867
cmp dword [edi], eax
jge 0x4e6863
mov eax, edi
mov edi, dword [esp + 0x64]
mov eax, dword [eax + 0xc]
cmp edi, eax
jge 0x4e6863
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov eax, dword [eax + 4]
cmp eax, edi
jge 0x4e6863
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0xc]
cmp edi, eax
jl 0x4e65a9
mov dword [esp + 0x28], eax
lea eax, [ecx + 0x20]
cmp eax, ebx
jl 0x4e65b2
mov eax, ebx
mov edi, dword [esp + 0x78]
mov ebx, dword [edi + 4]
cmp dword [esp + 0x64], ebx
jle 0x4e65c3
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x24], ebx
mov ebx, dword [edi]
cmp ecx, ebx
jle 0x4e65cf
mov ebx, ecx
sub eax, ecx
sub ebx, ecx
cmp ebx, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x1c], ebx
jge 0x4e6867
mov edi, dword [esp + 0x38]
mov ecx, esi
sub ecx, ebp
mov eax, 0x1f
sub edi, esi
sub eax, ebx
mov edx, ecx
mov dword [esp + 0x54], edi
imul edi, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edi
neg edx
imul eax, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], eax
jmp 0x4e6620
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
mov eax, edi
cdq
and edx, 0x1f
sar ecx, 5
add eax, edx
add ecx, ebp
mov ebp, eax
sar ebp, 5
add ebp, esi
mov eax, ebp
sub eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
jge 0x4e681b
cmp ebp, dword [esp + 0x24]
jle 0x4e681b
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x4e681b
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x80]
cdq
sub eax, edx
mov bl, byte [esi + 4]
sar eax, 1
shl eax, 1
mov edx, eax
mov eax, 0x1f
mov edi, dword [esp + 0x1c]
sub eax, edx
xor edx, edx
cmp bl, 4
sete dl
shl edx, 6
add edx, edi
mov dword [esp + 0x50], eax
mov edi, dword [edx*4 + 0x74c658]
mov edx, dword [esi + 8]
mov esi, dword [esp + 0x24]
add edi, edx
xor edx, edx
cmp ecx, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edx
jle 0x4e66bf
mov ebx, ecx
jmp 0x4e66ed
mov ebx, esi
sub esi, ecx
imul esi, eax
mov eax, esi
cdq
idiv dword [esp + 0x7c]
mov ecx, eax
mov eax, esi
cdq
idiv dword [esp + 0x7c]
mov eax, ecx
sar eax, 1
add edi, eax
test cl, 1
mov dword [esp + 0x18], edi
je 0x4e66ed
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
imul edi, ebx
add edi, ecx
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
add edi, eax
mov eax, dword [esp + 0x28]
add edi, esi
cmp ebp, eax
jl 0x4e6714
mov ebp, eax
sub ebp, ebx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [ecx]
mov cl, byte [esp + 0x14]
mov esi, eax
shr esi, cl
mov cl, byte [edi]
mov byte [esp + 0x40], cl
and esi, 0xf
cmp esi, 0xf
ja case.0x4e6740.15
jmp dword [esi*4 + 0x4e6bac]
mov al, byte [esp + 0x10]
mov bl, cl
shr bl, 3
shr al, 3
sub al, bl
add al, cl
jmp 0x4e67d0
mov al, byte [esp + 0x10]
mov bl, cl
shr bl, 2
shr al, 2
sub al, bl
add al, cl
jmp 0x4e67d0
mov al, byte [esp + 0x10]
mov bl, cl
shr bl, 1
shr al, 1
sub al, bl
add al, cl
jmp 0x4e67d0
mov al, byte [esp + 0x10]
mov bl, al
shr cl, 2
shr bl, 2
sub cl, bl
add cl, al
mov al, cl
jmp 0x4e67d0
mov al, byte [esp + 0x10]
mov bl, al
shr cl, 3
shr bl, 3
sub cl, bl
add cl, al
mov al, cl
jmp 0x4e67d0
inc esi
mov ecx, dword [esp + 0x40]
mov eax, 0x10
sub eax, esi
and ecx, 0xff
imul eax, ecx
mov ecx, dword [esp + 0x10]
and ecx, 0xff
imul ecx, esi
add eax, ecx
shr eax, 4
jmp 0x4e67d0
mov al, byte [esp + 0x10]
mov byte [edi], al
mov eax, dword [esp + 0x44]
dec eax
test eax, eax
mov dword [esp + 0x44], eax
jle 0x4e681b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x50]
add edx, ecx
mov esi, dword [eax + 0xc]
add edi, esi
cmp edx, ebp
jl 0x4e671e
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, 4
sub ecx, esi
mov dword [esp + 0x14], ecx
jne 0x4e680c
inc eax
sub edx, ebp
cmp edx, ebp
jge 0x4e67fa
mov dword [esp + 0x18], eax
jmp 0x4e671e
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add edi, edx
mov edx, dword [esp + 0x34]
add esi, ecx
mov ecx, dword [esp + 0x5c]
inc eax
dec edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
jl 0x4e6614
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
jmp 0x4e6867
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
cmp ebp, edx
mov dword [esp + 0x64], ebp
mov eax, dword [eax]
lea ebx, [eax + 0x20]
jl 0x4e687c
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x38]
cmp ecx, edx
jg 0x4e6886
mov ecx, edx
mov esi, dword [edi + 8]
cmp ebx, esi
mov dword [esp + 0x78], esi
jge 0x4e6b9f
mov esi, dword [edi]
lea ebx, [eax + 0x40]
cmp esi, ebx
mov dword [esp + 0x7c], esi
jge 0x4e6b9f
mov ebx, dword [edi + 0xc]
mov esi, dword [esp + 0x64]
cmp esi, ebx
jge 0x4e6b9f
mov edi, dword [edi + 4]
cmp edi, ecx
jge 0x4e6b9f
cmp ecx, ebx
mov dword [esp + 0x34], ecx
jl 0x4e68cc
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x78]
lea ecx, [eax + 0x40]
cmp ecx, esi
jge 0x4e68d9
mov esi, ecx
mov ecx, dword [esp + 0x64]
cmp ecx, edi
mov dword [esp + 0x1c], ecx
jg 0x4e68e9
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x7c]
lea ecx, [eax + 0x20]
cmp ecx, edi
jg 0x4e68f6
mov ecx, edi
sub esi, eax
sub ecx, eax
sub esi, 0x20
sub ecx, 0x20
cmp ecx, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x14], ecx
jge 0x4e6b9f
mov eax, dword [esp + 0x38]
sub eax, edx
sub edx, ebp
mov esi, eax
mov dword [esp + 0x5c], edx
neg esi
imul edx, ecx
mov dword [esp + 0x58], esi
mov esi, 0x1f
sub esi, ecx
mov dword [esp + 0x30], edx
imul esi, eax
mov dword [esp + 0x2c], esi
jmp 0x4e6943
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, edx
mov edi, dword [esp + 0x3c]
cdq
and edx, 0x1f
add eax, edx
mov ecx, eax
mov eax, esi
cdq
mov esi, dword [esp + 0x48]
and edx, 0x1f
sar ecx, 5
add eax, edx
add ecx, edi
mov edi, eax
mov eax, dword [esp + 0x34]
sar edi, 5
add edi, esi
mov ebx, edi
sub ebx, ecx
cmp ecx, eax
jge 0x4e6b6e
cmp edi, dword [esp + 0x1c]
jle 0x4e6b6e
test ebx, ebx
jle 0x4e6b6e
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x80]
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
shl eax, 1
mov edx, eax
mov eax, 0x1f
sub eax, edx
mov dl, byte [esi + 4]
mov dword [esp + 0x40], eax
xor eax, eax
cmp dl, 4
mov edx, dword [esi + 8]
sete al
shl eax, 6
add eax, ebp
mov eax, dword [eax*4 + 0x74c6d8]
add eax, edx
xor edx, edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov dword [esp + 0x18], edx
jle 0x4e69e2
mov ebp, ecx
mov dword [esp + 0x78], edx
jmp 0x4e6a1a
mov esi, dword [esp + 0x1c]
mov ebp, esi
sub esi, ecx
imul esi, dword [esp + 0x40]
mov eax, esi
cdq
idiv ebx
mov ecx, eax
mov eax, esi
cdq
idiv ebx
mov esi, dword [esp + 0x7c]
mov eax, ecx
sar eax, 1
add esi, eax
test cl, 1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edx
je 0x4e6a1a
mov dword [esp + 0x18], 4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
imul ecx, ebp
mov eax, dword [esp + 0x74]
add ecx, esi
mov esi, dword [eax]
mov eax, dword [esp + 0x14]
add ecx, esi
lea ecx, [ecx + eax + 0x20]
mov eax, dword [esp + 0x34]
cmp edi, eax
mov dword [esp + 0x38], ecx
jl 0x4e6a47
mov edi, eax
sub edi, ebp
mov ecx, dword [esp + 0x7c]
xor eax, eax
mov al, byte [ecx]
mov cl, byte [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x38]
shr esi, cl
mov cl, byte [eax]
mov byte [esp + 0x44], cl
and esi, 0xf
cmp esi, 0xf
ja case.0x4e6a6f.15
jmp dword [esi*4 + 0x4e6bec]
mov al, cl
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov dl, cl
shr dl, 3
shr al, 3
sub al, dl
mov edx, dword [esp + 0x78]
add al, cl
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov dl, cl
shr dl, 2
shr al, 2
sub al, dl
mov edx, dword [esp + 0x78]
add al, cl
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov dl, cl
shr dl, 1
shr al, 1
sub al, dl
mov edx, dword [esp + 0x78]
add al, cl
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov dl, al
shr cl, 2
shr dl, 2
sub cl, dl
mov edx, dword [esp + 0x78]
add cl, al
mov al, cl
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov dl, al
shr cl, 3
shr dl, 3
sub cl, dl
mov edx, dword [esp + 0x78]
add cl, al
mov al, cl
jmp 0x4e6b1d
inc esi
mov ecx, dword [esp + 0x44]
mov eax, 0x10
sub eax, esi
and ecx, 0xff
imul eax, ecx
mov ecx, dword [esp + 0x10]
and ecx, 0xff
imul ecx, esi
add eax, ecx
shr eax, 4
jmp 0x4e6b1d
mov al, byte [esp + 0x10]
mov ecx, dword [esp + 0x38]
dec edi
test edi, edi
mov byte [ecx], al
jle 0x4e6b6e
mov eax, dword [esp + 0x20]
add ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
add edx, ecx
cmp edx, ebx
mov dword [esp + 0x78], edx
jl 0x4e6a49
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x18]
mov ecx, 4
sub ecx, esi
mov dword [esp + 0x18], ecx
jne 0x4e6b5b
inc eax
sub edx, ebx
cmp edx, ebx
jge 0x4e6b49
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
jmp 0x4e6a49
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
add esi, edx
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x54]
inc eax
mov dword [esp + 0x30], esi
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
jl 0x4e693b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10