Function at 0x4dd640
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
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], 3
mov esi, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], esi
mov edx, 1
push 0xcf1bbcdc
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], eax
lea eax, [edi + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x68], eax
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x24]
shl edx, cl
mov ecx, dword [edi + 0x10]
sub esi, edx
sub eax, ecx
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x40]
mov edx, dword [edi + 0x54]
cmovbe eax, ecx
cmp dword [edi + 0x18], 0
push 0xbf9b0000
push dword [esi + 4]
cmovne eax, ecx
mov dword [esp + 0x44], edx
push dword [esi]
mov dword [esp + 0x28], eax
mov ecx, 6
mov eax, dword [edi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x7c], edx
cmovb ecx, eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x78], eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x58], eax
call fcn.0053d600
mov esi, dword [esp + 0x48]
mov ecx, 0x42
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
sub ecx, dword [esi + 0xc0]
call fcn.00511be0
mov ecx, dword [edi + 0xc4]
shl eax, 2
mov dword [esp + 0x5c], eax
cmp ecx, 6
jbe 0x4dd77d
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x58], eax
jmp 0x4dd785
mov dword [esp + 0x58], 0
cmp dword [edi + 0xdc], 0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x50], 0x3f
jne 0x4dda31
mov edi, dword [edi + 0x1c]
mov eax, dword [esp + 0x20]
sub eax, edi
mov dword [esp + 0x14], edi
cmp eax, 0x180
jbe 0x4dd928
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], ecx
cmp edi, eax
jae 0x4dd881
mov eax, dword [esp + 0x40]
mov edi, 0x38
mov esi, dword [esp + 0x14]
sub edi, ecx
add eax, 8
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [eax + esi + 4]
push dword [eax + esi]
call fcn.0053d600
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.00511be0
mov edi, dword [esp + 0x4c]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x60]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x68]
cmp esi, dword [esp + 0x10]
jb 0x4dd7f0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
mov eax, dword [edx + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x4dd885
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
lea ecx, [esi + 1]
mov eax, dword [esp + 0x40]
add edi, 0xffffffe0
add eax, edi
mov dword [esp + 0x14], edi
cmp eax, ecx
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x40]
jbe 0x4dd8a9
xor ecx, ecx
jmp 0x4dd8ae
sub ecx, eax
sub ecx, edi
inc ecx
cmp ecx, 8
mov dword [esp + 0x68], 8
cmova ecx, dword [esp + 0x68]
add ecx, edi
mov dword [esp + 0x68], ecx
cmp edi, ecx
jae 0x4dd92c
mov esi, dword [esp + 0x24]
mov ecx, 0x38
sub ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + eax + 4]
push dword [edx + eax]
call fcn.0053d600
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x60]
call fcn.00511be0
mov edx, dword [esp + 0x10]
mov ecx, edx
and ecx, 7
inc edx
mov dword [esp + 0x10], edx
mov dword [esi + ecx*4 + 0x2c], eax
mov eax, dword [esp + 0x40]
cmp edx, edi
jb 0x4dd8e1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x5c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], ecx
cmp edi, eax
jae 0x4dd9ee
mov esi, dword [esp + 0x14]
mov edi, 0x38
sub edi, dword [edx + 0x24]
mov dword [esp + 0x10], edi
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ecx + esi + 0xc]
push dword [ecx + esi + 8]
call fcn.0053d600
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, edi
call fcn.00511be0
mov edi, dword [esp + 0x4c]
mov ecx, esi
and ecx, 7
mov edx, dword [edi + ecx*4]
mov dword [edi + ecx*4], eax
mov edi, edx
shr edi, 2
mov eax, 0
and edi, 0x3fffffc0
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x68]
add edx, edi
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x50]
add ecx, eax
mov eax, dword [esp + 0x60]
mov byte [edx], cl
mov byte [ecx + edx], al
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov dword [ecx + eax*4], esi
inc esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x80]
cmp esi, eax
jb 0x4dd960
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [edi + 0x1c], eax
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.0053d600
xor eax, dword [esp + 0x78]
mov ecx, 0x38
xor edx, dword [esp + 0x38]
sub ecx, dword [esp + 0x1c]
call fcn.00511be0
mov ecx, dword [esp + 0x20]
and ecx, 7
mov edx, dword [edi + ecx*4 + 0x2c]
mov dword [edi + ecx*4 + 0x2c], eax
jmp 0x4dda60
movq xmm0, qword [esp + 0x68]
mov eax, 0x38
sub eax, dword [esp + 0x1c]
movq xmm1, qword [esp + 0x80]
pxor xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x20]
psrlq xmm1, xmm0
mov dword [edi + 0x1c], eax
movd edx, xmm1
add dword [edi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x54]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x78], edx
lea ecx, [ecx + eax*4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], ecx
xor ecx, ecx
movzx eax, byte [edx]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
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 0x4ddac2
mov eax, dword [esp + 0x8c]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x88]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x84]
shld edi, ecx, 0x10
cdq
shl ecx, 0x10
or edi, edx
or ecx, eax
mov eax, dword [esp + 0x80]
shld edi, ecx, 0x10
cdq
or edi, edx
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
and edi, 0x3f
mov dword [esp + 0x30], ecx
mov ecx, edi
mov eax, dword [esp + 0x30]
neg ecx
and ecx, 0x3f
call fcn.00511c00
mov dword [esp + 0x38], eax
mov ecx, edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x54]
call fcn.00511be0
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
or edi, eax
or ecx, edx
mov dword [esp + 0x10], ecx
ja 0x4ddb72
test edi, edi
je 0x4ddbcf
xor esi, esi
cmp dword [esp + 0x28], 0
jbe 0x4ddbc7
push ecx
push edi
call fcn.004ce160
add eax, dword [esp + 0x58]
add esp, 8
and eax, 0x3f
je 0x4ddba7
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + eax*4]
cmp eax, dword [esp + 0x18]
jb 0x4ddbc7
mov dword [esp + esi*4 + 0x98], eax
inc esi
dec dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, edi
add ecx, 0xffffffff
adc edx, 0xffffffff
and edi, ecx
mov ecx, dword [esp + 0x10]
and ecx, edx
mov dword [esp + 0x10], ecx
ja 0x4ddb74
jb 0x4ddbc7
test edi, edi
jne 0x4ddb74
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
mov edi, 0x3f
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, edi
mov edi, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x1c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
mov dword [edi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x4ddc7d
mov ecx, dword [esp + 0x14]
mov edi, 3
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [edx + edi - 3]
cmp eax, dword [edi + esi - 3]
jne 0x4ddc6c
push dword [esp + 0x44]
mov ecx, esi
call fcn.004ce1f0
add esp, 4
cmp eax, edi
jbe 0x4ddc68
mov ecx, dword [esp + 0x20]
mov edi, eax
sub ecx, dword [esp + 0x38]
add eax, esi
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [edx], ecx
cmp eax, dword [esp + 0x44]
je 0x4ddc79
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, ecx
jb 0x4ddc20
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov dword [esp + 0x28], eax
sub eax, edi
add eax, dword [esp + 0x64]
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
cmp edx, 3
jae 0x4ddcb9
xor ecx, ecx
mov dword [esp + 0x58], edx
test edx, edx
je 0x4ddd9e
jmp 0x4ddcc1
mov dword [esp + 0x58], 3
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x28]
lea edx, [eax*4]
mov dword [esp + 0x18], edx
nop word [eax + eax]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
mov dword [esp + 0x38], eax
lea edi, [eax + ecx]
test eax, eax
je 0x4dde68
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x4ddd7e
mov ecx, dword [esp + 0x44]
lea eax, [esi + 4]
add edi, 4
sub eax, edi
mov edx, edi
add eax, dword [esp + 0x14]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.004ce1f0
add esp, 4
mov dword [esp + 0x64], eax
lea ecx, [eax + edi]
mov edi, dword [esp + 0x44]
cmp ecx, dword [esp + 0x14]
jne 0x4ddd49
mov edx, dword [esp + 0x7c]
lea ecx, [eax + 4]
push edi
add ecx, esi
call fcn.004ce1f0
add esp, 4
add eax, dword [esp + 0x64]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x34]
jbe 0x4ddd76
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x74]
add eax, 3
mov dword [esp + 0x34], ecx
mov dword [edx], eax
lea eax, [ecx + esi]
cmp eax, edi
je 0x4dde80
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 4
inc eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x58]
jb 0x4ddce0
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x48]
sub edx, ecx
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x5c], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + edi*4 + 0xc]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
shr dword [esp + 0x18], 8
movzx eax, al
cmp edx, eax
cmova edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x4dde68
mov eax, dword [esp + 0x18]
lea ecx, [eax*4]
mov dword [esp + 0x18], ecx
nop word [eax + eax]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x64]
mov eax, dword [ecx + eax]
add edx, eax
mov dword [esp + 0x64], eax
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4dde4e
push dword [esp + 0x7c]
add edx, 4
lea ecx, [esi + 4]
push edi
mov edi, dword [esp + 0x4c]
push edi
call fcn.004ce270
add eax, 4
add esp, 0xc
cmp eax, dword [esp + 0x34]
jbe 0x4dde4a
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x74]
add ecx, 3
mov dword [esp + 0x34], eax
add eax, esi
mov dword [edx], ecx
cmp eax, edi
je 0x4dde68
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
add ecx, 4
mov edi, dword [esp + 0x14]
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x10]
jb 0x4dddf0
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.00511339
mov esp, ebp
pop ebp
ret