joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464538
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4646e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4646c4
mov dl, 1
mov eax, dword [0x4175e4]
call fcn.00403e3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404cb8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4646b3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00455a4c
test al, al
je 0x4646a6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4646f4
lea eax, [ebp - 0x254]
call fcn.0040a8c4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4646a6
xor eax, eax
push ebp
push 0x46469f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46472c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464688
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f28
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x464688
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404f28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4646a6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4645a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041b7b0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4646ea
lea eax, [ebp - 0x260]
call fcn.00404cb8
ret

Function at 0x4650a4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c3ca0]
cmp byte [eax + 0xad], 0
jne 0x465115
cmp dword [0x4c3cbc], 0
jne 0x4650d6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x465060
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c3cbc], eax
cmp dword [0x4c3cb8], 0
jne 0x4650f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c3cb8], eax
cmp dword [0x4c3cc0], 0
jne 0x465115
push esp
push 0
push 0
push 0x465004
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c3cc0], eax
pop edx
ret
Function at 0x465318
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46532f
add esp, 0xfffffff0
call fcn.00404190
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fae8
mov eax, dword [0x4be4fc]
cmp word [eax + 2], 0
jne 0x465357
mov eax, dword [0x4be4fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467078
mov eax, dword [0x4be5e8]
cmp word [eax + 2], 0
jne 0x465371
mov eax, dword [0x4be5e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00467284
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4171c0]
call fcn.00403e3c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4171c0]
call fcn.00403e3c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4171c0]
call fcn.00403e3c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x426918]
call fcn.0042e880
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x465528
mov eax, dword [0x4be3c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ec54
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x467948
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4be3c4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e418
test eax, eax
je 0x465478
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a268
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e44c
test eax, eax
je 0x46548c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404f28
mov byte [ebx + 0xd4], 0
push ebx
push 0x466aec
call fcn.00420c64
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4be248]
cmp byte [eax], 0
jne 0x4654dd
mov eax, ebx
call fcn.0046566c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00467b5c
mov eax, ebx
call fcn.004686c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46551d
call fcn.004041e8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4658ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46598b
cmp dword [ebx + 0x94], 0
jne 0x465985
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x465874
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x465985
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46594b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x465985
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419668
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46595a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465ba4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c3ca0]
cmp dword [eax + 0x30], 0
je 0x465d01
test bl, bl
jne 0x465c52
cmp dword [esi + 0x9c], 0
jne 0x465c47
mov eax, esi
call fcn.0046853c
push eax
push 0x465ad0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x465c18
mov eax, dword [0x4c3ca0]
call fcn.00468c1c
test al, al
je 0x465c18
mov eax, dword [0x4c3cc4]
call fcn.00405f0c
mov edi, eax
cmp edi, 0
jl 0x465c18
push 0
mov eax, dword [0x4c3cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x465c02
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465c47
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419668
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465c27
inc dword [esi + 0x9c]
jmp 0x465d01
cmp dword [esi + 0x9c], 0
jle 0x465d01
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x465d01
cmp dword [esi + 0x44], 0
je 0x465cad
mov eax, dword [0x4c3ca0]
call fcn.00468c1c
test al, al
je 0x465cad
mov eax, dword [0x4c3cc4]
call fcn.00405f0c
mov edi, eax
cmp edi, 0
jl 0x465cad
push 5
mov eax, dword [0x4c3cc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x465c97
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465cdc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419668
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465cbc
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4c3cc4
mov ecx, 1
mov edx, dword [0x465ab0]
call fcn.004060c0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4667e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x466852
mov eax, ebx
call fcn.00468c1c
test al, al
jne 0x466852
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404da8
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46683f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46685f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d0c
jmp 0x46685f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404d0c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x467d40
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467dae
mov eax, esi
call fcn.0045069c
test al, al
je 0x467dae
mov eax, dword [ebx + 0x84]
call fcn.004502fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467dae
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x467da2
push 0
mov eax, dword [ebx + 0x84]
call fcn.004502fc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004480d8
jmp 0x467dae
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00467b7c
pop esi
pop ebx
ret

Function at 0x468d0c
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00409c58
test al, al
je 0x468d46
push 0x80
mov eax, ebx
call fcn.00405148
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
je 0x468d41
push esi
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x468d48
xor eax, eax
pop esi
pop ebx
ret
mov al, 1
pop esi
pop ebx
ret
Function at 0x468d4c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x468d63
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00405148
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x468e26
xor eax, eax
push ebp
push 0x468e1f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x468dbe
call fcn.0040478c
jmp 0x468e26
cmp ebx, 0x7fffffff
jb 0x468dcd
call fcn.0040478c
jmp 0x468e26
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004053d8
push 0
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x468df8
call fcn.0040478c
jmp 0x468e26
cmp ebx, dword [ebp - 0x10]
je 0x468e04
call fcn.0040478c
jmp 0x468e26
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468e26
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468e30
Capabilities:
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.00409c58
test al, al
je 0x468e74
mov eax, ebx
call fcn.00405148
push eax
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
test edi, 1
je 0x468e74
and edi, 0xfffffffe
push edi
mov eax, ebx
call fcn.00405148
push eax
call sub.kernel32.dll_SetFileAttributesA
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, ebx
call fcn.00405148
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x468efc
xor edx, edx
push ebp
push 0x468ef5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x468eb5
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x468ede
cmp ebx, dword [ebp - 0xc]
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468efc
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46922c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x469313
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403768
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403768
xor esi, esi
test ebx, ebx
je 0x4692a1
lea ecx, [ebp - 0x60]
mov dl, 0x22
mov eax, edi
call fcn.004091d4
push dword [ebp - 0x60]
push 0x469330
push ebx
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040504c
jmp 0x4692ab
lea eax, [ebp - 4]
mov edx, edi
call fcn.00404d50
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405148
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4692f5
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x5c]
mov esi, eax
cmp dword [ebp + 8], 0
je 0x4692f5
mov edx, dword [ebp + 8]
push edx
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46931a
lea eax, [ebp - 0x60]
call fcn.00404cb8
lea eax, [ebp - 4]
call fcn.00404cb8
ret

Function at 0x469400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4694fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x40000
call fcn.00402f60
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4694dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041a118
xor eax, eax
push ebp
push 0x4694c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, ebx
call fcn.00405148
push eax
push 0x40000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, esi
call fcn.00405148
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x4694aa
mov ebx, dword [ebp - 8]
jmp 0x4694a5
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404eb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, ebx
call fcn.0040a214
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x469486
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4694c7
mov eax, dword [ebp - 4]
call fcn.0041a1d4
ret
Function at 0x469668
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x469671
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00405148
push eax
push 0x2000
lea eax, [ebp - 0x2000]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00405148
push eax
mov eax, edi
call fcn.00405148
push eax
mov eax, esi
call fcn.00405148
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x2000]
mov eax, dword [ebp + 8]
call fcn.00404da8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46a080
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403768
ret

Function at 0x46a22c
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 0x68]
call fcn.0046a080
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.00405148
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x46a342
xor eax, eax
push ebp
push 0x46a33b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46a324
xor eax, eax
push ebp
push 0x46a31d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46a306
xor eax, eax
push ebp
push 0x46a2ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize
mov ecx, eax
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x10]
call fcn.0046a0b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a306
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a324
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a342
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x68]
call fcn.0046a13c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46afa4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40f78c]
call fcn.004056fc
xor eax, eax
push ebp
push 0x46b145
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b78e4], 0
jne 0x46afff
mov ecx, dword [0x4be25c]
mov dl, 1
mov eax, dword [0x408110]
call fcn.0040d574
call fcn.004046e0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403768
mov eax, ebx
call fcn.004055cc
mov dword [ebp - 0x24], eax
mov esi, 0x46b154
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004067d8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004055dc
test eax, eax
jle 0x46b0e8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46b0d4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404f28
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46b07a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404f40
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46b090
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404f40
mov eax, dword [ebp - 0x54]
call fcn.00405148
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404f28
mov eax, dword [ebp - 0x58]
call fcn.00405148
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46b0d6
xor eax, eax
test al, al
je 0x46b0e1
mov ebx, 0x15
jmp 0x46b0ed
mov ebx, 0x10
jmp 0x46b0ed
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4b78e4]
call fcn.0046ae24
mov eax, dword [ebp - 4]
call fcn.0046ae24
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004067f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b14c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404cdc
lea eax, [ebp - 0xc]
mov edx, dword [0x40f78c]
call fcn.004057cc
ret
Function at 0x4785a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4785d2
cmp dword [ebx + 0x64], 0
jne 0x4785d2
cmp dword [ebx + 0x6c], 0
jne 0x4785d2
mov edi, esi
jmp 0x478659
cmp edi, 0xffffffff
jne 0x4785da
dec edi
jmp 0x478659
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x478659
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004779a4
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x478627
mov cx, word [esp]
sub cx, si
jmp 0x478629
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x478610
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47864f
mov cx, word [esp]
sub cx, si
jmp 0x478651
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x478638
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4786b6
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00478344
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4786a1
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4786b6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4785b2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47e810
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4c3d80
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47e832
shr eax, 1
xor eax, 0xedb88320
jmp 0x47e834
shr eax, 1
dec edx
jne 0x47e820
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47e819
mov byte [0x4c4180], 1
pop esi
pop ebx
ret

Function at 0x47e850
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4c4180], 0
jne 0x47e867
call fcn.0047e810
mov eax, edi
dec eax
test eax, eax
jl 0x47e88f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4c3d80]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47e871
mov eax, ebx
pop edi
pop esi
pop ebx
ret