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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x110
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov edx, eax
mov dword [esp + 0x20], esi
and dl, 0x7f
mov dword [esp + 0x24], edi
cmp edx, 0x100
je 0x4959a4
cmp eax, 0xe0
je 0x4959a4
cmp eax, 0x200
jne 0x495952
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x200
mov esi, 0x74d620
lea edi, [esp + 0x50]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp edx, 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
ja 0x49524f
cmp eax, 0x1ff
jbe 0x495c00
add eax, 0xfffffe00
mov ebx, dword [ebp + 0xc]
adc edx, 0xffffffff
shrd eax, edx, 9
shr edx, 9
mov dword [esp + 8], eax
shl eax, 6
mov dword [esp + 0xc], edx
lea eax, [ebx + eax + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], eax
lea esi, [esi]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x34]
add ebx, 0x40
mov edx, dword [ebx - 8]
mov edi, dword [ebx - 0x14]
mov esi, dword [ebx - 0x10]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx - 0x3c]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], esi
mov dword [esp + 0xd4], eax
mov eax, dword [ebx - 0x38]
mov dword [esp + 0xd8], eax
mov eax, dword [ebx - 0x34]
mov dword [esp + 0xdc], eax
mov eax, dword [ebx - 0x30]
mov dword [esp + 0xe0], eax
mov eax, dword [ebx - 0x2c]
mov dword [esp + 0xe4], eax
mov eax, dword [ebx - 0x28]
mov dword [esp + 0xe8], eax
mov eax, dword [ebx - 0x24]
mov dword [esp + 0xec], eax
mov eax, dword [ebx - 0x20]
mov dword [esp + 0xf0], eax
mov eax, dword [ebx - 0x1c]
mov dword [esp + 0xf4], eax
mov eax, dword [ebx - 0x18]
mov dword [esp + 0xf8], eax
mov eax, dword [ebx - 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10c], eax
mov eax, dword [ebx - 0x40]
xor dword [esp + 0x50], eax
mov eax, dword [ebx - 0x3c]
xor dword [esp + 0x54], eax
mov eax, dword [ebx - 0x38]
xor dword [esp + 0x58], eax
mov eax, dword [ebx - 0x34]
xor dword [esp + 0x5c], eax
mov eax, dword [ebx - 0x30]
xor dword [esp + 0x60], eax
mov eax, dword [ebx - 0x2c]
xor dword [esp + 0x64], eax
mov eax, dword [ebx - 0x28]
xor dword [esp + 0x68], eax
mov eax, dword [ebx - 0x24]
xor dword [esp + 0x6c], eax
mov eax, dword [ebx - 0x20]
xor dword [esp + 0x70], eax
mov eax, dword [ebx - 0x1c]
xor dword [esp + 0x74], eax
mov eax, dword [ebx - 0x18]
xor dword [esp + 0x78], eax
mov eax, dword [esp + 0x28]
xor dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x7c], edi
xor dword [esp + 0x80], esi
xor dword [esp + 0x84], ecx
xor dword [esp + 0x88], edx
call fcn.0048f430
cmp ebx, dword [esp + 0x10]
movdqa xmm1, xmmword [esp + 0x90]
movdqa xmm0, xmmword [esp + 0xd0]
shufpd xmm1, xmmword [esp + 0xd0], 2
movdqa xmm4, xmmword [esp + 0xa0]
shufpd xmm0, xmmword [esp + 0x90], 2
movdqa xmm3, xmmword [esp + 0xf0]
pxor xmm4, xmmword [esp + 0xe0]
movdqa xmm2, xmmword [esp + 0x100]
pxor xmm3, xmmword [esp + 0xb0]
pxor xmm2, xmmword [esp + 0xc0]
movaps xmmword [esp + 0xa0], xmm4
pxor xmm0, xmm1
movaps xmmword [esp + 0xb0], xmm3
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xc0], xmm2
jne 0x495280
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], 0
add eax, 1
adc edx, 0
and ecx, 0x1ff
shld edx, eax, 6
shl eax, 6
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0xd0]
mov eax, ebx
or eax, ecx
je 0x4954d9
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
shrd ecx, ebx, 3
add edi, dword [ebp + 0xc]
and eax, 7
mov edx, ecx
test eax, eax
jne 0x495b60
cmp ecx, 4
mov ebx, esi
mov eax, edi
jae 0x495c25
xor edx, edx
test cl, 2
je 0x4954bd
movzx edx, word [eax]
mov word [ebx], dx
mov edx, 2
and ecx, 1
je 0x4954c9
movzx eax, byte [eax + edx]
mov byte [ebx + edx], al
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x28]
and eax, 0x1ff
je 0x4959f0
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
shrd ecx, ebx, 3
mov eax, ecx
and eax, 0x3f
test byte [esp + 0x40], 7
jne 0x495960
mov edx, pe_nt_image_headers32
mov edi, dword [esp + 0x1c]
sub edx, eax
cmp edx, 4
lea eax, [edi + eax + 0xa0]
jb 0x495984
lea edi, [eax + 4]
mov dword [eax], 0
mov dword [eax + edx - 4], 0
and edi, 0xfffffffc
sub eax, edi
add edx, eax
and edx, 0xfffffffc
cmp edx, 4
jb 0x495552
and edx, 0xfffffffc
xor eax, eax
mov dword [edi + eax], 0
add eax, 4
cmp eax, edx
jb 0x495544
mov edx, ecx
mov ecx, dword [esp + 0x28]
mov eax, 1
and edx, 0x3f
mov edi, esi
not ecx
and ecx, 7
shl eax, cl
or byte [esi + edx], al
mov eax, dword [esp + 0xd0]
xor dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
xor dword [esp + 0x54], eax
mov eax, dword [esp + 0xd8]
xor dword [esp + 0x58], eax
mov eax, dword [esp + 0xdc]
xor dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe0]
xor dword [esp + 0x60], eax
mov eax, dword [esp + 0xe4]
xor dword [esp + 0x64], eax
mov eax, dword [esp + 0xe8]
xor dword [esp + 0x68], eax
mov eax, dword [esp + 0xec]
xor dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf0]
xor dword [esp + 0x70], eax
mov eax, dword [esp + 0xf4]
xor dword [esp + 0x74], eax
mov eax, dword [esp + 0xf8]
xor dword [esp + 0x78], eax
mov eax, dword [esp + 0xfc]
xor dword [esp + 0x7c], eax
mov eax, dword [esp + 0x100]
xor dword [esp + 0x80], eax
mov eax, dword [esp + 0x104]
xor dword [esp + 0x84], eax
mov eax, dword [esp + 0x108]
xor dword [esp + 0x88], eax
mov eax, dword [esp + 0x10c]
xor dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
call fcn.0048f430
mov eax, dword [esp + 0xd0]
mov ecx, 0xe
xor dword [esp + 0x90], eax
mov eax, dword [esp + 0xd4]
xor dword [esp + 0x94], eax
mov eax, dword [esp + 0xd8]
xor dword [esp + 0x98], eax
mov eax, dword [esp + 0xdc]
xor dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe0]
xor dword [esp + 0xa0], eax
mov eax, dword [esp + 0xe4]
xor dword [esp + 0xa4], eax
mov eax, dword [esp + 0xe8]
xor dword [esp + 0xa8], eax
mov eax, dword [esp + 0xec]
xor dword [esp + 0xac], eax
mov eax, dword [esp + 0xf0]
xor dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf4]
xor dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf8]
xor dword [esp + 0xb8], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0xfc]
xor dword [esp + 0xbc], eax
mov eax, dword [esp + 0x100]
mov edx, esi
xor dword [esp + 0xc0], eax
mov eax, dword [esp + 0x104]
xor dword [esp + 0xc4], eax
mov eax, dword [esp + 0x108]
xor dword [esp + 0xc8], eax
mov eax, dword [esp + 0x10c]
xor dword [esp + 0xcc], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x3c]
mov ecx, esi
mov byte [esp + 0x10f], dl
mov edx, esi
mov byte [esp + 0x10e], dh
shrd ecx, edi, 0x10
mov eax, edi
mov ebx, edi
shr eax, 0x10
mov byte [esp + 0x10d], cl
mov ecx, esi
shrd ecx, edi, 0x18
mov byte [esp + 0x109], al
mov eax, edi
mov byte [esp + 0x10b], bl
shr eax, 0x18
mov byte [esp + 0x10c], cl
mov byte [esp + 0x10a], bh
mov byte [esp + 0x108], al
mov eax, dword [esp + 0x108]
xor dword [esp + 0x88], eax
mov eax, dword [esp + 0x10c]
xor dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
call fcn.0048f430
mov eax, dword [esp + 0xd0]
xor dword [esp + 0x90], eax
mov eax, dword [esp + 0xd4]
xor dword [esp + 0x94], eax
mov eax, dword [esp + 0xd8]
xor dword [esp + 0x98], eax
mov eax, dword [esp + 0xdc]
xor dword [esp + 0x9c], eax
mov eax, dword [esp + 0xe0]
xor dword [esp + 0xa0], eax
mov eax, dword [esp + 0xe4]
xor dword [esp + 0xa4], eax
mov eax, dword [esp + 0xe8]
xor dword [esp + 0xa8], eax
mov eax, dword [esp + 0xec]
xor dword [esp + 0xac], eax
mov eax, dword [esp + 0xf0]
xor dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf4]
xor dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf8]
xor dword [esp + 0xb8], eax
mov eax, dword [esp + 0xfc]
xor dword [esp + 0xbc], eax
mov eax, dword [esp + 0x100]
xor dword [esp + 0xc0], eax
mov eax, dword [esp + 0x104]
xor dword [esp + 0xc4], eax
mov eax, dword [esp + 0x108]
xor dword [esp + 0xc8], eax
mov eax, dword [esp + 0x10c]
xor dword [esp + 0xcc], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x100
je 0x495d10
jle 0x495b00
cmp eax, 0x180
je 0x495c85
cmp eax, 0x200
jne 0x495c60
mov esi, dword [ebp + 0x18]
mov eax, dword [esp + 0x90]
mov dword [esi], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0xc8]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x3c], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, 2
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x3f
je 0x495552
mov edx, 0x3f
mov edi, dword [esp + 0x1c]
sub edx, eax
cmp edx, 4
lea eax, [edi + eax + 0xa1]
jae 0x495bc0
test edx, edx
je 0x495552
test dl, 2
mov byte [eax], 0
je 0x495552
xor ebx, ebx
mov word [eax + edx - 2], bx
jmp 0x495552
cmp eax, 0x100
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], eax
je 0x495c70
jle 0x495ba0
cmp eax, 0x180
jne 0x495d6c
mov esi, 0x74d6a0
lea edi, [esp + 0x50]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x49522f
mov edi, esi
mov esi, dword [esp + 0x28]
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x2c]
mov byte [esp + 0xd0], 0x80
mov eax, esi
mov byte [esp + 0x10f], al
mov eax, esi
mov byte [esp + 0x10e], ah
mov edx, edi
shrd eax, edi, 0x10
mov byte [esp + 0x10b], dl
mov byte [esp + 0x10a], dh
mov byte [esp + 0x10d], al
mov eax, esi
shrd eax, edi, 0x18
mov byte [esp + 0x10c], al
mov eax, edi
shr eax, 0x10
mov byte [esp + 0x109], al
mov eax, edi
shr eax, 0x18
mov byte [esp + 0x108], al
mov eax, dword [esp + 0xd0]
xor dword [esp + 0x50], eax
mov eax, dword [esp + 0xd4]
xor dword [esp + 0x54], eax
mov eax, dword [esp + 0xd8]
xor dword [esp + 0x58], eax
mov eax, dword [esp + 0xdc]
xor dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe0]
xor dword [esp + 0x60], eax
mov eax, dword [esp + 0xe4]
xor dword [esp + 0x64], eax
mov eax, dword [esp + 0xe8]
xor dword [esp + 0x68], eax
mov eax, dword [esp + 0xec]
xor dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf0]
xor dword [esp + 0x70], eax
mov eax, dword [esp + 0xf4]
xor dword [esp + 0x74], eax
mov eax, dword [esp + 0xf8]
xor dword [esp + 0x78], eax
mov eax, dword [esp + 0xfc]
xor dword [esp + 0x7c], eax
mov eax, dword [esp + 0x100]
xor dword [esp + 0x80], eax
mov eax, dword [esp + 0x104]
xor dword [esp + 0x84], eax
jmp 0x495776
cmp eax, 0xe0
jne 0x495c60
mov esi, dword [ebp + 0x18]
mov eax, dword [esp + 0xb4]
mov dword [esi], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc8]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x18], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
add edx, 1
mov ebx, esi
mov eax, edi
cmp edx, 4
jae 0x495c41
xor ecx, ecx
test dl, 2
je 0x495b82
movzx ecx, word [eax]
mov word [ebx], cx
mov ecx, 2
and edx, 1
je 0x4954c9
movzx eax, byte [eax + ecx]
mov byte [ebx + ecx], al
jmp 0x4954c9
cmp eax, 0xe0
jne 0x49522f
mov esi, 0x74d7a0
lea edi, [esp + 0x50]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x49522f
lea edi, [eax + 4]
mov dword [eax], 0
mov dword [eax + edx - 4], 0
and edi, 0xfffffffc
sub eax, edi
add eax, edx
and eax, 0xfffffffc
cmp eax, 4
jb 0x495552
and eax, 0xfffffffc
mov edx, eax
xor eax, eax
mov dword [edi + eax], 0
add eax, 4
cmp eax, edx
jb 0x495beb
jmp 0x495552
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
jmp 0x49546d
and edx, 0xfffffffc
xor eax, eax
mov ebx, dword [edi + eax]
mov dword [esi + eax], ebx
add eax, 4
cmp eax, edx
jb 0x495c2a
lea ebx, [esi + eax]
add eax, edi
jmp 0x4954ab
mov ecx, edx
xor eax, eax
and ecx, 0xfffffffc
mov ebx, dword [edi + eax]
mov dword [esi + eax], ebx
add eax, 4
cmp eax, ecx
jb 0x495c48
lea ebx, [esi + eax]
add eax, edi
jmp 0x495b70
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, str.A_
lea edi, [esp + 0x50]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
jmp 0x49522f
mov esi, dword [ebp + 0x18]
mov eax, dword [esp + 0xa0]
mov dword [esi], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0xc8]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x2c], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0x18]
mov eax, dword [esp + 0xb0]
mov dword [esi], eax
mov eax, dword [esp + 0xb4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xc8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xcc]
mov dword [esi + 0x1c], eax
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x200
jne 0x49522f
jmp 0x49521f