joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cc5aa
xor edx, edx
push ebp
push 0x4cc58b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cc5aa
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4cd8dc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov eax, dword [ebp - 8]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x4cd9f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00404dd0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4cda08
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404dd0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4cd9de
xor eax, eax
push ebp
push 0x4cd9d7
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x4cd9b7
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4cd9bb
xor eax, eax
jmp 0x4cd9bd
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd9de
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cda00
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404934
ret
Function at 0x4cda10
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov eax, dword [ebp - 8]
call fcn.00404dc0
mov eax, dword [ebp - 0xc]
call fcn.00404dc0
mov eax, dword [ebp + 0xc]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x4cdb7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404dd0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x4cdb90
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404dd0
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4cdb5c
xor edx, edx
push ebp
push 0x4cdb55
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404dd0
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404dd0
push eax
mov ax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00404dd0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x4cdb3e
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4cdb35
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4cdb39
xor eax, eax
jmp 0x4cdb3b
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdb5c
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdb86
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404934
lea eax, [ebp + 0xc]
call fcn.00404910
ret
Function at 0x4cdb98
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x4cdc60
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4cdc64
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4cdc60
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4cdc57
xor eax, eax
push ebp
push 0x4cdc50
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdc57
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cde58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ce06c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402834
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cded6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x4cdec0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cdedd
mov eax, dword [ebp - 8]
call fcn.00402854
ret

Function at 0x4cf380
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.00403250
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4cf3ba
cmp byte [ebp - 0xa], 0x31
jne 0x4cf3b8
mov bl, 1
jmp 0x4cf3ba
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d09f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00468e24
test al, al
je 0x4d0ab1
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x4d0a8f
cmp word [esi + 0x5da], 0
je 0x4d0a49
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5dc]
call dword [esi + 0x5d8]
cmp byte [ebp - 9], 0
jne 0x4d0a66
cmp dword [ebp - 4], 0
jbe 0x4d0a62
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4d0a66
xor ebx, ebx
jmp 0x4d0a68
mov bl, 1
test bl, bl
jne 0x4d0ab1
mov eax, dword [0x50bae4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x4d0ab1
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.0048206c
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x4d0ab1
cmp byte [esi + 0x584], 0
jne 0x4d0ab1
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004878a4
cmp eax, 4
jne 0x4d0a26
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4de46c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
xor edx, edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x4de59d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004d329c
mov ebx, eax
test ebx, ebx
je 0x4de577
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004d32bc
jmp 0x4de563
lea edx, [ebp - 0x138]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409d88
push dword [ebp - 0x134]
push 0x4de5b4
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404b80
push dword [ebp - 0x13c]
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
call fcn.00404d1c
jne 0x4de556
mov eax, dword [ebp - 0x124]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004d32dc
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4de4d1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de5a4
lea eax, [ebp - 0x13c]
mov edx, 4
call fcn.00404934
lea eax, [ebp - 4]
call fcn.00404910
ret
Function at 0x4de5b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4de5c0
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4de801
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402b68
test eax, eax
jle 0x4de65e
lea edx, [ebp - 0xc]
mov eax, 1
call fcn.00402bc8
mov eax, dword [ebp - 0xc]
call fcn.00409c88
test al, al
je 0x4de65e
lea edx, [ebp - 0x10]
mov eax, 1
call fcn.00402bc8
mov eax, dword [ebp - 0x10]
call fcn.004de46c
push 0x30
push 0x4de810
push 0x4de818
push 0
call sub.user32.dll_MessageBoxA_1
push 0xbb8
call sub.kernel32.dll_Sleep_1
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00402bc8
mov eax, dword [ebp - 0x14]
call fcn.00409cbc
push 0x34
push 0x4de810
push 0x4de834
push 0
call sub.user32.dll_MessageBoxA_1
cmp eax, 6
jne 0x4de65e
call fcn.004dfd74
lea edx, [ebp - 0x1c]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409d88
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4de858
call fcn.00404c1c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x43a4a8]
call fcn.0043a558
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
mov ecx, 0x4de874
mov edx, 0x4de884
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov eax, ebx
call fcn.00403afc
lea edx, [ebp - 0x28]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00409d88
push dword [ebp - 0x24]
push 0x4de898
push dword [ebp - 8]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x20]
call fcn.00409c88
test al, al
je 0x4de7e6
lea edx, [ebp - 0x34]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00409d88
push dword [ebp - 0x30]
push 0x4de898
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00404d1c
je 0x4de7e6
push 1
push 0
push 0x4de8a4
lea edx, [ebp - 0x40]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
push dword [ebp - 0x40]
push 0x4de8a4
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x3c]
call fcn.00404dd0
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482828
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409d88
push dword [ebp - 0x48]
push 0x4de898
push dword [ebp - 8]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00404c90
mov eax, dword [ebp - 0x44]
call fcn.00404dd0
push eax
push 0x4de8a8
mov eax, dword [0x50d0dc]
call fcn.00468b20
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
call fcn.00409cbc
mov eax, dword [0x50bae4]
mov eax, dword [eax]
call fcn.00482304
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de808
lea eax, [ebp - 0x4c]
mov edx, 0x13
call fcn.00404934
ret
Function at 0x4e4a88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x50a89c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50a89c]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x50a820]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4e4ab3
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4e4b80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x50a89c]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50a89c]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x50a820]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x4e4bbb
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4e4c9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50a89c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50a89c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x50a89c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x50a820]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
xor ecx, ecx
mov cl, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + 0x50a89c]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50a89c]
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, dword [ebx*4 + 0x50a89c]
mov ebx, edi
shr ebx, 0x18
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x50a89c]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4e4ce7
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4eb884
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404dc0
xor eax, eax
push ebp
push 0x4eb8ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x1505
mov eax, dword [ebp - 4]
call fcn.00404bd0
test eax, eax
jle 0x4eb8d0
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov esi, ebx
shl esi, 5
add ebx, esi
add ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4eb8b9
and ebx, 0x7fffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb8f3
lea eax, [ebp - 4]
call fcn.00404910
ret
Function at 0x4f2ec8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
mov eax, dword [0x50b6a8]
mov eax, dword [eax + 0x20]
mov edx, dword [0x50b6a8]
add eax, dword [edx + 0x24]
mov edx, dword [0x50b6a8]
sub eax, dword [edx + 0x3c]
test eax, eax
jg 0x4f2f5b
mov eax, dword [0x50b6a8]
mov eax, dword [eax + 0x1c]
mov edx, dword [0x50b6a8]
cmp eax, dword [edx + 0x18]
jge 0x4f2f5b
push 0x50d378
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4f2f54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50b6a8]
mov eax, dword [eax + 0x3c]
mov edx, dword [0x50b6a8]
mov dword [edx + 0x24], eax
mov eax, dword [0x50b6a8]
inc dword [eax + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f2f5b
push 0x50d378
call sub.kernel32.dll_LeaveCriticalSection_1
ret
mov eax, dword [0x50bda8]
cmp dword [eax + 8], 0x14
jne 0x4f2faa
mov eax, dword [0x50bda8]
cmp byte [eax + 0x10], 0
jne 0x4f2faa
push 1
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, 2
mov dl, 1
mov eax, dword [0x4f8f70]
call fcn.004f8ff0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
mov byte [ebx + 0xf], 1
mov eax, ebx
call fcn.004252e8
mov eax, dword [0x50bda8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [0x50bda8]
cmp dword [eax + 8], 0xa
jne 0x4f2ffa
mov eax, dword [0x50bda8]
cmp byte [eax + 0xc], 0
jne 0x4f2ffa
mov eax, dword [0x50bc7c]
cmp byte [eax + 0x24], 0
je 0x4f2ffa
push 1
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov ecx, 3
mov dl, 1
mov eax, dword [0x4f8f70]
call fcn.004f8ff0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x68], ebx
mov byte [ebx + 0xf], 1
mov eax, ebx
call fcn.004252e8
mov eax, dword [0x50bda8]
inc dword [eax + 8]
mov eax, dword [0x50bda8]
cmp dword [eax + 0x14], 0x960
jne 0x4f3031
mov edx, 0x4f30bc
mov eax, dword [ebp - 4]
call fcn.004eb8fc
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f2d78
mov eax, dword [0x50bda8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [0x50bda8]
inc dword [eax + 0x14]
push 0
push 0x3e8
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.00405a30
mov ebx, eax
cmp ebx, 1
jge 0x4f3067
mov ebx, 1
push 0x50d378
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4f30a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50b6a8]
add dword [eax + 0x3c], ebx
mov eax, dword [0x50b6a8]
add dword [eax + 0x38], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f30ae
push 0x50d378
call sub.kernel32.dll_LeaveCriticalSection_1
ret
Function at 0x401614
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401626
mov eax, dword [0x4d108b]
shl eax, 2
mov dword [0x4d108f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0049a120
pop edx
call fcn.0049a084
call fcn.0049a160
push 0
call fcn.0049c580
pop ecx
push 0x4d1034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4d1093], eax
push 0
jmp fcn.004a3650