joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4863e4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x486416
mov ecx, dword [0x529f24]
mov dl, 1
mov eax, dword [0x485098]
call fcn.0040d558
call fcn.00404a78
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x486447
mov ecx, dword [0x529e5c]
mov dl, 1
mov eax, dword [0x485098]
call fcn.0040d558
call fcn.00404a78
xor eax, eax
push ebp
push 0x4864c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404400
cmp byte [ebp + 8], 0
je 0x4864a0
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00486338
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00486104
jmp 0x4864bb
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00485b50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4864e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x486738
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00485e48
xor eax, eax
push ebp
push 0x4868b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4868a0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x486783
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48678d
call fcn.00404b24
jmp 0x4868bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bbd0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x486895
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x486843
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x486830
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404400
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004866f0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4868c8]
cmp dl, byte [eax + 0x28]
je 0x48689c
call fcn.0040d470
jmp 0x48689c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bbf0
jmp 0x48689c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x486864
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bbf0
jmp 0x48678d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041bbd0
cmp edx, dword [esp + 4]
jne 0x486884
cmp eax, dword [esp]
pop edx
pop eax
jne 0x48678d
push ebp
call fcn.004866f0
pop ecx
jmp 0x48689c
push ebp
call fcn.004866f0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4868bd
mov eax, dword [ebp - 4]
call fcn.00485e60
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4868cc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4869f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485e48
xor eax, eax
push ebp
push 0x4869d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48691e
call fcn.00404b24
jmp 0x4869e0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4869c3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4869c3
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404400
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x4869c3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040cc58
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x486a10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x52a10c]
mov dl, 1
mov eax, dword [0x485098]
call fcn.0040d594
call fcn.00404a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4869e0
mov eax, dword [ebp - 4]
call fcn.00485e60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4869fd
lea eax, [ebp - 0x30]
call fcn.00405030
ret
Function at 0x486a88
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486bdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00485e48
xor eax, eax
push ebp
push 0x486bbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x486af0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x486af0
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x486ba8
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x486b03
call fcn.00404b24
jmp 0x486bc5
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x486ba8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x486ba8
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404400
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x14], 0
je 0x486ba8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040cc58
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x486bf4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x52a10c]
mov dl, 1
mov eax, dword [0x485098]
call fcn.0040d594
call fcn.00404a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486bc5
mov eax, dword [ebp - 4]
call fcn.00485e60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486be2
lea eax, [ebp - 0x30]
call fcn.00405030
ret
Function at 0x4952e8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
dec eax
test eax, eax
jl 0x495379
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
cmp dword [edx + eax*4 + 4], 0
je 0x495371
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
sub eax, dword [ecx + edx*4 + 8]
cmp eax, 0x493e0
jbe 0x495371
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
call fcn.00404204
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
xor ecx, ecx
mov dword [edx + eax*4 + 4], ecx
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x49531b
mov esp, ebp
pop ebp
ret
Function at 0x495380
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4954ab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x4953b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x4953c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4954b5
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x50]
cmp eax, 0x2710
jbe 0x4953ea
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
call fcn.004952e8
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
cmp dword [edx + eax*4 + 4], 0
jne 0x495472
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x4954a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 8]
call fcn.00419164
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00494fd8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov dword [ebp - 0x14], 2
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
jmp 0x4954a1
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov dword [ebp - 0x14], 3
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4954b5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4954c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x49563a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x4954fb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 8]
jg 0x495508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495644
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x50]
cmp eax, 0x2710
jbe 0x49552d
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 4]
call fcn.004952e8
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
cmp dword [edx + eax*4 + 4], 0
jne 0x4955dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 8]
cmp eax, dword [ebp - 8]
jle 0x495630
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
mov edx, dword [ebp - 8]
call fcn.00419164
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00494fd8
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
movsx eax, word [edx + eax*4]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
movsx eax, word [edx + eax*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x10], eax
jmp 0x495630
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 8]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
movsx eax, word [edx + eax*4]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
movsx eax, word [edx + eax*4 + 2]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov eax, dword [edx + eax*4 + 4]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x495644
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x497c94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jle 0x497d3e
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x497d3e
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4979d4]
call fcn.004980a0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x497d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00403130
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00498344
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0041be34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497d3e
mov eax, dword [ebp - 0xc]
call fcn.00404204
ret
mov esp, ebp
pop ebp
ret
Function at 0x49de6c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jns 0x49dea0
add eax, 3
sar eax, 2
test eax, eax
jle 0x49dffe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
movzx eax, byte [eax + edx]
cmp eax, 0x3d
jg 0x49dedd
je 0x49df43
sub eax, 0x2b
je 0x49df2f
sub eax, 4
je 0x49df39
dec eax
sub eax, 0xa
jb 0x49df19
jmp 0x49df4b
add eax, 0xffffffbf
sub eax, 0x1a
jb 0x49deef
add eax, 0xfffffffa
sub eax, 0x1a
jb 0x49df03
jmp 0x49df4b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
sub al, 0x41
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x24], al
jmp 0x49df4b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
sub al, 0x61
add al, 0x1a
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x24], al
jmp 0x49df4b
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov al, byte [eax + edx]
sub al, 0x30
add al, 0x34
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x24], al
jmp 0x49df4b
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x24], 0x3e
jmp 0x49df4b
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x24], 0x3f
jmp 0x49df4b
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x24], 0xff
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jne 0x49deba
mov al, byte [ebp - 0x24]
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0x23]
shr edx, 4
or al, dl
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx], al
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x22], 0xff
je 0x49dfaf
cmp byte [ebp - 0x21], 0xff
jne 0x49dfaf
mov al, byte [ebp - 0x23]
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x22]
shr edx, 2
or al, dl
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx + 1], al
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x20]
jmp 0x49dfef
cmp byte [ebp - 0x22], 0xff
je 0x49dfef
mov al, byte [ebp - 0x23]
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x22]
shr edx, 2
or al, dl
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov byte [edx + ecx + 1], al
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov cl, byte [ebp - 0x22]
shl ecx, 6
or cl, byte [ebp - 0x21]
mov byte [eax + edx + 2], cl
mov eax, dword [ebp - 0x20]
add eax, 3
mov dword [ebp - 0x10], eax
add dword [ebp - 0x20], 2
inc dword [ebp - 0x20]
inc dword [ebp - 0x14]
dec dword [ebp - 0x30]
jne 0x49deb5
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4a06a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x4a06d7
mov ecx, 0x4a0764
mov dl, 1
mov eax, dword [0x49fb28]
call fcn.0040d49c
call fcn.00404a78
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4a0755
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x40]
xor al, byte [edx]
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
dec ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
inc eax
call fcn.00403130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x44]
dec eax
mov edx, dword [ebp - 0x18]
mov dl, byte [edx]
mov byte [eax], dl
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4a06f4
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a077c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x4a07ab
mov ecx, 0x4a0840
mov dl, 1
mov eax, dword [0x49fb28]
call fcn.0040d49c
call fcn.00404a78
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
test eax, eax
jle 0x4a082f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
xor al, byte [edx]
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
dec ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
inc eax
call fcn.00403130
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x44]
dec eax
mov dl, byte [ebp - 0x19]
mov byte [eax], dl
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x4a07c8
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a0fbc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a105e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x49fe4c]
mov eax, 0x14
call fcn.00406030
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004092b4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 4
call fcn.00405084
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [0x561bc0]
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 0xc]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 0xc]
mov dword [0x561bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1065
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00405054
ret

Function at 0x4a106c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a1102
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x49fe74]
mov eax, 0x10
call fcn.00406030
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004092b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00405084
mov eax, dword [ebp - 4]
call dword [eax + 0x30]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [0x561bc4]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [0x561bc4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1109
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405054
ret

Function at 0x4a1184
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4a11be
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
dec eax
mov al, byte [eax]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x10]
dec edx
xor byte [edx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x4a11a4
mov esp, ebp
pop ebp
ret