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

Disassembly:
sub esp, 0xf8
xor edx, edx
push ebx
push ebp
mov ebp, dword [esp + 0x104]
push esi
push edi
mov edi, dword [esp + 0x110]
mov ebx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov eax, ebp
mov esi, edi
mov ecx, dword [eax]
inc dword [esp + ecx*4 + 0x48]
lea ecx, [esp + ecx*4 + 0x48]
add eax, 4
dec esi
jne 0x4a8726
cmp dword [esp + 0x48], edi
jne 0x4a8754
mov eax, dword [esp + 0x120]
mov dword [eax], edx
mov dword [ebx], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov edi, dword [ebx]
mov dword [esp + 0x10], edi
mov ecx, 1
nop
cmp dword [esp + ecx*4 + 0x48], edx
jne 0x4a876c
inc ecx
cmp ecx, 0xf
jbe 0x4a8760
mov dword [esp + 0x14], ecx
cmp edi, ecx
jae 0x4a877a
mov dword [esp + 0x10], ecx
mov edi, ecx
mov eax, 0xf
nop
cmp dword [esp + eax*4 + 0x48], edx
jne 0x4a8789
dec eax
jne 0x4a8780
mov dword [esp + 0x3c], eax
cmp edi, eax
jbe 0x4a8797
mov dword [esp + 0x10], eax
mov edi, eax
mov esi, 1
shl esi, cl
mov dword [ebx], edi
cmp ecx, eax
jae 0x4a87b5
sub esi, dword [esp + ecx*4 + 0x48]
js 0x4a8899
inc ecx
add esi, esi
cmp ecx, eax
jb 0x4a87a4
lea ecx, [eax*4]
lea ebx, [esp + ecx + 0x48]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx]
sub esi, ecx
mov dword [esp + 0x40], esi
js 0x4a8899
add ecx, esi
mov dword [ebx], ecx
xor ecx, ecx
dec eax
mov dword [esp + 0x8c], edx
je 0x4a87f5
xor esi, esi
add ecx, dword [esp + esi + 0x4c]
add esi, 4
dec eax
mov dword [esp + esi + 0x8c], ecx
jne 0x4a87e4
mov ebx, ebp
xor esi, esi
lea esp, [esp]
mov eax, dword [ebx]
add ebx, 4
cmp eax, edx
je 0x4a8825
mov ecx, dword [esp + eax*4 + 0x88]
mov ebp, dword [esp + 0x12c]
lea eax, [esp + eax*4 + 0x88]
mov dword [ebp + ecx*4], esi
inc ecx
mov dword [eax], ecx
inc esi
cmp esi, dword [esp + 0x110]
jb 0x4a8800
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + ecx + 0x88]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov ebx, edi
or ebp, 0xffffffff
neg ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0xcc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edx
cmp ecx, eax
jg 0x4a8b02
mov esi, dword [esp + 0x2c]
lea ecx, [esp + ecx*4 + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
cmp ecx, edx
je 0x4a8aef
jmp 0x4a88b4
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret
mov ecx, dword [esp + 0x30]
dec ecx
lea eax, [ebx + edi]
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x14], eax
jle 0x4a89d1
inc ecx
sub ebx, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], ebx
jmp 0x4a88d7
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x38], edi
mov ebx, eax
mov eax, dword [esp + 0x10]
inc ebp
sub edx, ebx
mov dword [esp + 0x18], ebp
cmp edx, eax
jbe 0x4a88f2
mov edx, eax
mov ecx, dword [esp + 0x14]
sub ecx, ebx
mov eax, 1
shl eax, cl
cmp eax, dword [esp + 0x44]
jbe 0x4a8937
mov ebp, dword [esp + 0x24]
or edi, 0xffffffff
sub edi, dword [esp + 0x30]
add eax, edi
cmp ecx, edx
jae 0x4a8933
inc ecx
cmp ecx, edx
jae 0x4a8933
jmp 0x4a8920
mov edi, dword [ebp + 4]
add ebp, 4
add eax, eax
cmp eax, edi
jbe 0x4a8933
inc ecx
sub eax, edi
cmp ecx, edx
jb 0x4a8920
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x128]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
mov dword [esp + 0x18], edx
add edx, eax
cmp edx, 0x5a0
ja 0x4a8899
mov edi, dword [esp + 0x124]
lea edi, [edi + eax*8]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x20], edi
mov dword [esp + ebp*4 + 0xcc], edi
mov dword [eax], edx
test ebp, ebp
je 0x4a89b7
mov esi, dword [esp + 0x1c]
mov dl, byte [esp + 0x10]
mov eax, esi
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x38]
mov dword [esp + ebp*4 + 0x88], esi
shr eax, cl
mov ecx, dword [esp + ebp*4 + 0xc8]
mov esi, edi
sub esi, ecx
mov byte [esp + 0x29], dl
mov edx, dword [esp + 0x28]
sar esi, 3
sub esi, eax
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
jmp 0x4a89c0
mov eax, dword [esp + 0x120]
mov dword [eax], edi
mov ecx, dword [esp + 0x10]
lea eax, [ebx + ecx]
cmp dword [esp + 0x14], eax
jg 0x4a88d3
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x12c]
mov edi, dword [esp + 0x34]
mov al, dl
sub al, bl
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x110]
lea ecx, [ecx + eax*4]
cmp edi, ecx
jb 0x4a89fd
mov byte [esp + 0x28], 0xc0
jmp 0x4a8a47
mov eax, dword [edi]
mov ecx, dword [esp + 0x114]
cmp eax, ecx
jae 0x4a8a1f
cmp eax, 0x100
sbb cl, cl
and cl, 0xa0
add cl, 0x60
mov byte [esp + 0x28], cl
mov esi, eax
jmp 0x4a8a40
sub eax, ecx
mov ecx, dword [esp + 0x11c]
add eax, eax
add eax, eax
mov cl, byte [eax + ecx]
add cl, 0x50
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x118]
mov esi, dword [eax + ecx]
add edi, 4
mov dword [esp + 0x34], edi
mov ecx, edx
mov edx, dword [esp + 0x1c]
sub ecx, ebx
mov edi, 1
shl edi, cl
mov eax, edx
mov ecx, ebx
shr eax, cl
cmp eax, dword [esp + 0x18]
jae 0x4a8a87
mov edx, dword [esp + 0x20]
lea ecx, [edx + eax*8]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
lea edx, [edi*8]
mov dword [ecx + 4], esi
add eax, edi
add ecx, edx
cmp eax, dword [esp + 0x18]
jb 0x4a8a69
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, 1
shl eax, cl
test edx, eax
je 0x4a8a9f
xor edx, eax
shr eax, 1
test edx, eax
jne 0x4a8a97
xor edx, eax
mov eax, 1
mov ecx, ebx
shl eax, cl
mov dword [esp + 0x1c], edx
dec eax
and eax, edx
cmp eax, dword [esp + ebp*4 + 0x88]
je 0x4a8ada
lea ebx, [ebx]
sub ebx, dword [esp + 0x10]
mov eax, 1
mov ecx, ebx
shl eax, cl
dec ebp
dec eax
and eax, edx
cmp eax, dword [esp + ebp*4 + 0x88]
jne 0x4a8ac0
cmp dword [esp + 0x30], 0
mov edi, dword [esp + 0x10]
jne 0x4a88b0
mov eax, dword [esp + 0x3c]
xor edx, edx
inc dword [esp + 0x14]
add dword [esp + 0x24], 4
cmp dword [esp + 0x14], eax
jle 0x4a8889
cmp dword [esp + 0x40], edx
je 0x4a8747
cmp eax, 1
je 0x4a8747
pop edi
pop esi
pop ebp
mov eax, 0xfffffffb
pop ebx
add esp, 0xf8
ret