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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ecx, 0x15
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xe4]
mov dword [eax], ebp
mov eax, dword [esp + 0xd8]
cmp eax, 0x38
jbe 0x4a91f5
pop edi
pop esi
pop ebp
mov ax, 0x1d10
pop ebx
add esp, 0xb4
ret
cmp eax, ebp
lea edi, [esp + 0x74]
je 0x4a9204
mov edi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xc8]
push ebx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x20], ecx
call fcn.004a9a30
add esp, 4
test al, al
jne 0x4a983b
test byte [ebx], 2
je 0x4a944e
lea edx, [esp + 0x2a]
push 2
push edx
mov dword [esp + 0x28], 0x48
mov byte [esp + 0x2c], 7
call fcn.004a1990
mov al, byte [esp + 0xcc]
mov cl, byte [esp + 0xd0]
mov dl, byte [edi]
mov byte [esp + 0x2c], al
mov al, byte [edi + 1]
mov byte [esp + 0x2d], cl
mov cl, byte [edi + 2]
mov byte [esp + 0x2f], al
mov byte [esp + 0x2e], dl
mov dl, byte [edi + 3]
lea eax, [esp + 0x32]
push 2
push eax
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], dl
call fcn.004a1990
mov eax, dword [esp + 0xd8]
cmp eax, 4
jbe 0x4a92b5
lea ecx, [eax - 4]
lea esi, [edi + 4]
mov edx, ecx
lea edi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + eax + 0x30]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x39
sub ecx, eax
push ecx
push edx
jmp 0x4a92bc
lea eax, [esp + 0x34]
push 0x35
push eax
call fcn.004a1990
mov eax, dword [esp + 0xd8]
cmp eax, 4
jbe 0x4a92d5
sub al, 4
mov byte [esp + 0x69], al
jmp 0x4a92da
mov byte [esp + 0x69], 0
mov cl, byte [esp + 0x32]
mov dl, byte [esp + 0x33]
mov byte [esp + 0x6a], cl
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x5c]
mov byte [esp + 0x6b], dl
push eax
push ecx
call fcn.004a8e50
add esp, 8
xor eax, eax
mov dl, byte [esp + eax + 0x4c]
mov cl, byte [esp + eax + 0x5c]
xor cl, dl
mov byte [esp + eax + 0x5c], cl
inc eax
cmp eax, 0x10
jb 0x4a92fd
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x4c]
push eax
push ecx
call fcn.004a8e50
add esp, 8
xor eax, eax
mov dl, byte [esp + eax + 0x3c]
mov cl, byte [esp + eax + 0x4c]
xor cl, dl
mov byte [esp + eax + 0x4c], cl
inc eax
cmp eax, 0x10
jb 0x4a9324
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.004a8e50
add esp, 8
xor eax, eax
mov dl, byte [esp + eax + 0x2c]
mov cl, byte [esp + eax + 0x3c]
xor cl, dl
mov byte [esp + eax + 0x3c], cl
inc eax
cmp eax, 0x10
jb 0x4a934b
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.004a8e50
lea edx, [esp + 0x2c]
push edx
call fcn.004b7600
mov ebp, dword [esp + 0xe8]
add esp, 0xc
test ebp, ebp
jne 0x4a9398
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push ebp
push ebp
push 0x58
push ecx
jmp 0x4a960a
lea edx, [esp + 0x14]
lea eax, [esp + 0x74]
push edx
push 0x48
push eax
lea ecx, [esp + 0x28]
push 0x58
push ecx
push 0x22000c
call fcn.004a8fa0
add esp, 0x18
mov dword [esp + 0x10], eax
test al, al
jne 0x4a982d
cmp dword [esp + 0x14], 0x48
je 0x4a93e3
push ebx
call fcn.004a9a60
add esp, 4
mov ax, 0x1d0d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
mov edx, dword [ebx + 0x30]
lea eax, [esp + 0x74]
push edx
push eax
call fcn.004a9030
add esp, 8
mov dword [esp + 0x10], eax
test al, al
jne 0x4a982d
mov ecx, dword [esp + 0xe4]
mov edi, dword [esp + 0xe0]
mov edx, dword [esp + 0xdc]
mov eax, ebp
lea ebp, [esp + 0x76]
xor esi, esi
mov dword [ecx], edi
sub ebp, edx
test edi, edi
jbe 0x4a9432
mov cl, byte [eax + ebp]
inc esi
mov byte [eax], cl
inc eax
dec edi
cmp esi, 4
jb 0x4a9421
mov ecx, edi
lea edi, [edx + 4]
mov edx, ecx
lea esi, [esp + 0x7c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4a982d
mov al, byte [ebx + 0xc]
mov dword [esp + 0x20], 8
test al, 4
mov eax, dword [esp + 0xd8]
mov esi, 4
je 0x4a953e
cmp eax, esi
jbe 0x4a95a7
mov al, byte [esp + 0xcc]
mov cl, byte [esp + 0xd0]
mov dl, byte [edi]
mov byte [esp + 0x24], al
mov al, byte [edi + 1]
mov byte [esp + 0x25], cl
mov cl, byte [edi + 2]
mov byte [esp + 0x27], al
mov byte [esp + 0x26], dl
mov dl, byte [edi + 3]
lea eax, [esp + 0x2a]
push 2
push eax
mov byte [esp + 0x30], cl
mov byte [esp + 0x31], dl
call fcn.004a1990
cmp dword [esp + 0xd8], esi
jbe 0x4a951a
lea ebp, [esp + 0x2e]
mov ecx, dword [esp + 0x20]
push 2
add ecx, 8
inc esi
mov dword [esp + 0x24], ecx
mov cl, byte [esi + edi - 1]
mov byte [ebp - 2], cl
mov dl, byte [esi + edi]
inc esi
mov byte [ebp - 1], dl
mov al, byte [esi + edi]
inc esi
mov byte [ebp], al
mov cl, byte [esi + edi]
inc esi
mov byte [ebp + 1], cl
lea ecx, [ebp + 4]
mov dl, byte [esi + edi]
inc esi
mov byte [ebp + 2], dl
push ecx
mov al, byte [esi + edi]
inc esi
mov byte [ebp + 3], al
call fcn.004a1990
lea eax, [ebp - 2]
push eax
call fcn.004b7600
mov eax, dword [esp + 0xdc]
add esp, 4
add ebp, 8
cmp esi, eax
jb 0x4a94bf
mov eax, dword [esp + 0xd8]
xor edx, edx
mov ecx, 6
div ecx
mov al, byte [esp + 0x2a]
and al, 0xf9
add dl, 2
or dl, al
mov byte [esp + 0x2a], dl
jmp 0x4a95e4
cmp eax, esi
jbe 0x4a95a7
mov eax, 0xfffffffe
lea esi, [edi + 6]
sub eax, edi
mov dword [esp + 0x18], eax
jmp 0x4a9556
mov eax, dword [esp + 0x18]
mov ebp, dword [ebx]
lea edx, [esp + 0x74]
mov ecx, ebp
push edx
and ecx, 0xfffffff3
xor edx, edx
mov dword [ebx], ecx
mov dh, byte [esi - 1]
mov dl, byte [esi - 2]
xor ecx, ecx
mov ch, byte [esi + 1]
lea eax, [eax + esi - 4]
mov cl, byte [esi]
push ecx
push edx
push eax
push 3
push ebx
call fcn.004a9850
add esp, 0x18
mov dword [esp + 0x10], eax
test al, al
mov dword [ebx], ebp
jne 0x4a982d
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xd8]
add esi, 4
add ecx, esi
cmp ecx, eax
jb 0x4a9552
mov dl, byte [esp + 0xcc]
mov al, byte [esp + 0xd0]
mov cl, byte [edi]
mov byte [esp + 0x24], dl
mov dl, byte [edi + 1]
mov byte [esp + 0x25], al
mov al, byte [edi + 2]
mov byte [esp + 0x27], dl
mov byte [esp + 0x26], cl
mov cl, byte [edi + 3]
lea edx, [esp + 0x2a]
push 2
push edx
mov byte [esp + 0x30], al
mov byte [esp + 0x31], cl
call fcn.004a1990
lea eax, [esp + 0x24]
push eax
call fcn.004b7600
mov ebp, dword [esp + 0xe0]
add esp, 4
test ebp, ebp
jne 0x4a962d
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1c]
push ecx
push ebp
push ebp
push 0x58
push edx
push 0x22000c
call fcn.004a8fa0
push ebx
mov esi, eax
call fcn.004a9a60
add esp, 0x1c
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
test byte [ebx + 0xc], 4
je 0x4a9731
mov eax, dword [esp + 0xe0]
cmp eax, 4
jbe 0x4a9731
lea ecx, [eax + 7]
mov eax, 0xaaaaaaab
mul ecx
mov esi, edx
lea edx, [esp + 0x14]
shr esi, 2
shl esi, 3
push edx
lea eax, [esp + 0x78]
push esi
push eax
lea ecx, [esp + 0x28]
push 0x58
push ecx
push 0x22000c
call fcn.004a8fa0
add esp, 0x18
mov dword [esp + 0x10], eax
test al, al
jne 0x4a982d
cmp dword [esp + 0x14], esi
je 0x4a96a2
push ebx
call fcn.004a9a60
add esp, 4
mov ax, 0x1d0d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret
lea edx, [esp + 0x74]
push 0
push edx
call fcn.004a9030
add esp, 8
mov dword [esp + 0x10], eax
test al, al
jne 0x4a982d
mov cl, byte [esp + 0x77]
mov al, byte [esp + 0x76]
mov dl, byte [esp + 0x78]
mov byte [ebp + 1], cl
mov ecx, dword [esp + 0xe0]
mov byte [ebp], al
mov al, byte [esp + 0x79]
mov edi, 4
cmp ecx, edi
mov byte [ebp + 2], dl
mov byte [ebp + 3], al
mov esi, 8
jbe 0x4a9723
mov eax, esi
and eax, 7
mov dword [esp + 0x18], eax
jne 0x4a9711
lea ecx, [esp + esi + 0x74]
push ecx
call fcn.004b7600
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe4]
add esp, 4
cmp eax, 6
jae 0x4a971e
mov dl, byte [esp + esi + 0x74]
mov byte [edi + ebp], dl
inc edi
inc esi
cmp edi, ecx
jb 0x4a96ee
mov eax, dword [esp + 0xe4]
mov dword [eax], ecx
jmp 0x4a982d
lea ecx, [esp + 0x14]
lea edx, [esp + 0x74]
push ecx
push 8
push edx
lea eax, [esp + 0x28]
push 0x58
push eax
push 0x22000c
call fcn.004a8fa0
add esp, 0x18
mov dword [esp + 0x10], eax
test al, al
jne 0x4a982d
cmp dword [esp + 0x14], 8
je 0x4a976e
mov dword [esp + 0x10], 0x1d0d
jmp 0x4a9781
lea ecx, [esp + 0x74]
push 0
push ecx
call fcn.004a9030
add esp, 8
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x10]
test al, al
jne 0x4a982d
lea edi, [esp + 0x76]
xor esi, esi
mov eax, ebp
sub edi, ebp
mov ecx, dword [esp + 0xe0]
test ecx, ecx
jbe 0x4a97c9
mov dl, byte [edi + eax]
mov ecx, dword [esp + 0xe4]
mov byte [eax], dl
mov edx, dword [ecx]
inc edx
inc esi
mov dword [ecx], edx
mov edx, dword [esp + 0xe0]
inc eax
dec edx
cmp esi, 4
mov dword [esp + 0xe0], edx
jb 0x4a9797
xor edi, edi
add ebp, 4
cmp edi, dword [esp + 0xe0]
jae 0x4a982d
mov esi, dword [ebx]
lea ecx, [esp + 0x74]
push ecx
push 0
mov eax, esi
push 0
push edi
and al, 0xf3
push 2
push ebx
mov dword [ebx], eax
call fcn.004a9850
add esp, 0x18
mov dword [esp + 0x10], eax
test al, al
mov dword [ebx], esi
jne 0x4a982d
xor eax, eax
cmp eax, dword [esp + 0xe0]
jae 0x4a9822
mov dl, byte [esp + eax + 0x76]
mov ecx, dword [esp + 0xe4]
mov byte [eax + ebp], dl
mov esi, dword [ecx]
inc esi
inc eax
cmp eax, 4
mov dword [ecx], esi
jb 0x4a9800
add edi, 4
add ebp, 4
cmp edi, 0x40
jb 0x4a97ce
push ebx
call fcn.004a9a60
mov ax, word [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret