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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
test ebp, ebp
je 0x4e2e50
test edx, edx
mov dword [ebp], 0
mov dword [ebp + 8], 0x737300
je 0x4e2e94
mov edi, dword [edx + 0x3c]
cmp edi, 3
jbe 0x4e2dc0
mov esi, dword [edx + 0x40]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi + 2]
shl eax, 8
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [esi]
or eax, ecx
mov ecx, eax
mov ebx, eax
not ecx
shr ebx, 4
mov byte [ebp + 0x28], cl
mov ecx, eax
and ebx, 1
shr ecx, 1
mov byte [esp + 0x14], bl
mov byte [ebp + 0x2a], bl
and ecx, 7
mov ebx, eax
and byte [ebp + 0x28], 1
shr ebx, 5
cmp cl, 3
mov byte [ebp + 0x29], cl
mov dword [esp + 0x18], ebx
mov dword [ebp + 0x2c], ebx
ja 0x4e2e02
cmp byte [esp + 0x14], 0
je 0x4e2de1
test al, 1
lea ebx, [edi - 3]
jne 0x4e2e60
cmp ebx, 6
jbe 0x4e2fa0
cmp byte [esi + 3], 0x9d
je 0x4e2eb0
mov dword [ebp], 3
mov dword [ebp + 8], 0x73740f
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov dword [ebp], 7
mov dword [ebp + 8], 0x737335
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp], 4
mov dword [ebp + 8], str.26bU
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp], 3
mov dword [ebp + 8], 0x737348
xor edi, edi
mov dword [ebp + 4], 0
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
call fcn.004ff6f0
cmp byte [ebp + 0x28], 0
jne 0x4e33c2
cmp dword [ebp], 0
jne 0x4e2e50
mov dword [ebp], 4
mov dword [ebp + 8], 0x7373fe
mov dword [ebp + 4], 0
add esp, 0x3c
xor edi, edi
pop ebx
mov eax, edi
pop esi
pop edi
pop ebp
ret
lea eax, [esi + 3]
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x18]
jae 0x4e2fc0
mov eax, dword [ebp]
test eax, eax
jne 0x4e2e50
mov dword [ebp], 7
mov dword [ebp + 8], 0x73739a
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov dword [ebp], 2
mov dword [ebp + 8], 0x737310
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
cmp byte [esi + 4], 1
jne 0x4e2d9f
cmp byte [esi + 5], 0x2a
jne 0x4e2d9f
movzx ecx, byte [esi + 7]
add esi, 0xa
mov eax, ecx
movzx ecx, byte [esi - 4]
shl eax, 8
or ecx, eax
and cx, 0x3fff
mov word [ebp + 0x30], cx
movzx eax, byte [esi - 3]
movzx ecx, cx
shr al, 6
mov byte [ebp + 0x34], al
movzx eax, byte [esi - 1]
shl eax, 8
mov ebx, eax
movzx eax, byte [esi - 2]
or eax, ebx
and ax, 0x3fff
mov word [ebp + 0x32], ax
movzx ebx, byte [esi - 1]
movzx eax, ax
mov dword [esp + 0x14], esi
lea esi, [ecx + 0xf]
sar esi, 4
mov dword [ebp + 0x120], esi
lea esi, [eax + 0xf]
shr bl, 6
mov byte [ebp + 0x35], bl
lea ebx, [edi - 0xa]
sar esi, 4
mov dword [ebp + 0x124], esi
mov dword [edx + 4], eax
mov dword [edx + 0x58], eax
mov dword [edx + 0x10], eax
lea eax, [ebp + 0x388]
mov dword [edx], ecx
mov dword [edx + 0x5c], 0
mov dword [edx + 0x48], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], ecx
mov dword [edx + 0xc], ecx
mov dword [esp], eax
call fcn.004ff9d0
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x74], 0
mov dword [ebp + 0x78], 0
mov dword [esp + 0x18], eax
jmp 0x4e2e67
mov dword [ebp], 7
mov dword [ebp + 8], 0x73737e
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov eax, dword [esp + 0x18]
lea esi, [ebp + 0xc]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.004fdf20
cmp byte [ebp + 0x28], 0
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
jne 0x4e3038
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
mov dword [ebp + 0x68], eax
jne 0x4e30fe
mov dword [ebp + 0x6c], 0
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x4e3060
mov ecx, dword [ebp]
test ecx, ecx
jne 0x4e2e50
mov dword [ebp], 3
mov dword [ebp + 8], 0x7373af
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
mov byte [ebp + 0x36], al
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
mov byte [ebp + 0x37], al
jmp 0x4e2fe8
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
mov dword [ebp + 0x38], eax
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fdf90
mov dword [ebp + 0x3c], eax
mov dword [esp + 4], 3
mov dword [esp], esi
call fcn.004fdf90
mov dword [ebp + 0x40], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
mov dword [ebp + 0x44], eax
jne 0x4e31fb
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x4e30c8
mov edx, dword [ebp + 0x38]
xor eax, eax
test edx, edx
sete al
add eax, 1
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x904], eax
test ecx, ecx
je 0x4e3264
mov edx, dword [ebp]
test edx, edx
jne 0x4e2e50
mov dword [ebp], 3
mov dword [ebp + 8], 0x7373cb
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
mov dword [ebp + 0x6c], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
jne 0x4e3173
mov eax, dword [ebp + 0x6c]
xor edi, edi
test eax, eax
je 0x4e300a
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
mov edx, 0xffffffff
jne 0x4e315f
mov byte [ebp + edi + 0x388], dl
add edi, 1
cmp edi, 3
jne 0x4e3132
jmp 0x4e300a
mov dword [esp + 4], 8
mov dword [esp], esi
call fcn.004fdf90
mov edx, eax
jmp 0x4e314b
mov dword [esp + 4], 1
mov dword [esp], esi
xor edi, edi
call fcn.004fdf90
mov dword [ebp + 0x70], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
xor edx, edx
test eax, eax
jne 0x4e31d3
mov byte [ebp + edi + 0x74], dl
add edi, 1
cmp edi, 4
jne 0x4e3188
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
xor edx, edx
test eax, eax
jne 0x4e31e7
mov byte [ebp + edi + 0x78], dl
add edi, 1
cmp edi, 4
jne 0x4e31ac
jmp 0x4e3125
mov dword [esp + 4], 7
mov dword [esp], esi
call fcn.004fe090
mov edx, eax
jmp 0x4e319e
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fe090
mov edx, eax
jmp 0x4e31c2
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
je 0x4e30b4
xor edx, edx
mov dword [esp + 0x1c], ebx
mov ebx, edx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
jne 0x4e32de
add ebx, 1
cmp ebx, 4
jne 0x4e321b
xor edx, edx
mov ebx, edx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.004fdf90
test eax, eax
jne 0x4e32c5
add ebx, 1
cmp ebx, 4
jne 0x4e323f
mov ebx, dword [esp + 0x1c]
jmp 0x4e30b4
mov eax, ebx
sub eax, dword [esp + 0x18]
mov dword [esp + 4], 2
mov dword [esp], esi
mov edi, eax
mov dword [esp + 0x1c], eax
call fcn.004fdf90
mov ecx, eax
mov eax, 1
mov edx, 7
shl eax, cl
mov dword [ebp + 0x138], eax
sub eax, 1
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
cmp edi, eax
jae 0x4e32f7
mov eax, dword [ebp]
test eax, eax
jne 0x4e2e50
mov dword [ebp], edx
mov dword [ebp + 8], 0x7373e6
xor edi, edi
mov dword [ebp + 4], 0
jmp 0x4e2dd7
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fe090
mov dword [ebp + ebx*4 + 0x58], eax
jmp 0x4e3253
mov dword [esp + 4], 6
mov dword [esp], esi
call fcn.004fe090
mov dword [ebp + ebx*4 + 0x48], eax
jmp 0x4e3233
mov edi, dword [esp + 0x18]
add edi, dword [esp + 0x14]
lea edx, [edi + eax]
mov ecx, edx
mov edx, dword [esp + 0x1c]
sub edx, eax
cmp dword [esp + 0x20], 0
lea eax, [ebp + 0x13c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
je 0x4e338d
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], ebp
mov esi, eax
mov dword [esp + 0x1c], ecx
mov ebp, ecx
movzx eax, byte [edi + 1]
shl eax, 8
mov ecx, eax
movzx eax, byte [edi + 2]
shl eax, 0x10
or eax, ecx
movzx ecx, byte [edi]
mov dword [esp + 4], ebp
mov dword [esp], esi
or eax, ecx
cmp eax, ebx
cmova eax, ebx
add edi, 3
add esi, 0x1c
mov dword [esp + 8], eax
mov dword [esp + 0x18], eax
call fcn.004fdf20
mov eax, dword [esp + 0x18]
add ebp, eax
sub ebx, eax
cmp dword [esp + 0x1c], edi
jne 0x4e3337
mov ecx, ebp
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov edi, ecx
mov dword [esp + 8], eax
imul eax, dword [esp + 0x20], 0x1c
add eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.004fdf20
add ebx, dword [esp + 0x14]
cmp edi, ebx
jb 0x4e2e23
mov edx, 5
jmp 0x4e32a2
mov dword [esp + 4], 1
mov dword [esp], esi
mov edi, 1
call fcn.004fdf90
mov dword [esp + 4], ebp
mov dword [esp], esi
call fcn.005005c0
mov dword [ebp + 4], 1
jmp 0x4e2dd7