Function at 0x4d9000
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x5a6008]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, edx
mov dword [esp + 0x30], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x24], ecx
mov edi, eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
sub edi, ecx
mov dword [esp + 0x5c], edx
add edx, ecx
mov eax, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x6c], edx
mov edx, 1
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x1c], edi
sub edi, edx
cmp eax, edx
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0x54]
cmovbe edi, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne edi, ecx
mov dword [esp + 0x4c], edx
mov ecx, 6
mov dword [esp + 0x50], edi
cmp eax, ecx
mov dword [esp + 0x88], edx
push 0xbf9b0000
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x60], eax
mov dword [esp + 0x88], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x44], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edi
push dword [eax + 4]
push dword [eax]
call fcn.0053d600
mov edi, dword [esp + 0x3c]
mov ecx, 0x38
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
sub ecx, dword [edi + 0x24]
call fcn.00511be0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x50], eax
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x28], 0x3f
lea ecx, [eax + esi]
mov esi, dword [esp + 0x2c]
lea eax, [edi + eax*4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
cmp dword [esi + 0xdc], 0
jne 0x4d93ad
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x1c]
sub eax, edi
mov edx, dword [esp + 0xc]
mov ecx, edx
cmp eax, 0x180
jbe 0x4d92ac
lea ecx, [edi + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], edx
cmp edi, ecx
jae 0x4d9219
mov eax, 0x38
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [esp + 0x44], eax
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + edi + 4]
push dword [eax + edi]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x14]
call fcn.00511be0
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov esi, edx
shr esi, 2
mov eax, 0
and esi, 0x3fffffc0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov dword [ecx + eax*4], edi
inc edi
mov eax, dword [esp + 0x44]
cmp edi, dword [esp + 0x40]
jb 0x4d9190
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add edi, 0xffffffe0
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x70], edi
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x4d9238
xor ecx, ecx
jmp 0x4d923d
sub ecx, edx
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x80], ecx
cmp edi, ecx
jae 0x4d92a8
mov eax, 0x38
sub eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edi + edx + 4]
push dword [edi + edx]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x40]
call fcn.00511be0
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, edi
inc edi
and eax, 7
mov dword [esi + eax*4 + 0x2c], ecx
cmp edi, dword [esp + 0x80]
jb 0x4d9261
mov ecx, dword [esi + 0x24]
mov edi, dword [esp + 0x70]
jmp 0x4d92ac
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x14], edx
cmp edi, dword [esp + 0x1c]
jae 0x4d9366
mov eax, 0x38
sub eax, ecx
mov dword [esp + 0x70], eax
nop dword [eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x70]
call fcn.00511be0
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov esi, edx
shr esi, 2
mov eax, 0
mov dword [esp + 0x44], edx
and esi, 0x3fffffc0
mov edx, dword [esp + 0x80]
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x44]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [ecx + eax*4], edi
inc edi
cmp edi, dword [esp + 0x1c]
jb 0x4d92e0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [esi + 0x1c], edi
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.0053d600
xor eax, dword [esp + 0x58]
mov ecx, 0x38
xor edx, dword [esp + 0x48]
sub ecx, dword [esp + 0xc]
call fcn.00511be0
mov ecx, eax
mov eax, edi
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x4d93dc
movq xmm0, qword [esp + 0x80]
mov eax, 0x38
sub eax, dword [esp + 0xc]
movq xmm1, qword [esp + 0x70]
pxor xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x1c]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x20]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x70], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x58], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 4
jl 0x4d9440
mov eax, dword [esp + 0x8c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x84]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x80]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x24], ecx
or edi, eax
mov edx, dword [esp + 0x24]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00511c00
mov dword [esp + 0x48], eax
mov ecx, esi
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, dword [esp + 0x24]
call fcn.00511be0
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
or esi, eax
or ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4d94e4
test esi, esi
je 0x4d9541
mov edi, dword [esp + 0x54]
test edi, edi
je 0x4d953d
push ecx
push esi
call fcn.004ce160
add eax, dword [esp + 0x60]
add esp, 8
and eax, 0x3f
je 0x4d951d
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4d953d
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x10], eax
dec edi
mov edx, dword [esp + 0xc]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4d94e8
jb 0x4d953d
test esi, esi
jne 0x4d94e8
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x70]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x10], 0
jbe 0x4d95f0
mov edi, dword [esp + 0x30]
mov esi, 3
mov ecx, dword [esp + 0x10]
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x4c], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x4d95df
push dword [esp + 0x38]
mov ecx, edi
call fcn.004ce1f0
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x4d95db
mov eax, dword [esp + 0x1c]
mov esi, ecx
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x38]
je 0x4d95ec
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, ecx
jb 0x4d9590
mov dword [esp + 0x34], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], ecx
sub ecx, eax
add dword [esp + 0x5c], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x60], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
nop dword [eax + eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 4
jl 0x4d9650
mov eax, dword [esp + 0x7c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x78]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x74]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x70]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x3c], ecx
or edi, eax
mov edx, dword [esp + 0x3c]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00511c00
mov dword [esp + 0x50], eax
mov ecx, esi
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, dword [esp + 0x3c]
call fcn.00511be0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
or esi, eax
or ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4d96e9
test esi, esi
je 0x4d982b
mov edi, dword [esp + 0x54]
nop dword [eax]
test edi, edi
je 0x4d9745
push ecx
push esi
call fcn.004ce160
add eax, dword [esp + 0x68]
add esp, 8
and eax, 0x3f
je 0x4d9725
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4d9745
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x18], eax
dec edi
mov edx, dword [esp + 0xc]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0xc]
and ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4d96f0
jb 0x4d9745
test esi, esi
jne 0x4d96f0
cmp dword [esp + 0x18], 0
jbe 0x4d982b
xor eax, eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
add esi, eax
mov dword [esp + 0x50], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4d97fe
lea edi, [ecx + 4]
add esi, 4
mov ecx, dword [esp + 0x38]
mov eax, edi
sub eax, esi
mov dword [esp + 0x64], edi
add eax, dword [esp + 0x24]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.004ce1f0
mov edi, eax
add esp, 4
lea ecx, [esi + edi]
mov esi, dword [esp + 0x38]
cmp ecx, dword [esp + 0x24]
jne 0x4d97cc
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
push esi
lea ecx, [ecx + edi]
call fcn.004ce1f0
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x34]
add edi, 4
cmp edi, ecx
jbe 0x4d9802
mov eax, dword [esp + 0x1c]
mov ecx, edi
sub eax, dword [esp + 0x50]
sub eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
add eax, 3
mov dword [esp + 0x34], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x30]
add eax, edi
cmp eax, esi
je 0x4d9815
jmp 0x4d9802
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x18]
jb 0x4d9760
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret