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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
test ecx, ecx
je 0x4e66b5
nop dword [eax]
movzx edx, word [eax]
add eax, 2
inc word [esp + edx*2 + 0x30]
dec ecx
jne 0x4e6680
movzx eax, word [esp + 0x4e]
mov ecx, dword [esi]
mov edi, 0xf
test ax, ax
jne 0x4e6780
cmp word [esp + 0x4c], 0
je 0x4e66bf
mov edi, 0xe
jmp 0x4e677e
mov ecx, dword [esi]
cmp word [esp + 0x4c], 0
jne 0x4e66ab
cmp word [esp + 0x4a], 0
je 0x4e66d1
mov edi, 0xd
jmp 0x4e677e
cmp word [esp + 0x48], 0
je 0x4e66e3
mov edi, 0xc
jmp 0x4e677e
cmp word [esp + 0x46], 0
je 0x4e66f5
mov edi, 0xb
jmp 0x4e677e
cmp word [esp + 0x44], 0
je 0x4e6704
mov edi, 0xa
jmp 0x4e677e
cmp word [esp + 0x42], 0
je 0x4e6713
mov edi, 9
jmp 0x4e677e
cmp word [esp + 0x40], 0
je 0x4e6722
mov edi, 8
jmp 0x4e677e
cmp word [esp + 0x3e], 0
je 0x4e6731
mov edi, 7
jmp 0x4e677e
cmp word [esp + 0x3c], 0
je 0x4e6740
mov edi, 6
jmp 0x4e677e
cmp word [esp + 0x3a], 0
je 0x4e674f
mov edi, 5
jmp 0x4e677e
cmp word [esp + 0x38], 0
je 0x4e675e
mov edi, 4
jmp 0x4e677e
cmp word [esp + 0x36], 0
je 0x4e676d
mov edi, 3
jmp 0x4e677e
cmp word [esp + 0x34], 0
je 0x4e6d22
mov edi, 2
xor eax, eax
cmp ecx, edi
mov dword [esp], eax
mov eax, 1
cmova ecx, edi
nop dword [eax]
cmp word [esp + eax*2 + 0x30], 0
jne 0x4e679f
inc eax
cmp edi, eax
jne 0x4e6790
mov eax, edi
cmp ecx, eax
mov edx, 0xffffffff
cmovb ecx, eax
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x32]
cmp ecx, 2
ja 0x4e6d18
movzx esi, word [esp + 0x34]
mov dword [esp + 0x20], esi
lea ebx, [esi + ecx*2]
mov esi, 4
sub esi, ebx
js 0x4e6d18
movzx ebx, word [esp + 0x36]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 0x78], ebx
movzx ebx, word [esp + 0x38]
add esi, esi
sub esi, ebx
mov dword [esp + 0x74], ebx
js 0x4e6d18
movzx ebx, word [esp + 0x3a]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 4], ebx
movzx ebx, word [esp + 0x3c]
add esi, esi
sub esi, ebx
mov dword [esp + 8], ebx
js 0x4e6d18
movzx ebx, word [esp + 0x3e]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 0x1c], ebx
movzx ebx, word [esp + 0x40]
add esi, esi
sub esi, ebx
mov dword [esp + 0x18], ebx
js 0x4e6d18
movzx ebx, word [esp + 0x42]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 0x2c], ebx
movzx ebx, word [esp + 0x44]
add esi, esi
sub esi, ebx
mov dword [esp + 0x70], ebx
js 0x4e6d18
movzx ebx, word [esp + 0x46]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 0x6c], ebx
movzx ebx, word [esp + 0x48]
add esi, esi
sub esi, ebx
mov dword [esp + 0x14], ebx
js 0x4e6d18
movzx ebx, word [esp + 0x4a]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov dword [esp + 0x28], ebx
movzx ebx, word [esp + 0x4c]
add esi, esi
sub esi, ebx
mov dword [esp + 0x68], ebx
js 0x4e6d18
movzx ebx, word [esp]
add esi, esi
sub esi, ebx
js 0x4e6d18
mov ebx, dword [ebp + 0x14]
test esi, esi
je 0x4e68e0
cmp dword [ebp + 8], 0
je 0x4e6d18
cmp edi, 1
jne 0x4e6d18
mov edx, dword [esp + 0x20]
mov word [esp + 0x7e], 0
mov word [esp + 0x80], cx
add edx, ecx
mov ecx, dword [esp + 0x78]
mov word [esp + 0x82], dx
add ecx, edx
mov edx, dword [esp + 0x74]
mov word [esp + 0x84], cx
add edx, ecx
mov ecx, dword [esp + 4]
mov word [esp + 0x86], dx
add ecx, edx
mov edx, dword [esp + 8]
mov word [esp + 0x88], cx
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov word [esp + 0x8a], dx
add ecx, edx
mov edx, dword [esp + 0x18]
mov word [esp + 0x8c], cx
add edx, ecx
mov ecx, dword [esp + 0x2c]
mov word [esp + 0x8e], dx
add ecx, edx
mov edx, dword [esp + 0x70]
mov word [esp + 0x90], cx
add edx, ecx
mov ecx, dword [esp + 0x6c]
mov word [esp + 0x92], dx
add ecx, edx
mov edx, dword [esp + 0x14]
mov word [esp + 0x94], cx
add edx, ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x96], dx
add ecx, edx
mov edx, dword [esp + 0x68]
mov word [esp + 0x98], cx
add edx, ecx
mov word [esp + 0x9a], dx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4e69eb
xor ecx, ecx
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + ecx*2]
test edx, edx
jne 0x4e69cc
mov edx, dword [ebp + 0x10]
inc ecx
cmp edx, ecx
je 0x4e69eb
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + ecx*2]
test edx, edx
je 0x4e69b9
movzx esi, word [esp + edx*2 + 0x7c]
lea ebx, [esi + 1]
mov word [esp + edx*2 + 0x7c], bx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x1c]
mov word [edx + esi*2], cx
mov edx, dword [ebp + 0x10]
inc ecx
cmp edx, ecx
jne 0x4e69c1
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4e6a2f
cmp ecx, 1
jne 0x4e6a54
cmp dword [esp + 0xc], 9
mov edx, 1
ja 0x4e6d18
mov cl, 1
mov dword [esp + 0x14], 0x101
mov dword [esp + 0x64], 0x52485e
mov dword [esp + 0x60], 0x524820
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], ecx
jmp 0x4e6a9a
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x58], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
jmp 0x4e6a9a
cmp ecx, 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x64], 0x5248dc
mov dword [esp + 0x60], 0x52489c
sete cl
mov dword [esp + 0x58], ecx
jne 0x4e6a92
cmp dword [esp + 0xc], 9
mov edx, 1
mov dword [esp + 0x24], 0
ja 0x4e6d18
jmp 0x4e6a9a
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [ebx]
mov edx, 1
xor ebx, ebx
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0
shl edx, cl
mov dword [esp + 0x5c], edx
dec edx
mov dword [esp + 0x68], edx
mov edx, 1
mov dword [esp + 0x10], esi
shl edx, cl
lea ecx, [esi + 2]
mov dword [esp + 0x70], ecx
mov ecx, edx
mov dword [esp + 0x2c], edx
neg edx
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 8]
mov ecx, eax
mov esi, dword [esp + 0x14]
mov dword [esp + 8], edx
sub ecx, dword [esp + 4]
mov dword [esp], ecx
mov ecx, dword [ebp + 0x1c]
movzx ecx, word [ecx + edx*2]
mov dword [esp + 0x20], ecx
movzx ecx, cx
lea edx, [ecx + 1]
cmp edx, esi
jae 0x4e6b1e
mov esi, ebx
mov dword [esp + 0x18], 0
jmp 0x4e6b4d
mov edx, esi
mov esi, ebx
sub ecx, edx
jae 0x4e6b36
mov cl, 0x60
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
jmp 0x4e6b4d
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov dl, byte [edx + ecx*2]
movzx ecx, word [ebx + ecx*2]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov ebx, 1
mov edx, esi
mov ecx, dword [esp]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
shl ebx, cl
mov ecx, dword [esp + 4]
shr edx, cl
mov ecx, dword [esp + 0x70]
add edx, dword [esp + 0x2c]
mov dword [esp + 0x78], ebx
sub edx, ebx
lea ecx, [ecx + edx*4]
lea edx, [ebx*4]
neg edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
nop dword [eax]
mov ebx, esi
mov byte [ecx - 2], bl
mov ebx, dword [esp]
mov byte [ecx - 1], bl
mov ebx, dword [esp + 0x20]
mov word [ecx], bx
add ecx, dword [esp + 0x74]
add edx, dword [esp + 0x78]
jne 0x4e6b90
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov edx, 1
dec cl
shl edx, cl
nop dword [eax + eax]
mov ecx, edx
shr edx, 1
test ecx, esi
jne 0x4e6bc0
mov edx, ecx
sub edx, 1
and edx, esi
add edx, ecx
cmp ecx, 1
mov ecx, 0
mov ebx, edx
mov edx, dword [ebp + 0x14]
cmovb ebx, ecx
dec word [esp + eax*2 + 0x30]
mov ecx, dword [ebp + 0x18]
je 0x4e6bfc
mov edx, dword [esp + 8]
inc edx
cmp eax, dword [esp + 0xc]
jbe 0x4e6aec
jmp 0x4e6c22
cmp eax, edi
je 0x4e6ced
mov eax, dword [ebp + 0x1c]
mov edx, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
movzx eax, word [eax + edx*2 + 2]
movzx eax, word [ecx + eax*2]
inc edx
cmp eax, dword [esp + 0xc]
jbe 0x4e6aec
mov esi, ebx
and esi, dword [esp + 0x68]
cmp esi, dword [esp + 0x28]
je 0x4e6aec
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
mov ecx, eax
mov dword [esp + 0x1c], ebx
test edx, edx
cmove edx, dword [esp + 0xc]
mov dword [esp + 4], edx
sub ecx, edx
mov edx, 1
shl edx, cl
cmp eax, edi
jae 0x4e6c75
mov ecx, eax
movzx ebx, word [esp + ecx*2 + 0x30]
sub edx, ebx
jle 0x4e6c6a
inc ecx
add edx, edx
cmp ecx, edi
jb 0x4e6c5a
sub ecx, dword [esp + 4]
mov edx, 1
shl edx, cl
mov ebx, dword [esp + 0x5c]
add ebx, edx
mov edx, 1
cmp ebx, 0x354
mov dword [esp + 0x5c], ebx
seta byte [esp]
cmp ebx, 0x250
mov bh, byte [esp]
seta bl
test byte [esp + 0x24], bh
jne 0x4e6d18
and bl, byte [esp + 0x58]
jne 0x4e6d18
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
lea ebx, [ebx + edx*4]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, edx
mov edx, dword [edx]
mov byte [edx + esi*4], cl
mov edx, dword [ebx]
mov ebx, dword [esp + 0xc]
mov byte [edx + esi*4 + 1], bl
mov edx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x10]
mov edx, dword [edx]
sub ebx, edx
shr ebx, 2
mov word [edx + esi*4 + 2], bx
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x4e6aca
test ebx, ebx
je 0x4e6d07
mov esi, dword [esp + 0x10]
mov eax, dword [esp]
mov byte [esi + ebx*4], 0x40
mov byte [esi + ebx*4 + 1], al
mov word [esi + ebx*4 + 2], 0
mov eax, dword [esp + 0x5c]
shl eax, 2
add dword [edx], eax
mov eax, dword [esp + 0xc]
mov dword [ecx], eax
xor edx, edx
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp word [esp + 0x32], 0
je 0x4e6d49
xor eax, eax
test ecx, ecx
mov edi, 1
mov dword [esp], 0
setne al
mov ecx, eax
mov eax, 1
jmp 0x4e679f
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov eax, dword [ebx]
lea ecx, [eax + 4]
mov dword [ebx], ecx
mov dword [eax], 0x140
mov dword [esi], 1
jmp 0x4e6d16