joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a77b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a77e3
push esi
call fcn.004b5990
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a77dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a7869
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a7852
mov eax, dword [esi + 8]
test eax, eax
je 0x4a7807
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a784e
cmp eax, 2
je 0x4a7852
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a77fa
cmp eax, 3
je 0x4a782d
cmp eax, 1
jne 0x4a77fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a77fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a77fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a7890
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a7878
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a7890
add esp, 4
pop esi
ret

Function at 0x4a8100
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4a8121
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a8121
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a8121
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4c21e0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4c2283
test eax, eax
jbe 0x4c2283
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4c2283
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4c222e
xor esi, esi
jmp 0x4c2234
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4c225f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004c4220
add esi, eax
push esi
mov ebx, esi
call fcn.004c4220
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4c2240
pop ebp
test edi, edi
pop edi
jne 0x4c2283
test ebx, ebx
je 0x4c2283
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004ee080
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4c23a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4c24bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c24bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00511bbc
mov esi, eax
test esi, esi
je 0x4c24bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4c24bd
mov ecx, esi
call fcn.004c2330
cmp edi, eax
jge 0x4c24bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4c2443
mov dword [esp + 0x34], 1
jmp 0x4c249e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4c24bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004c1930
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4cc8c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51edb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004cccb0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x8b0364
call fcn.004efa01
mov ecx, dword [0x85d6d8]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004c7460
mov esi, 0x85d738
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4cc967
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cc95e
cmp al, 0xff
je 0x4cc95e
dec al
mov byte [ecx], al
jmp 0x4cc967
push ecx
call fcn.0050fefc
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0050c3c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4cc9ad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cc9a4
cmp al, 0xff
je 0x4cc9a4
dec al
mov byte [ecx], al
jmp 0x4cc9ad
push ecx
call fcn.0050fefc
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004efa88
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4d8850
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8b07a4]
xor edx, edx
cmp eax, edx
jne 0x4d8876
xor eax, eax
mov byte [eax + 0x8b06a4], al
inc eax
cmp eax, 0x100
jl 0x4d885e
mov dword [0x8b07a4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8b06a4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4d8907
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4d88da
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4d88a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4d8980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d89d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4d89ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4df360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51f0ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004dfc80
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x85e64c
call fcn.0050fed3
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4df3f3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050fed3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4df3ec
push 0
mov ecx, eax
call fcn.004d6490
mov dword [esi + 0xc], eax
jmp 0x4df3f5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4df3f5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5068a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x520070
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004fb8b1
mov eax, dword [0x861d58]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004fb7e3
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00507370
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x506947
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50693e
cmp al, 0xff
je 0x50693e
dec al
mov byte [ecx], al
jmp 0x506947
push ecx
call fcn.0050fefc
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x506978
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x50696f
cmp al, 0xff
je 0x50696f
dec al
mov byte [ecx], al
jmp 0x506978
push ecx
call fcn.0050fefc
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x512560
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x512598
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005105ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005105c5
jmp 0x5125a4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x513c51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x513c93
call fcn.0051970a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x513c93
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x513c8a
xor eax, eax
jmp 0x513c9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00513ca1
pop edi
pop esi
pop ebx
ret 4

Function at 0x519c3a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x519c68
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x519c86
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00519ba0
jmp 0x519c86
mov eax, dword [esi + 0x14]
test eax, eax
je 0x519c86
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00519ba0
test edi, edi
mov eax, edi
jne 0x519c70
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4013e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
mov dword [ebp - 0x10c], 0
call fcn.004726b0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0
push dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x401449
xor ecx, ecx
jmp 0x40145b
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401452
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00404530
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00470931
mov esp, ebp
pop ebp
ret

Function at 0x401480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x22c
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004726b0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4014e7
xor al, al
jmp 0x4015e0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4015d7
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401730
add esp, 8
mov ecx, dword [ebp - 0x258]
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.00403d00
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x401585
mov eax, dword [ebp - 0x24c]
mov ecx, ebx
mov esi, dword [ebx]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x25c]
push eax
push dword [esi + 4]
push esi
call fcn.00403040
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4015fc
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4015c2
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x4015b9
test al, 0x1f
jne 0x401606
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x401606
sub eax, ecx
cmp eax, 4
jb 0x401606
cmp eax, 0x23
ja 0x401606
mov eax, ecx
push eax
call fcn.0047072d
add esp, 4
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401506
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0042f118
call fcn.0047ade1
int3
Function at 0x401af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 8]
push eax
push str.SOFTWAREHintsoft
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x401b36
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x401b30
push eax
call esi
mov byte [ebp - 1], 0
jmp 0x401b57
push 0
push 0
push 0
push dword [ebp - 8]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [ebp - 8]
sete byte [ebp - 1]
test eax, eax
je 0x401b57
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push str.SOFTWARESicent
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x401b82
mov eax, dword [ebp - 8]
test eax, eax
je 0x401b7c
push eax
call esi
mov byte [ebp - 2], 0
jmp 0x401b9d
push 0
push 0
push 0
push dword [ebp - 8]
call ebx
test eax, eax
mov eax, dword [ebp - 8]
sete byte [ebp - 2]
test eax, eax
je 0x401b9d
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push str.SOFTWAREGoyoo
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x401bc8
mov eax, dword [ebp - 8]
test eax, eax
je 0x401bc2
push eax
call esi
mov byte [ebp - 3], 0
jmp 0x401be3
push 0
push 0
push 0
push dword [ebp - 8]
call ebx
test eax, eax
mov eax, dword [ebp - 8]
sete byte [ebp - 3]
test eax, eax
je 0x401be3
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push str.SOFTWARE_
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x401c0c
mov eax, dword [ebp - 8]
test eax, eax
je 0x401c08
push eax
call esi
xor bl, bl
jmp 0x401c26
push 0
push 0
push 0
push dword [ebp - 8]
call ebx
test eax, eax
mov eax, dword [ebp - 8]
sete bl
test eax, eax
je 0x401c26
push eax
call esi
cmp byte [ebp - 1], 0
jne 0x401c45
cmp byte [ebp - 2], 0
jne 0x401c45
cmp byte [ebp - 3], 0
jne 0x401c45
test bl, bl
jne 0x401c45
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401c90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x24]
cmp ax, 9
je 0x401cb6
cmp ax, 6
je 0x401cb6
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x401cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493db8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
test esi, esi
je 0x401d8f
cmp byte [esi], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x401d2c
xor ecx, ecx
jmp 0x401d3a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d31
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00404530
push 0x4b1368
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402cc0
push edi
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.00402cc0
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.00402940
lea ecx, [ebp - 0x58]
call fcn.00403f90
lea ecx, [ebp - 0x70]
call fcn.00403f90
lea ecx, [ebp - 0x40]
call fcn.00403f90
jmp 0x401db3
cmp byte [edi], 0
jne 0x401d98
xor ecx, ecx
jmp 0x401da9
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401da0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404530
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x401e1b
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x401e12
test cl, 0x1f
je 0x401dee
call fcn.0047ade1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x401dfa
call fcn.0047ade1
sub ecx, eax
cmp ecx, 4
jae 0x401e06
call fcn.0047ade1
cmp ecx, 0x23
jbe 0x401e10
call fcn.0047ade1
mov ecx, eax
push ecx
call fcn.0047072d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret
Function at 0x401e40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493de8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d53a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x14], 0xf
cmp byte [esi], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x401e8f
xor ecx, ecx
jmp 0x401e9d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401e94
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00404530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp byte [eax + ecx - 1], 0x5c
je 0x401ecd
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.004027f0
cmp byte [edi], 0
jne 0x401ed6
xor ecx, ecx
jmp 0x401ee9
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ee0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00403e30
push 0x38
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004726b0
add esp, 0xc
mov dword [ebp - 0x64], 0x3c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x60], 0x440
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x401fa0
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x401f97
test cl, 0x1f
je 0x401f73
call fcn.0047ade1
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x401f7f
call fcn.0047ade1
sub ecx, eax
cmp ecx, 4
jae 0x401f8b
call fcn.0047ade1
cmp ecx, 0x23
jbe 0x401f95
call fcn.0047ade1
mov ecx, eax
push ecx
call fcn.0047072d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470931
mov esp, ebp
pop ebp
ret