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

Disassembly:
push ebp
pxor xmm0, xmm0
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x40
movups xmmword [edx + 0x48], xmm0
mov dword [edx + 0x88], 0
movups xmmword [edx + 0x58], xmm0
movups xmmword [edx + 0x68], xmm0
movups xmmword [edx + 0x78], xmm0
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x28], eax
mov dword [eax + 0x68], 0
mov dword [eax + 0x50], 0
test edx, edx
je 0x4f1131
mov edi, dword [esp + 0x28]
lea eax, [edi + 0x54]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x24], eax
shr eax, 0x1f
lea eax, [edx + eax - 1]
mov dword [esp], eax
call fcn.004f37a0
test eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
je 0x4f10f0
mov eax, dword [eax + 0x5c]
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x70], eax
mov edi, dword [esp + 0x24]
lea eax, [edi + 4]
sub eax, dword [edi + 4]
lea ebx, [eax + 9]
mov edi, eax
mov dword [esp + 0x1c], eax
mov dword [esp], ebx
mov dword [esp + 0x20], ebx
call sub.msvcrt.dll_strlen
cmp byte [edi + 9], 0x65
lea eax, [ebx + eax + 1]
je 0x4f1030
mov edi, dword [esp + 0x1c]
movzx edx, byte [eax]
movzx ecx, byte [edi + 8]
mov byte [esp + 0x1b], cl
cmp cl, 3
ja 0x4f11e8
xor esi, esi
xor ecx, ecx
nop
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or esi, edx
test bl, bl
js 0x4f0e20
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
xor ebx, ebx
xor ecx, ecx
mov dword [edi + 0x7c], esi
lea esi, [esi]
mov edi, eax
movzx edx, byte [eax]
add eax, 1
mov esi, edx
and esi, 0x7f
shl esi, cl
add ecx, 7
or ebx, esi
test dl, dl
js 0x4f0e48
mov esi, edx
mov edx, edi
mov edi, esi
cmp ecx, 0x1f
ja 0x4f0e79
and edi, 0x40
je 0x4f0e79
mov esi, 0xffffffff
shl esi, cl
or ebx, esi
mov edi, dword [esp + 0x2c]
xor esi, esi
xor ecx, ecx
cmp byte [esp + 0x1b], 1
mov dword [edi + 0x78], ebx
mov edi, ebx
je 0x4f1060
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or esi, edx
test bl, bl
js 0x4f0e98
mov ebx, edi
mov edi, dword [esp + 0x2c]
mov dword [edi + 0x80], esi
mov byte [edi + 0x85], 0xff
mov edi, dword [esp + 0x20]
movzx edx, byte [edi]
xor edi, edi
cmp dl, 0x7a
je 0x4f1140
test dl, dl
je 0x4f13d8
mov esi, dword [esp + 0x20]
add esi, 1
sub edx, 0x42
cmp dl, 0x11
ja case.0x4f0eed.1
movzx edx, dl
jmp dword [edx*4 + 0x5326e8]
movzx edx, byte [eax]
mov ecx, dword [esp + 0x2c]
add eax, 1
mov byte [ecx + 0x85], dl
movzx edx, byte [esi]
add esi, 1
test dl, dl
jne 0x4f0ee2
test edi, edi
jne 0x4f0f28
mov edi, eax
lea esi, [esi]
nop
test edi, edi
je 0x4f11ed
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
lea edx, [ecx + eax + 4]
mov eax, dword [esp + 0x2c]
cmp ebx, 0xfffffffc
jne 0x4f0f46
cmp dword [esp + 0x14], 1
je 0x4f121f
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
call fcn.004f04f0
mov eax, dword [esp + 0x2c]
movzx eax, byte [eax + 0x84]
cmp al, 0xff
je 0x4f1200
and eax, 7
cmp al, 2
je 0x4f11d8
jbe 0x4f1190
cmp al, 3
je 0x4f1198
cmp al, 4
jne 0x52e15d
mov ebx, 0x18
mov eax, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x86], 0
movzx edx, byte [eax + 0x85]
je 0x4f11a8
xor esi, esi
xor ecx, ecx
mov edi, edx
lea esi, [esi]
movzx edx, byte [ebx]
add ebx, 1
mov eax, edx
and eax, 0x7f
shl eax, cl
add ecx, 7
or esi, eax
test dl, dl
js 0x4f0fb8
mov edx, edi
cmp dl, 0xff
je 0x4f0ff3
lea eax, [esp + 0x3c]
mov edi, dword [esp + 0x28]
movzx edx, dl
mov ecx, ebx
mov dword [esp], eax
mov eax, edi
call fcn.004ef020
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x50], eax
add ebx, esi
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
lea edx, [edi + eax + 4]
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x78], 0xfffffffc
jne 0x4f1013
cmp dword [eax + 0x7c], 1
je 0x4f120a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ebx
call fcn.004f04f0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [edi + 0xa], 0x68
jne 0x4f0e03
mov edx, dword [eax]
mov edi, dword [esp + 0x2c]
add eax, 4
mov dword [edi + 0x88], edx
mov edi, dword [esp + 0x1c]
add edi, 0xb
mov dword [esp + 0x20], edi
jmp 0x4f0e03
movzx esi, byte [eax]
lea eax, [edx + 2]
jmp 0x4f0eb0
movzx edx, byte [eax]
mov ecx, dword [esp + 0x2c]
add eax, 1
add esi, 1
mov byte [ecx + 0x84], dl
movzx edx, byte [esi - 1]
test dl, dl
jne 0x4f0ee2
jmp 0x4f0f12
movzx edx, byte [eax]
lea ecx, [eax + 1]
lea eax, [esp + 0x3c]
add esi, 1
mov dword [esp], eax
mov eax, dword [esp + 0x28]
call fcn.004ef020
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x74], edx
movzx edx, byte [esi - 1]
test dl, dl
jne 0x4f0ee2
jmp 0x4f0f12
mov ecx, dword [esp + 0x2c]
add esi, 1
mov byte [ecx + 0x87], 1
movzx edx, byte [esi - 1]
test dl, dl
jne 0x4f0ee2
jmp 0x4f0f12
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
cmp byte [eax - 2], 0xff
movzx edx, byte [eax - 5]
je 0x4f137f
cmp dl, 0xe8
je 0x4f13a6
cmp dl, 0x8b
jne 0x4f111c
cmp byte [eax - 4], 0x4d
je 0x4f12ac
cmp byte [eax - 1], 0x83
jne 0x4f1131
cmp byte [eax], 9
jne 0x4f1131
cmp byte [eax + 1], 0
je 0x4f1240
lea esp, [ebp - 0xc]
mov eax, 5
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
mov esi, ebx
lea esi, [esi]
movzx ebx, byte [eax]
add eax, 1
mov edx, ebx
and edx, 0x7f
shl edx, cl
add ecx, 7
or edi, edx
test bl, bl
js 0x4f1148
mov ecx, dword [esp + 0x2c]
mov ebx, esi
mov esi, dword [esp + 0x20]
add edi, eax
mov byte [ecx + 0x86], 1
movzx edx, byte [esi + 1]
lea ecx, [esi + 1]
test dl, dl
je 0x4f0f28
mov dword [esp + 0x20], ecx
jmp 0x4f0edb
test al, al
jne 0x4f13e6
mov ebx, 0x10
jmp 0x4f0f8d
cmp dl, 0xff
je 0x4f0ff5
lea eax, [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov dword [esp], eax
mov eax, edi
call fcn.004ef020
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x50], eax
jmp 0x4f0ff5
mov ebx, 0xc
jmp 0x4f0f8d
cmp dl, 4
je 0x4f1232
lea esp, [ebp - 0xc]
mov eax, 3
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, 8
jmp 0x4f0f8d
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov eax, ebx
call fcn.004efca0
xor eax, eax
jmp 0x4f1027
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov eax, edi
call fcn.004efca0
jmp 0x4f0f54
cmp byte [eax + 1], 0
jne 0x4f11ed
add eax, 2
jmp 0x4f0e1b
cmp byte [eax + 2], 0x2d
jne 0x4f1131
cmp byte [eax + 3], 0
jne 0x4f1131
cmp byte [eax + 4], 0x10
jne 0x4f1131
cmp byte [eax + 5], 0
jne 0x4f1131
mov eax, dword [esp + 0x2c]
mov byte [eax + 0x5c], 1
mov dword [eax + 0x68], 4
mov dword [eax + 0x64], 4
mov byte [eax + 0x49], 1
mov dword [eax + 4], 0xfffffffc
mov dword [eax + 0x80], 8
mov byte [eax + 0x50], 1
mov dword [eax + 0x20], 0
mov byte [eax + 0x87], 1
xor eax, eax
jmp 0x4f1027
cmp byte [eax], 0x64
jne 0x4f111c
cmp byte [eax + 1], 0x8b
jne 0x4f1131
mov eax, dword [ecx + 8]
mov edx, dword [eax + 0xc4]
lea ebx, [eax + 0xb0]
mov edi, dword [esp + 0x2c]
movd xmm0, ebx
lea ebx, [eax + 0xa8]
movd xmm3, edx
movd xmm2, ebx
sub edx, ecx
mov byte [edi + 0x5c], 1
lea ebx, [eax + 0xa4]
lea ecx, [eax + 0xac]
pshufd xmm1, xmm3, 0
mov dword [edi + 0x64], edx
movd xmm4, ebx
movd xmm5, ecx
mov edx, dword [0x532730]
lea ebx, [eax + 0xb4]
punpckldq xmm2, xmm4
punpckldq xmm0, xmm5
mov dword [edi + 0x68], 4
punpcklqdq xmm0, xmm2
mov dword [edi + 0x48], edx
psubd xmm0, xmm1
mov dword [edi + 0x4d], edx
lea edx, [eax + 0xa0]
movups xmmword [edi], xmm0
movd xmm0, ebx
movd xmm7, edx
lea ebx, [eax + 0x9c]
add eax, 0xb8
movd xmm2, ebx
punpckldq xmm0, xmm7
mov dword [edi + 0x80], 8
movd xmm6, eax
mov byte [edi + 0x87], 1
xor eax, eax
punpckldq xmm2, xmm6
punpcklqdq xmm0, xmm2
psubd xmm0, xmm1
movups xmmword [edi + 0x14], xmm0
jmp 0x4f1027
cmp byte [eax - 1], 0xd0
jne 0x4f1104
cmp byte [eax], 0x83
jne 0x4f1104
cmp byte [eax + 1], 0xf8
jne 0x4f1104
mov eax, dword [ecx]
mov eax, dword [eax + 4]
jmp 0x4f12c2
cmp byte [eax - 4], 0x68
movzx edx, byte [eax]
je 0x4f13df
cmp dl, 0x83
jne 0x4f111c
cmp byte [eax + 1], 0xc4
jne 0x4f1131
cmp byte [eax + 3], 0xb8
jne 0x4f1131
mov eax, dword [ecx + 0x38]
jmp 0x4f12c2
mov edi, eax
jmp 0x4f0f28
cmp dl, 0xc3
jne 0x4f13af
jmp 0x4f139c
jmp 0x52e15d