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

Disassembly:
sub esp, 0x57c
push ebx
push ebp
mov ebp, dword [esp + 0x588]
push esi
xor esi, esi
push edi
mov edi, ecx
mov ebx, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov eax, edi
mov edx, ebp
jmp 0x65247450
mov ecx, dword [eax]
inc dword [esp + ecx*4 + 0x50]
lea ecx, [esp + ecx*4 + 0x50]
add eax, 4
dec edx
jne 0x65247450
cmp dword [esp + 0x50], ebp
jne 0x6524747e
mov eax, dword [esp + 0x5a0]
mov dword [eax], esi
mov dword [ebx], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x57c
ret
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
mov ecx, 1
lea esp, [esp]
cmp dword [esp + ecx*4 + 0x50], esi
jne 0x652474c8
cmp dword [esp + ecx*4 + 0x54], esi
jne 0x652474b8
cmp dword [esp + ecx*4 + 0x58], esi
jne 0x652474bb
cmp dword [esp + ecx*4 + 0x5c], esi
jne 0x652474c0
cmp dword [esp + ecx*4 + 0x60], esi
jne 0x652474c5
add ecx, 5
cmp ecx, 0xf
jbe 0x65247490
jmp 0x652474c8
inc ecx
jmp 0x652474c8
add ecx, 2
jmp 0x652474c8
add ecx, 3
jmp 0x652474c8
add ecx, 4
cmp edx, ecx
mov dword [esp + 0x10], ecx
jae 0x652474d6
mov edx, ecx
mov dword [esp + 0x14], edx
mov eax, 0xf
jmp 0x652474e0
cmp dword [esp + eax*4 + 0x50], esi
jne 0x652474e9
dec eax
jne 0x652474e0
cmp edx, eax
mov dword [esp + 0x2c], eax
jbe 0x652474f7
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [ebx], edx
mov ebx, 1
shl ebx, cl
cmp ecx, eax
jae 0x65247511
sub ebx, dword [esp + ecx*4 + 0x50]
js 0x6524751d
inc ecx
shl ebx, 1
cmp ecx, eax
jb 0x65247504
mov ecx, dword [esp + eax*4 + 0x50]
sub ebx, ecx
mov dword [esp + 0x4c], ebx
jns 0x6524752d
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x57c
ret
add ecx, ebx
mov dword [esp + eax*4 + 0x50], ecx
xor ecx, ecx
dec eax
mov dword [esp + 0x94], esi
je 0x65247552
xor edx, edx
add ecx, dword [esp + edx + 0x54]
add edx, 4
dec eax
mov dword [esp + edx + 0x94], ecx
jne 0x65247541
xor edx, edx
mov eax, dword [edi]
add edi, 4
cmp eax, esi
je 0x65247575
mov ecx, dword [esp + eax*4 + 0x90]
lea eax, [esp + eax*4 + 0x90]
mov dword [esp + ecx*4 + 0x10c], edx
inc ecx
mov dword [eax], ecx
inc edx
cmp edx, ebp
jb 0x65247554
mov eax, dword [esp + 0x14]
neg eax
lea ecx, [esp + 0x10c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x48], ebp
jg 0x65247874
lea edx, [eax - 1]
lea eax, [esp + eax*4 + 0x50]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
lea ecx, [ecx]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x30], eax
je 0x65247845
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
add eax, edx
cmp ecx, eax
jle 0x6524771f
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov ecx, edx
sub eax, ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
add edx, eax
add ecx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
inc edi
add ebp, eax
sub edx, ecx
cmp edx, eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], ebp
jbe 0x65247644
mov edx, eax
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
sub ebx, ecx
mov ecx, ebx
mov eax, 1
shl eax, cl
lea ecx, [esi + 1]
cmp eax, ecx
jbe 0x65247685
or ecx, 0xffffffff
sub ecx, esi
mov esi, dword [esp + 0x28]
add eax, ecx
cmp ebx, edx
jae 0x65247685
inc ebx
cmp ebx, edx
jae 0x65247685
mov ecx, dword [esi + 4]
add esi, 4
shl eax, 1
cmp eax, ecx
jbe 0x65247685
sub eax, ecx
inc ebx
cmp ebx, edx
jb 0x65247672
mov ebp, dword [esp + 0x5a4]
mov eax, dword [ebp + 0x28]
mov ecx, ebx
mov esi, 1
shl esi, cl
push 8
lea edx, [esi + 1]
push edx
push eax
call dword [ebp + 0x20]
add esp, 0xc
test eax, eax
je 0x65247897
mov edx, dword [esp + 0x5a0]
lea ecx, [eax + 8]
add eax, 4
test edi, edi
mov ebp, ecx
mov dword [edx], ecx
mov dword [esp + 0x5a0], eax
mov dword [eax], 0
mov dword [esp + 0x48], ebp
mov dword [esp + edi*4 + 0xd0], ebp
je 0x65247711
mov ecx, dword [esp + 0x1c]
mov al, byte [esp + 0x14]
mov edx, ecx
mov dword [esp + edi*4 + 0x90], ecx
mov ecx, dword [esp + 0x40]
shr edx, cl
mov ecx, dword [esp + edi*4 + 0xcc]
mov byte [esp + 0x21], al
mov byte [esp + 0x20], bl
mov ebx, dword [esp + 0x20]
mov eax, ebp
mov dword [ecx + edx*8], ebx
mov dword [esp + 0x24], eax
mov dword [ecx + edx*8 + 4], eax
mov edx, dword [esp + 0x3c]
cmp dword [esp + 0x10], edx
jg 0x65247611
mov al, byte [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x590]
mov edx, dword [esp + 0x34]
sub al, bl
mov byte [esp + 0x21], al
lea eax, [esp + ecx*4 + 0x10c]
cmp edx, eax
jb 0x6524774a
mov byte [esp + 0x20], 0xc0
jmp 0x65247795
mov eax, dword [edx]
mov ecx, dword [esp + 0x594]
cmp eax, ecx
jae 0x6524776a
cmp eax, 0x100
setb cl
dec cl
and ecx, 0x60
mov byte [esp + 0x20], cl
jmp 0x6524778a
sub eax, ecx
mov ecx, dword [esp + 0x59c]
shl eax, 2
mov cl, byte [eax + ecx]
add cl, 0x50
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x598]
mov eax, dword [eax + ecx]
add edx, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub ecx, ebx
mov edx, 1
shl edx, cl
mov ecx, ebx
shr eax, cl
cmp eax, esi
jae 0x652477dd
lea edi, [edx*8]
lea ecx, [ebp + eax*8]
lea esp, [esp]
mov ebp, dword [esp + 0x20]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x24]
mov dword [ecx + 4], ebp
add eax, edx
add ecx, edi
cmp eax, esi
jb 0x652477c0
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov eax, 1
shl eax, cl
test edx, eax
je 0x652477f8
xor edx, eax
shr eax, 1
test edx, eax
jne 0x652477f0
xor edx, eax
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + edi*4 + 0x90]
mov dword [esp + 0x1c], edx
dec eax
and eax, edx
cmp eax, ecx
je 0x65247839
sub ebx, dword [esp + 0x14]
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + edi*4 + 0x8c]
dec edi
dec eax
and eax, edx
cmp eax, ecx
jne 0x65247815
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x652475e2
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
inc eax
add ebx, 4
inc edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], edx
jle 0x652475d0
mov ebx, dword [esp + 0x4c]
xor esi, esi
cmp ebx, esi
je 0x65247471
cmp dword [esp + 0x2c], 1
je 0x65247471
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0x57c
ret
test edi, edi
je 0x652478d7
mov ecx, dword [esp + 0xd0]
xor eax, eax
test ecx, ecx
je 0x652478d7
mov edx, dword [ecx - 4]
test edx, edx
mov dword [ecx - 4], eax
mov eax, ecx
mov ecx, edx
jne 0x652478a8
test eax, eax
je 0x652478d7
lea ebx, [ebx]
mov ecx, dword [ebp + 0x28]
mov esi, dword [eax - 4]
sub eax, 8
push eax
push ecx
call dword [ebp + 0x24]
add esp, 8
test esi, esi
mov eax, esi
jne 0x652478c0
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x57c
ret