joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456e48
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 0x456ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456fd4
mov dl, 1
mov eax, dword [0x4165f0]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x456fc3
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.00444bbc
test al, al
je 0x456fb6
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, 0x457004
lea eax, [ebp - 0x254]
call fcn.004095ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x456fb6
xor eax, eax
push ebp
push 0x456faf
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 0x45703c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x456f98
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404314
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 0x456f98
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456fb6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456eb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a10c
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 0x456ffa
lea eax, [ebp - 0x260]
call fcn.004040a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a9be0]
cmp byte [eax + 0xa5], 0
jne 0x457999
cmp dword [0x4a9bf8], 0
jne 0x45795a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4578e4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a9bf8], eax
cmp dword [0x4a9bf4], 0
jne 0x457975
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a9bf4], eax
cmp dword [0x4a9bfc], 0
jne 0x457999
push esp
push 0
push 0
push 0x457888
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a9bfc], eax
pop edx
ret
Function at 0x457a90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457aa7
add esp, 0xfffffff0
call fcn.00403678
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfe0
mov eax, dword [0x4a7ef0]
cmp word [eax + 2], 0
jne 0x457acf
mov eax, dword [0x4a7ef0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459180
mov eax, dword [0x4a7fb4]
cmp word [eax + 2], 0
jne 0x457ae9
mov eax, dword [0x4a7fb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00459378
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4161d4]
call fcn.00403324
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4161d4]
call fcn.00403324
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4205cc]
call fcn.00428490
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457c70
mov eax, dword [0x4a7df0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428860
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459928
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7df0]
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.0040cec4
test eax, eax
je 0x457bde
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408fcc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ceec
test eax, eax
je 0x457bf2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404314
mov eax, dword [0x4a7c8c]
cmp byte [eax], 0
jne 0x457c26
mov eax, ebx
call fcn.00457d98
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00459b04
mov eax, ebx
call fcn.0045a4c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457c66
call fcn.004036d0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458018
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a9be0]
cmp dword [eax + 0x30], 0
je 0x4580c2
cmp dword [ebx + 0x94], 0
jne 0x4580bc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457fa8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4580bc
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 0x458082
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4580bc
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.0041853c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458091
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458c24
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458c59
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.00404194
jmp 0x458c66
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459ce0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459d21
mov eax, esi
call fcn.00440238
test al, al
je 0x459d21
mov eax, dword [ebx + 0x84]
call fcn.0043ff34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459d21
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ff34
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d45c
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d57d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4a8024]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4a8024]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45d594
call fcn.0040966c
mov eax, dword [ebp - 4]
call fcn.00477d00
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4a7df8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4a7fec]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x45d5b0
call fcn.0040966c
mov eax, dword [ebp - 0x10]
call fcn.00477d00
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x45d048
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45d5d0
call fcn.0040966c
mov eax, dword [ebp - 0x24]
call fcn.00477d00
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x45d5e8
call fcn.0040966c
mov eax, dword [ebp - 0x28]
call fcn.00477d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d584
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004040c8
lea eax, [ebp - 0x10]
call fcn.004040a4
lea eax, [ebp - 4]
call fcn.004040a4
ret

Function at 0x466958
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x46698e
jmp 0x466a34
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4669d2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x148], 0
je 0x4669d2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x148]
mov eax, dword [eax + 0x14]
jmp 0x4669e2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x144]
test edx, edx
je 0x4669e2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4669fb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0046388c
jmp 0x466a34
mov dl, 1
mov eax, dword [0x41fd8c]
call fcn.00421d70
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00422430
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.00421920
mov edx, esp
mov eax, esi
call fcn.0042217c
mov eax, esi
call fcn.00403354
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x468880
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0043ff34
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00439640
pop ebx
ret
Function at 0x46d178
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x46d209
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00450308
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.0046ce1c
mov edi, eax
test edi, edi
je 0x46d1d3
mov al, byte [0x46d214]
cmp al, bl
jne 0x46d1d3
mov edx, edi
mov eax, esi
call fcn.0046cdc4
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x46d209
cmp byte [esi + 0x161], 2
jne 0x46d1fc
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4a8088]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043a8c8
test eax, eax
jne 0x46d209
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47148c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x471546
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004047b0
mov eax, dword [0x4a7d2c]
cmp byte [eax], 0
je 0x4714fb
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404b1c
mov eax, dword [ebx]
call fcn.00404948
push eax
mov eax, dword [ebx]
call fcn.00404938
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404948
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404b1c
jmp 0x47152d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040917c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47154d
lea eax, [ebp - 0x3f0]
call fcn.004040a4
ret

Function at 0x471554
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040917c
add esp, 0x3ec
pop ebx
ret
Function at 0x472aec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x84]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x88]
cdq
cmp edx, dword [esp + 4]
jne 0x472b24
cmp eax, dword [esp]
pop edx
pop eax
jae 0x472ba2
jmp 0x472b28
pop edx
pop eax
jge 0x472ba2
mov eax, dword [0x4a8088]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x4c], 0x10
je 0x472b7a
cmp byte [ebx + 0x161], 2
je 0x472b7a
mov eax, ebx
call fcn.0046df80
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x472bc7
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x472bc7
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x472bc7
push 0
mov edx, dword [ebx + 0x12c]
push edx
push 0
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edx
push esi
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x472bc7
cmp dword [ebx + 0x11c], 0
je 0x472bc7
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042e108
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47d310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d481
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x47d466
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040917c
mov dl, 1
mov eax, dword [0x45b1e8]
call fcn.0045b240
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4168e0]
call fcn.00403324
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0045b2bc
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x47d463
mov dl, 1
mov eax, dword [0x45c104]
call fcn.0045c16c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x47d498
call fcn.0045b608
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004043b0
xor eax, eax
push ebp
push 0x47d45c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045c46c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047d4a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d463
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403354
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403354
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403354
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d488
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040c8
ret
Function at 0x47e850
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415590]
call fcn.00404b80
xor eax, eax
push ebp
push 0x47e994
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7028], 0
jne 0x47e8a3
mov ecx, dword [0x4a7c9c]
mov dl, 1
mov eax, dword [0x407658]
call fcn.0040c0fc
call fcn.00403ae0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d44
mov eax, ebx
call fcn.00404938
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47e9a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b34
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404948
test eax, eax
jle 0x47e93b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47e934
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040432c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404314
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040850c
test eax, eax
jne 0x47e934
mov ebx, 0x15
jmp 0x47e940
mov ebx, 0x10
jmp 0x47e940
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a7028]
call fcn.0047e7a8
mov eax, dword [ebp - 8]
call fcn.0047e7a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e99b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040c8
lea eax, [ebp - 0x10]
mov edx, dword [0x415590]
call fcn.00404c50
ret

Function at 0x482170
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00481c10
test byte [ebx + 0x23d], 4
jne 0x482205
mov edx, esp
mov eax, ebx
call fcn.004390c0
push esp
mov eax, ebx
call fcn.0043fd30
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4821a5
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4821d6
mov ecx, dword [0x4a7e94]
mov dl, 1
mov eax, dword [0x47e468]
call fcn.0040c0fc
call fcn.00403ae0
mov eax, ebx
call fcn.00482744
cmp byte [ebx + 0x57], 0
jne 0x48220c
mov eax, ebx
call fcn.0043ff34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48220c
push 0
mov eax, ebx
call fcn.0043ff34
push eax
call sub.user32.dll_ShowWindow
jmp 0x48220c
mov eax, ebx
call fcn.0043ceb4
add esp, 0x10
pop ebx
ret
Function at 0x486fa4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x48700b
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.004046f0
push edi
mov eax, dword [ebp - 8]
call fcn.00404564
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004040f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487012
lea eax, [ebp - 8]
call fcn.004040a4
ret

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

Function at 0x48f858
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48f886
mov eax, ebx
call fcn.0049030c
cmp dword [ebx + 0x40], 0
je 0x48f87f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48f8f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48f8e9
cmp dword [ebx + 8], 0
je 0x48f8a8
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 0x48f8ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48f8e9
cmp dword [ebx + 8], 0
je 0x48f89b
cmp eax, 3
je 0x48f8cd
dec eax
jne 0x48f89b
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 0x48f89b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48f89b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48f915
cmp dword [ebx + 0x14], 0xcc
je 0x48f915
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.0048f920
pop ebx
ret
Function at 0x4a0150
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.00404554
mov eax, dword [ebp - 8]
call fcn.00404554
xor eax, eax
push ebp
push 0x4a026d
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.00404564
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x4a027c
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.00404564
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a0252
xor eax, eax
push ebp
push 0x4a024b
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 0x4a022b
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x4a022f
xor eax, eax
jmp 0x4a0231
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0252
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 0x4a0274
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040c8
ret