Function at 0x48d1a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff838
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7c8], ecx
mov dword [ebp - 0x7c4], ecx
mov dword [ebp - 0x7c0], ecx
mov dword [ebp - 0x7bc], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fcc
xor eax, eax
push ebp
push 0x48d736
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor edi, edi
push ebp
push 0x48d701
push dword fs:[edi]
mov dword fs:[edi], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.00408fc8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x48d21c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00409078
mov eax, ebx
xor edx, edx
push edx
push eax
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.00409084
lea edx, [ebp - 0x7b8]
mov ecx, 0x638
mov eax, dword [ebp - 0x18]
call fcn.00409020
mov byte [0x4a356c], 0
mov byte [0x4a356d], 0
cmp byte [0x4a356c], 0
je 0x48d269
mov byte [ebp - 0x554], 0
cmp byte [0x4a356d], 0
je 0x48d279
mov byte [ebp - 0x553], 0
lea eax, [ebp - 0x7bc]
lea edx, [ebp - 0x7b8]
mov ecx, 7
call fcn.00404dbc
mov eax, dword [ebp - 0x7bc]
mov edx, 0x48d750
call fcn.00404f74
je 0x48d2b7
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
cmp word [ebp - 0x7b0], 0x160
jbe 0x48d2eb
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
push 0x10
push 0x48d758
push 0x48d76c
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
cmp byte [ebp - 0x59c], 0
je 0x48d3fe
mov ecx, dword [0x49d7c4]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x48c2a4]
call fcn.0045858c
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xfc]
dec eax
jne 0x48d3da
lea edx, [ebp - 8]
mov eax, dword [esi + 0x360]
call fcn.00443cec
mov al, 0x58
mov dl, 0x9e
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x48d33d
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x48d366
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [ecx + ebx - 1]
mov bl, 0xff
sub bl, cl
xor al, bl
xor dl, al
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x48d34b
movzx eax, al
movzx edx, dl
shl edx, 8
add eax, edx
movzx edx, word [ebp - 0x59a]
cmp eax, edx
je 0x48d3cb
push 0x10
lea edx, [ebp - 0x7c0]
mov eax, dword [0x49d7c4]
mov eax, dword [eax]
call fcn.004615c8
mov eax, dword [ebp - 0x7c0]
call fcn.00404fdc
push eax
push 0x48d7e4
mov eax, esi
call fcn.0044bc84
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, esi
call fcn.00403c6c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
mov eax, 0x4a3518
mov edx, dword [ebp - 8]
call fcn.00404ba0
jmp 0x48d3f7
mov eax, esi
call fcn.00403c6c
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
mov eax, esi
call fcn.00403c6c
lea esi, [ebp - 0x7b8]
mov edi, 0x4a2ed4
mov ecx, 0x18e
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4a30e8]
push eax
mov eax, 0x4a350c
mov ecx, 1
mov edx, dword [0x48c4cc]
call fcn.00405c08
add esp, 4
mov eax, dword [0x4a30e8]
push eax
mov eax, 0x4a3510
mov ecx, 1
mov edx, dword [0x48c4f0]
call fcn.00405c08
add esp, 4
mov eax, dword [0x4a30e8]
mov dword [0x4a3514], eax
dec eax
test eax, eax
jl 0x48d6ea
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x180]
mov ecx, 0x160
mov eax, dword [ebp - 0x18]
call fcn.00409020
mov dl, 1
mov eax, dword [0x4130fc]
call fcn.00403c3c
mov esi, eax
imul ebx, dword [ebp - 0x14], 0x2c
mov eax, dword [0x4a350c]
mov dword [eax + ebx*8 + 0x140], esi
mov eax, esi
mov edx, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 4]
push 0
push 0
mov eax, dword [0x4a350c]
mov eax, dword [eax + ebx*8 + 0x140]
call fcn.00417438
mov eax, dword [0x4a350c]
mov eax, dword [eax + ebx*8 + 0x140]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00409020
push 0
push 0
mov eax, dword [0x4a350c]
mov eax, dword [eax + ebx*8 + 0x140]
call fcn.00417438
cmp byte [0x4a30f0], 0
je 0x48d509
mov eax, dword [0x4a350c]
mov eax, dword [eax + ebx*8 + 0x140]
mov edx, dword [0x4a3518]
call fcn.0048d82c
mov eax, dword [0x4a350c]
lea eax, [eax + ebx*8]
lea edx, [ebp - 0x180]
mov cl, 0x1e
call fcn.00403498
mov eax, dword [0x4a350c]
lea eax, [eax + ebx*8 + 0x1f]
lea edx, [ebp - 0x161]
mov cl, 0x14
call fcn.00403498
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x148]
mov dword [eax + ebx*8 + 0x38], edx
mov edx, dword [ebp - 0x144]
mov dword [eax + ebx*8 + 0x3c], edx
mov eax, dword [0x4a350c]
lea eax, [eax + ebx*8 + 0x40]
lea edx, [ebp - 0x140]
call fcn.0040348c
mov eax, dword [0x4a3510]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [eax + edx*4], ecx
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x140]
call fcn.00404db0
mov edx, dword [ebp - 0xc]
mov eax, edx
test eax, eax
je 0x48d58a
sub eax, 4
mov eax, dword [eax]
cmp eax, 8
jle 0x48d64c
mov eax, edx
test eax, eax
je 0x48d59e
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + eax - 9], 0x24
jne 0x48d64c
xor eax, eax
push ebp
push 0x48d5ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edx
test ebx, ebx
je 0x48d5c5
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x7c4]
push eax
mov edx, ebx
sub edx, 8
mov ecx, 9
mov eax, dword [ebp - 0xc]
call fcn.00405044
mov eax, dword [ebp - 0x7c4]
call fcn.00408d58
mov edx, dword [0x4a3510]
mov ecx, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d609
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x48d615
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x7c8]
push eax
mov ecx, ebx
sub ecx, 9
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405044
mov edx, dword [ebp - 0x7c8]
imul eax, dword [ebp - 0x14], 0x2c
mov ecx, dword [0x4a350c]
lea eax, [ecx + eax*8 + 0x40]
mov ecx, 0xff
call fcn.00404de8
imul ebx, dword [ebp - 0x14], 0x2c
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x34]
mov dword [eax + ebx*8 + 0x144], edx
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x30]
mov dword [eax + ebx*8 + 0x148], edx
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x24]
mov dword [eax + ebx*8 + 0x15c], edx
mov eax, dword [0x4a350c]
movzx edx, byte [ebp - 0x38]
mov byte [eax + ebx*8 + 0x14c], dl
mov eax, dword [0x4a350c]
lea eax, [eax + ebx*8 + 0x150]
mov edx, dword [ebp - 4]
call fcn.00404ba0
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x2c]
mov dword [eax + ebx*8 + 0x154], edx
mov eax, dword [0x4a350c]
mov edx, dword [ebp - 0x28]
mov dword [eax + ebx*8 + 0x158], edx
mov eax, dword [0x4a350c]
cmp byte [eax + ebx*8 + 0x14c], 0
je 0x48d6de
mov ecx, 1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
call fcn.00409078
inc dword [ebp - 0x14]
dec dword [ebp - 0x1c]
jne 0x48d46a
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48d70b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d73d
lea eax, [ebp - 0x7c8]
mov edx, 4
call fcn.00404b70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b70
ret