joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01b247
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.2e015dc1
and dword [ebp - 4], 0
cmp dword [0x2e022c68], 0
mov ebx, eax
jne 0x2e01b2f8
push 0x2e002d40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x2e01b3a9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e002d34
push edi
call esi
test eax, eax
je 0x2e01b3a9
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002d24
push edi
mov dword [0x2e022c68], eax
call esi
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002d10
push edi
mov dword [0x2e022c6c], eax
call esi
push eax
call fcn.2e015d4f
mov dword [esp], 0x2e002cf4
push edi
mov dword [0x2e022c70], eax
call esi
push eax
call fcn.2e015d4f
pop ecx
mov dword [0x2e022c78], eax
test eax, eax
je 0x2e01b2f8
push 0x2e002cdc
push edi
call esi
push eax
call fcn.2e015d4f
pop ecx
mov dword [0x2e022c74], eax
mov eax, dword [0x2e022c74]
cmp eax, ebx
je 0x2e01b350
cmp dword [0x2e022c78], ebx
je 0x2e01b350
push eax
call fcn.2e015dca
push dword [0x2e022c78]
mov esi, eax
call fcn.2e015dca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x2e01b350
test edi, edi
je 0x2e01b350
call esi
test eax, eax
je 0x2e01b347
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x2e01b347
test byte [ebp - 0xc], 1
jne 0x2e01b350
or dword [ebp + 0x10], 0x200000
jmp 0x2e01b389
mov eax, dword [0x2e022c6c]
cmp eax, ebx
je 0x2e01b389
push eax
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b389
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x2e01b389
mov eax, dword [0x2e022c70]
cmp eax, ebx
je 0x2e01b389
push eax
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b389
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x2e022c68]
call fcn.2e015dca
pop ecx
test eax, eax
je 0x2e01b3a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x2e01b3ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x404654
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40480c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4046b5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404828
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404722
xor eax, eax
push ebp
push 0x40471b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404704
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404848
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404722
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404803
cmp byte [ebp - 0xd], 0
jne 0x404764
cmp byte [ebp - 0x12], 0
je 0x404803
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40477d
dec ebx
cmp byte [ebx], 0x2e
je 0x40478c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40477c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404803
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4047b9
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404803
cmp byte [ebp - 0xd], 0
je 0x404803
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404803
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4072d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4073da
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x407323
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403424
jmp 0x4073c1
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.00407284
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004072a4
mov ebx, eax
test esi, esi
je 0x40734b
dec esi
test esi, esi
jl 0x40734b
cmp edi, ebx
jne 0x40732a
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.004034f4
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403788
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403584
cmp eax, 2
jl 0x4073c1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x4073c1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403584
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x4073c1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403584
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4073e1
lea eax, [ebp - 0x110]
call fcn.00403340
ret

Function at 0x40741c
Capabilities:
Get file attributes

Disassembly:
call fcn.00405ba8
push eax
call sub.kernel32.dll_GetFileAttributesA
and al, 0x10
sete al
ret

Function at 0x407474
Capabilities:
Get file attributes

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x407483
dec eax
and al, 0x10
setne al
ret

Function at 0x407720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40778a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034f4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00407534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407791
lea eax, [ebp - 0x10c]
call fcn.00403340
ret

Function at 0x407798
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x407802
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034f4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00407534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407809
lea eax, [ebp - 0x10c]
call fcn.00403340
ret
Function at 0x407810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40787a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.004034f4
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.00407534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407881
lea eax, [ebp - 0x10c]
call fcn.00403340
ret

Function at 0x407888
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push 0
mov eax, esi
call fcn.00403748
push eax
mov eax, ebx
call fcn.00403748
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, edi
mov edx, esp
mov ecx, 0x105
call fcn.0040356c
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4078c8
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403738
mov eax, dword [ebp - 8]
call fcn.00403738
xor eax, eax
push ebp
push 0x407a18
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403340
cmp dword [ebp - 4], 0
je 0x407930
mov eax, dword [ebp - 4]
call fcn.00403584
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x407930
lea eax, [ebp - 4]
mov edx, 0x407a30
call fcn.0040358c
cmp dword [ebp - 8], 0
je 0x40795f
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x40795f
lea ecx, [ebp - 0x150]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040702c
mov edx, dword [ebp - 0x150]
lea eax, [ebp - 8]
call fcn.004033d8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004035d0
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403748
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
test esi, esi
setne al
jmp 0x4079e8
test dword [ebp - 0x14c], 0x10
ja 0x4079d5
cmp dword [ebx], 0
je 0x4079a8
mov eax, ebx
mov edx, 0x407a3c
call fcn.0040358c
push dword [ebx]
push dword [ebp - 4]
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.0040356c
push dword [ebp - 0x150]
mov eax, ebx
mov edx, 3
call fcn.00403644
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x40798b
push esi
call sub.kernel32.dll_FindClose
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407a1f
lea eax, [ebp - 0x150]
call fcn.00403340
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403364
ret
Function at 0x407e50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov ebx, eax
pushal
call fcn.00407b4c
call fcn.00405e10
mov dword [ebx + 0x18], eax
popal
pushal
lea eax, [ebx + 0x1c]
call fcn.00403394
popal
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x407f4f
pushal
lea edx, [ebx + 0x1c]
mov eax, dword [edx]
call fcn.00407534
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x407ec5
call fcn.0040c564
mov dword [ebx + 0x20], eax
popal
pushal
push ecx
xchg ecx, eax
mov edx, 0x407eb7
call fcn.0040721c
test al, al
pop edx
jne 0x407ead
mov edx, 0x407ec3
mov eax, dword [ebx + 0x20]
call fcn.0040c590
jmp 0x407ec5
popal
add esp, 0xfffffec0
xor edx, edx
push edx
push edx
xchg ecx, eax
mov edx, esp
call fcn.00407b74
lea eax, [esp + 4]
mov edx, dword [ebx + 0x1c]
pop ecx
push ecx
call fcn.004035d0
call fcn.00405bcc
pop eax
mov edx, esp
push eax
push edx
push eax
call sub.kernel32.dll_FindFirstFileA
mov edi, eax
inc eax
mov eax, esp
pushfd
call fcn.00403340
popfd
pop ecx
je 0x407f49
mov ecx, dword [esp]
push dword [ebp + 8]
lea edx, [esp + 0x30]
mov eax, ebx
call fcn.00407bac
test al, al
je 0x407f38
mov eax, 0x140
push eax
call fcn.00402600
push eax
xchg edx, eax
mov eax, dword [ebx + 0x18]
call fcn.00405e8c
pop edx
pop ecx
mov eax, esp
call fcn.004026d4
push esp
push edi
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x407f05
push edi
call sub.kernel32.dll_FindClose
add esp, 0x140
xor eax, eax
xchg dword [ebx + 0x20], eax
call fcn.00405d94
pop edi
pop ebx
pop ebp
ret 4

Function at 0x407f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
call fcn.00403748
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete al
pop ebp
ret

Function at 0x4081bc
Capabilities:
Create thread

Disassembly:
push ebx
mov eax, dword [0x46390c]
mov byte [eax], 1
mov edx, dword [0x405a0c]
xor eax, eax
call fcn.00405d4c
mov ebx, eax
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1e]
push eax
push 4
push ebx
push 0x4081ac
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x1a], eax
mov eax, ebx
pop ebx
ret

Function at 0x40824c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x408267
mov byte [ebx + 0x18], 1
pop ebx
ret
cmp word [ebx + 0x2c], 0
je 0x408276
mov edx, ebx
mov eax, dword [ebx + 0x2e]
call dword [ebx + 0x2a]
pop ebx
ret

Function at 0x408278
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x1a]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x19], 1
pop ebx
ret
Function at 0x408618
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4086b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x408665
mov eax, dword [ebx + 0x19]
call fcn.00403748
push eax
push esi
mov eax, edi
call fcn.00403748
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403748
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x40869a
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.00403748
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.00406ebc
mov eax, dword [ebp - 8]
call fcn.00403748
push eax
mov eax, edi
call fcn.00403748
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403748
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4086b7
lea eax, [ebp - 8]
call fcn.00403340
ret

Function at 0x4086c4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x4086cd
mov eax, dword [ebp - 4]
add esp, 4
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x18], 0
jne 0x40873b
mov byte [ebp - 0x8000], 0
mov eax, dword [ebx + 0x19]
call fcn.00403748
push eax
push 0x8000
lea eax, [ebp - 0x8000]
push eax
mov eax, esi
call fcn.00403748
push eax
mov eax, edi
call fcn.00403748
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403748
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x8000]
mov ecx, 0x8000
call fcn.0040356c
jmp 0x40876c
mov eax, dword [ebp + 8]
mov edx, esi
call fcn.004033d8
mov eax, dword [ebx + 0x19]
call fcn.00403748
push eax
mov eax, esi
call fcn.00403748
push eax
mov eax, edi
call fcn.00403748
push eax
mov eax, dword [ebx + 0x1d]
call fcn.00403748
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b004
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x40b013
mov edx, dword [edx + 0x36]
jmp fcn.004034f4
mov ecx, dword [edx + 0x18]
jecxz 0x40b00b
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.004038b4
pop edx
mov ecx, dword [ebx]
jecxz 0x40b03b
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x40b0ac
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x40b0b8
or byte [eax + 0x27], 0x10
mov byte [eax + 0x4e], dl
mov ecx, dword [eax + 0x18]
jecxz 0x40b0d4
push eax
je 0x40b0d5
call dword [0x461164]
pop eax
push 5
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x15a], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x461164]
ret

Function at 0x40db34
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.0040d4b4
je 0x40db79
mov eax, ebx
push edx
call fcn.0040df0c
pop edx
cmp eax, edx
je 0x40db79
test edx, edx
mov eax, ebx
jne 0x40db58
pop ebx
inc edx
jmp fcn.0040defc
mov byte [ebx + 0x49], dl
cmp dl, 5
jne 0x40db61
dec edx
push edx
xor edx, edx
call fcn.0040defc
mov eax, dword [ebx + 0x3d]
movzx eax, word [eax + 0xe]
call fcn.0040cf44
pop edx
cmp al, dl
xchg ebx, eax
pop ebx
jne fcn.0040dc14
ret
Function at 0x40e8d0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x4614e0], 0xff
je 0x40e8e6
mov al, byte [0x4614e0]
jmp 0x40e946
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40e91f
mov al, 3
mov edx, dword [esp + 4]
cmp edx, 6
jb 0x40e90b
mov al, 6
jmp 0x40e941
cmp edx, 5
jb 0x40e941
cmp dword [esp + 8], 1
jb 0x40e91b
mov al, 5
jmp 0x40e941
mov al, 4
jmp 0x40e941
cmp eax, 1
jne 0x40e93f
mov al, 1
cmp dword [esp + 4], 4
ja 0x40e93b
cmp dword [esp + 4], 4
jne 0x40e941
cmp dword [esp + 8], 0xa
jb 0x40e941
mov al, 2
jmp 0x40e941
xor eax, eax
mov byte [0x4614e0], al
add esp, 0x94
ret
Function at 0x418b94
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, dword [0x463918]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x418c2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x418bd5
call fcn.00402ef8
jmp 0x418c34
mov dword [ebx + 0x1c8], esi
mov ax, word [0x464620]
mov word [ebp - 0x18], ax
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004189ac
test eax, eax
jne 0x418c16
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [0x464620]
push eax
call sub.user32.dll_SetClipboardData
jmp 0x418c1a
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418c34
call sub.user32.dll_CloseClipboard
ret
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a2e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a3ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor eax, eax
mov dword [ebx + 0x2c], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402808
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
xor eax, eax
mov al, byte [ebx + 0x38]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x4000000
push 0
push 0
push 0
push edi
push 0x41a3c8
push dword [ebp - 4]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.00403644
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00406ff4
mov eax, dword [ebp - 0x5c]
call fcn.00403748
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41a393
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3b5
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00403364
ret
Function at 0x41a5ac
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, eax
cmp dword [esi + 8], 0
je 0x41a5c1
mov bl, 1
jmp 0x41a66b
mov dword [esp], 0xc
mov dword [esp + 8], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
push 0
lea eax, [esp + 4]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x41a624
push 0x2000
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x41a624
push 0x2000
lea eax, [esp + 4]
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x41a628
xor ebx, ebx
jmp 0x41a62a
mov bl, 1
test bl, bl
je 0x41a657
push 0
push 1
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0x18]
push eax
call sub.kernel32.dll_SetHandleInformation
push 0
push 1
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_SetHandleInformation
jmp 0x41a66b
call sub.kernel32.dll_GetLastError_1
mov edi, eax
mov eax, esi
call fcn.0041a674
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x41a928
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41aaa0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x41aa85
xor eax, eax
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebx + 0x28], eax
mov eax, ebx
call fcn.0041a5ac
test al, al
jne 0x41a983
call sub.kernel32.dll_GetLastError_1
mov edx, eax
lea eax, [ebx + 0xa0]
call fcn.0040fc30
jmp 0x41aa85
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.00402808
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
xor eax, eax
mov al, byte [ebx + 0x38]
mov word [ebp - 0x14], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
push esi
push 0x41aab8
push edi
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00403644
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00406ff4
mov eax, dword [ebp - 0x58]
call fcn.00403748
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x41aa68
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp byte [ebx + 0x39], 1
jne 0x41aa54
cmp dword [ebx + 0x20], 0
jne 0x41aa35
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x94]
call fcn.0040fe38
mov eax, ebx
call fcn.0041a6d0
push 0xffffffffffffffff
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x41aa85
lea eax, [ebx + 0x94]
call fcn.0040fe38
mov eax, ebx
call fcn.0041a6d0
jmp 0x41aa85
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x44], eax
mov eax, ebx
call fcn.0041a674
lea eax, [ebx + 0xa0]
mov edx, dword [ebp - 0x44]
call fcn.0040fc30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aaa7
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00403364
ret