Function at 0x4decd0
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 [0x5b0008]
xor eax, esp
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
push esi
mov esi, ecx
mov dword [esp + 0x2c], 3
push edi
mov edi, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov edx, 1
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], eax
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
shl edx, cl
mov ecx, dword [esi + 0x10]
sub edi, edx
sub eax, ecx
mov dword [esp + 0x38], 0x3f
cmp eax, edx
mov eax, edi
mov edi, dword [esp + 0x2c]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
cmovne eax, ecx
mov ecx, 6
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x3c], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0xb4]
mov dword [esp + 0x40], eax
mov esi, dword [eax + 0x5c]
mov edx, dword [eax + 0x28]
imul eax, dword [edi], 0x9e3779b1
mov edi, 0x18
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
sub ecx, dword [eax + 0x24]
mov eax, dword [esp + 0x10]
shr eax, cl
mov dword [esp + 0x48], eax
shr eax, 2
and eax, 0x3fffffc0
lea ecx, [eax + edx]
lea eax, [esi + eax*4]
mov dword [esp + 0x58], ecx
mov esi, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
cmp dword [esi + 0xdc], 0
jne 0x4deff8
mov edi, dword [esi + 0x1c]
sub eax, edi
mov ecx, dword [esp + 0xc]
mov edx, ecx
cmp eax, 0x180
jbe 0x4def21
lea eax, [edi + 0x60]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], eax
cmp edi, eax
jae 0x4deeab
mov ecx, 0x18
sub ecx, edx
mov edx, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], edx
imul edx, dword [edx + edi], 0x9e3779b1
mov eax, dword [esi + 0x54]
mov dword [esp + 0x84], eax
mov eax, edi
and eax, 7
xor edx, dword [esi + 0x50]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov esi, ecx
mov edx, dword [esp + 0x24]
mov eax, 0
shr esi, 2
and esi, 0x3fffffc0
mov dword [esp + 0x70], ecx
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edi
inc edi
mov ecx, dword [esp + 0x44]
cmp edi, dword [esp + 0x10]
jb 0x4dee33
mov edx, dword [esi + 0x24]
mov dword [esp + 0x70], edx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add edi, 0xffffffe0
mov eax, dword [esp + 0x14]
inc ecx
add eax, edi
mov dword [esp + 0x10], edi
cmp eax, ecx
jbe 0x4deec9
xor ecx, ecx
jmp 0x4deed0
sub ecx, dword [esp + 0x14]
sub ecx, edi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, edi
mov dword [esp + 0x44], ecx
cmp edi, ecx
jae 0x4def21
mov ecx, 0x18
sub ecx, dword [esp + 0x70]
nop dword [eax]
mov eax, dword [esi + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
imul edx, dword [edi + eax], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [esi + 0x50]
shr edx, cl
mov dword [esi + eax*4 + 0x2c], edx
cmp edi, dword [esp + 0x44]
jb 0x4deef0
mov edx, dword [esi + 0x24]
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
cmp edi, dword [esp + 0x18]
jae 0x4defc2
mov ecx, 0x18
sub ecx, edx
mov dword [esp + 0x80], ecx
nop
mov eax, dword [esi + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
imul edx, dword [eax + edi + 8], 0x9e3779b1
mov eax, edi
and eax, 7
xor edx, dword [esi + 0x50]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov esi, ecx
mov edx, dword [esp + 0x44]
mov eax, 0
shr esi, 2
and esi, 0x3fffffc0
mov dword [esp + 0x70], ecx
add edx, esi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov dword [ecx + eax*4], edi
inc edi
mov ecx, dword [esp + 0x80]
cmp edi, dword [esp + 0x18]
jb 0x4def50
mov eax, dword [esp + 0x2c]
mov ecx, 0x18
mov edi, dword [esp + 0x18]
sub ecx, dword [esp + 0xc]
mov dword [esi + 0x1c], edi
imul edx, dword [eax + 8], 0x9e3779b1
mov eax, edi
xor edx, dword [esp + 0x3c]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov edx, ecx
mov dword [esp + 0x10], ecx
jmp 0x4df00f
mov edx, dword [esp + 0x10]
sub edi, dword [esp + 0xc]
xor edx, dword [esp + 0x3c]
mov ecx, edi
shr edx, cl
mov dword [esp + 0x10], edx
mov dword [esi + 0x1c], eax
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x70], 0
add esi, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], esi
lea ecx, [ecx + eax*4]
movzx eax, byte [esi]
mov dword [esp + 0x20], eax
movsx eax, dl
mov edx, esi
mov dword [esp + 0x3c], ecx
xor ecx, ecx
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop dword [eax + eax]
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 0x4df070
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x20]
cdq
and esi, 0x3f
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.00519d20
mov dword [esp + 0x80], eax
mov ecx, esi
mov dword [esp + 0xc], edx
mov eax, edi
mov edx, dword [esp + 0x24]
call fcn.00519d00
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0xc]
or esi, eax
or ecx, edx
mov dword [esp + 0xc], ecx
ja 0x4df11e
test esi, esi
je 0x4df17b
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4df177
push ecx
push esi
call fcn.004d6c70
add eax, dword [esp + 0x28]
add esp, 8
and eax, 0x3f
je 0x4df157
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x4c]
jb 0x4df177
mov eax, dword [esp + 0x70]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0x70], 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 0x4df122
jb 0x4df177
test esi, esi
jne 0x4df122
mov dword [esp + 0x50], edi
mov edx, dword [esp + 0x1c]
mov esi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, esi
mov esi, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x70], 0
jbe 0x4df236
mov edi, dword [esp + 0x2c]
mov esi, 3
mov ecx, dword [esp + 0x70]
xor eax, eax
nop dword [eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 0x80], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x4df225
push dword [esp + 0x34]
mov ecx, edi
call fcn.004d6d00
mov ecx, eax
add esp, 4
cmp ecx, esi
jbe 0x4df221
mov eax, dword [esp + 0x18]
mov esi, ecx
sub eax, dword [esp + 0x80]
mov edx, dword [esp + 0x5c]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x34]
je 0x4df232
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, ecx
jb 0x4df1d0
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 4]
mov dword [esp + 0x80], eax
mov eax, dword [edx]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
sub ecx, eax
add dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x58], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
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 0x4df294
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 + 0x40], ecx
or edi, eax
mov edx, dword [esp + 0x40]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.00519d20
mov dword [esp + 0x48], eax
mov ecx, esi
mov dword [esp + 0x14], edx
mov eax, edi
mov edx, dword [esp + 0x40]
call fcn.00519d00
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
or esi, eax
or ecx, edx
mov dword [esp + 0x14], ecx
ja 0x4df32d
test esi, esi
je 0x4df46b
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4df389
push ecx
push esi
call fcn.004d6c70
add eax, dword [esp + 0x60]
add esp, 8
and eax, 0x3f
je 0x4df369
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x80]
jb 0x4df389
mov eax, dword [esp + 0xc]
mov dword [esp + eax*4 + 0x98], ecx
inc eax
mov dword [esp + 0xc], eax
dec edi
mov edx, dword [esp + 0x14]
mov ecx, esi
add ecx, 0xffffffff
adc edx, 0xffffffff
and esi, ecx
mov ecx, dword [esp + 0x14]
and ecx, edx
mov dword [esp + 0x14], ecx
ja 0x4df331
jb 0x4df389
test esi, esi
jne 0x4df331
cmp dword [esp + 0xc], 0
jbe 0x4df46b
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add esi, eax
mov dword [esp + 0x48], eax
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x4df43e
lea edi, [ecx + 4]
add esi, 4
mov ecx, dword [esp + 0x34]
mov eax, edi
sub eax, esi
mov dword [esp + 0x60], edi
add eax, dword [esp + 0x24]
mov edx, esi
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, edi
call fcn.004d6d00
mov edi, eax
add esp, 4
lea ecx, [esi + edi]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
jne 0x4df40c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
push esi
lea ecx, [ecx + edi]
call fcn.004d6d00
add esp, 4
add edi, eax
mov ecx, dword [esp + 0x30]
add edi, 4
cmp edi, ecx
jbe 0x4df442
mov eax, dword [esp + 0x18]
mov ecx, edi
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
add eax, 3
mov dword [esp + 0x30], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
add eax, edi
cmp eax, esi
je 0x4df455
jmp 0x4df442
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0xc]
jb 0x4df3a0
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
call fcn.00519459
mov esp, ebp
pop ebp
ret