joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46bebc
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 0x46c067
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46c048
mov dl, 1
mov eax, dword [0x419c74]
call fcn.00403c24
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b54
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46c037
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.0045e2b0
test al, al
je 0x46c02a
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, 0x46c078
lea eax, [ebp - 0x254]
call fcn.0040ad7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46c02a
xor eax, eax
push ebp
push 0x46c023
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 0x46c0b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46c00c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dc4
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 0x46c00c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c02a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46bf2d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041dde4
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 0x46c06e
lea eax, [ebp - 0x260]
call fcn.00404b54
ret

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

Disassembly:
push ecx
mov eax, dword [0x5015b8]
cmp byte [eax + 0xad], 0
jne 0x46ca51
cmp dword [0x5015d0], 0
jne 0x46ca12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46c99c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5015d0], eax
cmp dword [0x5015cc], 0
jne 0x46ca2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5015cc], eax
cmp dword [0x5015d4], 0
jne 0x46ca51
push esp
push 0
push 0
push 0x46c940
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5015d4], eax
pop edx
ret
Function at 0x46cc9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46ccb3
add esp, 0xfffffff0
call fcn.00403f78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422698
mov eax, dword [0x4fcd68]
cmp word [eax + 2], 0
jne 0x46ccdb
mov eax, dword [0x4fcd68]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046e7f4
mov eax, dword [0x4fce7c]
cmp word [eax + 2], 0
jne 0x46ccf5
mov eax, dword [0x4fce7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ea00
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419850]
call fcn.00403c24
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419850]
call fcn.00403c24
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419850]
call fcn.00403c24
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 [0x4290f8]
call fcn.004313e4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46ceac
mov eax, dword [0x4fcc2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004317b8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f0d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4fcc2c]
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.0040eb2c
test eax, eax
je 0x46cdfc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a720
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040eb60
test eax, eax
je 0x46ce10
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.00404dc4
mov byte [ebx + 0xd4], 0
push ebx
push 0x46e33c
call fcn.00423814
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4fca38]
cmp byte [eax], 0
jne 0x46ce61
mov eax, ebx
call fcn.0046cff0
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.0046f2ac
mov eax, ebx
call fcn.0046fe0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46cea1
call fcn.00403fd0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d270
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5015b8]
cmp dword [eax + 0x30], 0
je 0x46d31a
cmp dword [ebx + 0x94], 0
jne 0x46d314
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46d200
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46d314
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 0x46d2da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46d314
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.0041bcc4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46d2e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e034
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 0x46e069
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.00404c44
jmp 0x46e076
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ba8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f490
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f4fe
mov eax, esi
call fcn.00458ee4
test al, al
je 0x46f4fe
mov eax, dword [ebx + 0x84]
call fcn.00458b44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f4fe
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46f4f2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458b44
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00450ee4
jmp 0x46f4fe
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046f2cc
pop esi
pop ebx
ret

Function at 0x48a630
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x501fd0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x48a652
shr eax, 1
xor eax, 0xedb88320
jmp 0x48a654
shr eax, 1
dec edx
jne 0x48a640
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x48a639
mov byte [0x5023d0], 1
pop esi
pop ebx
ret

Function at 0x48a670
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5023d0], 0
jne 0x48a687
call fcn.0048a630
mov eax, edi
dec eax
test eax, eax
jl 0x48a6af
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x501fd0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x48a691
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x48cb04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x45d]
movzx ecx, dl
cmp ecx, 6
ja case.0x48cb9e.0
jmp dword [ecx*4 + 0x48cb37]
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x48cb69
sub dl, 8
je 0x48cb78
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c870
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c8c8
jmp case.0x48cb9e.0
movzx ecx, byte [eax + 0x45c]
cmp ecx, 0x10
ja case.0x48cb9e.0
movzx ecx, byte [ecx + 0x48cba5]
jmp dword [ecx*4 + 0x48cbb6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c920
jmp case.0x48cb9e.0
cmp dl, 3
jne 0x48cbe3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c974
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c930
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c9b8
jmp case.0x48cb9e.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x48cc0e
sub dl, 8
je 0x48cc1a
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48c9d4
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48ca40
jmp case.0x48cb9e.0
movzx edx, byte [eax + 0x45c]
sub dl, 8
je 0x48cc39
sub dl, 8
je 0x48cc45
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48cab0
jmp case.0x48cb9e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x48cad8
mov esi, dword [eax + 0x448]
mov edx, dword [ebx + 0x1c]
dec edx
imul esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0xc], esi
mov eax, dword [eax + 0x450]
mov dword [ebp - 8], eax
mov esi, edx
test esi, esi
jb 0x48ccd5
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0048be64
test eax, eax
je 0x48ccd5
mov eax, ebx
call fcn.0048cce0
mov eax, dword [ebp - 8]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x448]
sub dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x48cc75
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48cce0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x48cd11
dec al
je 0x48cd4c
dec al
je 0x48cd91
dec al
je 0x48cdfa
jmp 0x48ce84
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x48ce84
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48cd21
jmp 0x48ce84
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48ce84
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x48cd5c
jmp 0x48ce84
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48ce84
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x48cdc0
xor ebp, ebp
jmp 0x48cdd0
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x48cdd9
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48cda1
jmp 0x48ce84
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x48ce84
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x48ce53
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0048a6b8
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x48ce0e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49691c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49694a
mov eax, ebx
call fcn.004973d0
cmp dword [ebx + 0x40], 0
je 0x496943
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4969bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4969ad
cmp dword [ebx + 8], 0
je 0x49696c
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 0x49697e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4969ad
cmp dword [ebx + 8], 0
je 0x49695f
cmp eax, 3
je 0x496991
dec eax
jne 0x49695f
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 0x49695f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49695f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4969d9
cmp dword [ebx + 0x14], 0xcc
je 0x4969d9
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.004969e4
pop ebx
ret

Function at 0x4a8740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4a87d8
push 0
mov eax, ebx
call fcn.00405018
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4a87b3
mov ebx, esi
test ebx, ebx
je 0x4a8789
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, esi
call fcn.00405018
push eax
push 1
push 0
mov eax, edi
call fcn.00405018
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x4a87ce
mov ecx, dword [0x4fcc24]
mov dl, 1
mov eax, dword [0x4a738c]
call fcn.0040dcac
call fcn.004044c8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4a8908
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 [0x407fa4]
call fcn.004056dc
xor eax, eax
push ebp
push 0x4a8aa9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fb818], 0
jne 0x4a8963
mov ecx, dword [0x4fca58]
mov dl, 1
mov eax, dword [0x408868]
call fcn.0040dcac
call fcn.004044c8
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403558
mov eax, ebx
call fcn.004054e4
mov dword [ebp - 0x24], eax
mov esi, 0x4a8ab8
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.0040690c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004054f4
test eax, eax
jle 0x4a8a4c
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 0x4a8a38
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404dc4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4a89de
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404ddc
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4a89f4
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404ddc
mov eax, dword [ebp - 0x54]
call fcn.00405018
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404dc4
mov eax, dword [ebp - 0x58]
call fcn.00405018
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4a8a3a
xor eax, eax
test al, al
je 0x4a8a45
mov ebx, 0x15
jmp 0x4a8a51
mov ebx, 0x10
jmp 0x4a8a51
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 [0x4fb818]
call fcn.004a867c
mov eax, dword [ebp - 4]
call fcn.004a867c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8ab0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404b78
lea eax, [ebp - 0xc]
mov edx, dword [0x407fa4]
call fcn.004057ac
ret
Function at 0x4adb58
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004ad5b8
test byte [ebx + 0x285], 4
jne 0x4adbed
mov edx, esp
mov eax, ebx
call fcn.004508d4
push esp
mov eax, ebx
call fcn.00458934
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4adb8d
sub eax, 0xfffffd34
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x260]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x274], 0
jne 0x4adbbe
mov ecx, dword [0x4fccec]
mov dl, 1
mov eax, dword [0x4a7264]
call fcn.0040dcac
call fcn.004044c8
mov eax, ebx
call fcn.004ae128
cmp byte [ebx + 0x57], 0
jne 0x4adbf4
mov eax, ebx
call fcn.00458b44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4adbf4
push 0
mov eax, ebx
call fcn.00458b44
push eax
call sub.user32.dll_ShowWindow
jmp 0x4adbf4
mov eax, ebx
call fcn.00455128
add esp, 0x10
pop ebx
ret

Function at 0x4b0bbc
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 0x4b0c46
xor edx, edx
push ebp
push 0x4b0c27
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 0x4b0c46
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b8308
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, 0x4b83d0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x4b83d4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x4b83d0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b83c7
xor eax, eax
push ebp
push 0x4b83c0
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 0x4b83c7
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret