joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405664
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x4056a9
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x405698
cmp eax, dword [ebp + 0x10]
jle 0x405732
mov dword [0x40e340], 8
xor eax, eax
jmp 0x40579d
cmp dword [0x40ec08], 1
jne 0x4056ee
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x405732
xor eax, eax
jmp 0x40579d
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x40572e
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
jmp 0x405732
xor eax, eax
jmp 0x40579d
lea edx, [ebp - 0x10c]
push edx
call fcn.0040161c
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x405752
mov dword [0x40e340], 0x22
xor eax, eax
jmp 0x40579d
test edi, edi
jne 0x405774
mov edx, dword [ebp + 0x10]
push edx
call fcn.004093f8
pop ecx
mov edi, eax
test eax, eax
jne 0x405774
mov dword [0x40e340], 8
xor eax, eax
jmp 0x40579d
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405c6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x405c8b
mov eax, dword [0x40d508]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x405c98
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x405cc5
je 0x405cd7
sub ecx, 0x100
je 0x405ce5
sub ecx, 0x100
je 0x405cec
sub ecx, 0x100
je 0x405cde
jmp 0x405cf3
sub ecx, 0x600
je 0x405cec
sub ecx, 0x100
je 0x405cd7
jmp 0x405cf3
mov edi, 1
jmp 0x405cf8
mov edi, 2
jmp 0x405cf8
mov edi, 4
jmp 0x405cf8
mov edi, 5
jmp 0x405cf8
mov edi, 3
test byte [ebp + 0xd], 1
je 0x405d1f
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x40da04]
test al, 0x80
je 0x405d18
mov ebx, 0x80
jmp 0x405d31
mov ebx, 1
jmp 0x405d31
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x405d31
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x405d43
je 0x405d4c
dec eax
je 0x405d55
jmp 0x405d5e
mov dword [ebp - 4], 0x80000000
jmp 0x405d6d
mov dword [ebp - 4], 0x40000000
jmp 0x405d6d
mov dword [ebp - 4], 0xc0000000
jmp 0x405d6d
push 1
call fcn.00405a48
pop ecx
mov ebx, eax
jmp 0x405e59
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x405d89
sub eax, 0x10
je 0x405d90
sub eax, 0x10
je 0x405d99
sub eax, 0x10
je 0x405da2
jmp 0x405da2
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x405da9
mov dword [ebp - 8], 1
jmp 0x405da9
mov dword [ebp - 8], 2
jmp 0x405da9
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x405e12
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x405e07
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x405e07
add ebx, 0xffffffb2
push ebx
call fcn.00405a48
pop ecx
mov ebx, eax
jmp 0x405e59
mov edi, esi
push edi
call fcn.00405bdc
pop ecx
test eax, eax
je 0x405e26
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x405e32
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004057a4
add esp, 8
mov ebx, eax
inc eax
jne 0x405e59
push 4
call fcn.00405a48
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4096d4
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x409b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x40e344], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x409be8
cmp byte [0x40c0e6], 0
je 0x409ba2
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.00408ae4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x409b8b
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.00408ae4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x409b8b
lea ebx, [ebp - 0x54]
jmp 0x409b8c
inc ebx
call fcn.00409ae8
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x409c09
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40e348
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0040161c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40e34b
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x409c09
cmp dword [0x40e344], 0xffffffff
je 0x409c09
mov eax, dword [0x40e344]
test eax, eax
je 0x409c09
cmp byte [eax], 0
je 0x409c09
push esi
push eax
call fcn.00409c98
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a8f4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x40ec98], 0
jne 0x40a975
cmp dword [0x40ecb4], 0
jne 0x40a924
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x40ecb4], eax
test eax, eax
jne 0x40a924
push str.GetEnvironmentStrings_failed
call fcn.00409c20
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x40ecb4]
jmp 0x40a938
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040161c
pop ecx
mov edi, eax
test eax, eax
jne 0x40a930
lea edi, [ebp + 1]
push edi
call fcn.004093f8
pop ecx
mov ebx, eax
mov dword [0x40ec9c], ebx
test ebx, ebx
jne 0x40a962
xor eax, eax
jmp 0x40aa38
push edi
mov edx, dword [0x40ecb4]
push edx
push ebx
call fcn.00401450
add esp, 0xc
jmp 0x40a995
xor esi, esi
mov ebx, dword [0x40ec98]
jmp 0x40a98f
push eax
call fcn.0040161c
pop ecx
test eax, eax
jne 0x40a98b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a97f
lea ebx, [esi + 4]
push 4
mov dword [0x40eca0], ebx
inc ebx
push ebx
call fcn.00408b3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40a9b8
xor eax, eax
jmp 0x40aa38
cmp dword [0x40ec98], 0
jne 0x40a9e9
xor esi, esi
mov ebx, dword [0x40ec9c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40a9da
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040161c
pop ecx
mov edi, eax
test eax, eax
jne 0x40a9d0
jmp 0x40aa1a
xor esi, esi
mov ebx, dword [0x40ec98]
mov eax, dword [esp]
mov edi, eax
jmp 0x40aa14
push eax
call fcn.0040161c
pop ecx
test eax, eax
je 0x40aa09
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40aa0d
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40a9f8
mov eax, dword [0x40ec98]
test eax, eax
je 0x40aa2a
push eax
call fcn.004092f0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x40ec98], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402b90
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004047a0
test esi, esi
jne 0x402bc6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404890
jmp 0x402be4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402aa4
mov edi, eax
test esi, esi
je 0x402be4
cmp dword [ebx], 0
je 0x402be4
dec esi
jmp 0x402bcd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403220
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x51b008], 0x8088405
inc edx
mov dword [ebx + 0x51b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4037e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x51b024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403878
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403858
xor eax, eax
push ebp
push 0x403851
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403894
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403858
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x51b024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x51b024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4045a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51f04c], 0
je 0x404601
cmp word [0x51f220], 0xd7b2
jne 0x4045c9
cmp dword [0x51f228], 0
jbe 0x4045c9
mov eax, 0x51f21c
call dword [0x51f238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x51b074
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404628
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51b034], 0
jne 0x40461d
push 0
push 0x51b06c
push 0x51b074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404754
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402830
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51f04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40471c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406a28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406a8e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404a10
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040323c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a95
lea eax, [ebp - 0x10]
call fcn.004047a0
ret

Function at 0x4099b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c60
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4099cd
test al, 0x10
jne 0x4099d1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409ac0
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404c60
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409ae2
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40cd80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cdb9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404890
jmp 0x40cdc2
mov eax, ebx
mov edx, esi
call fcn.004047f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cdcc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40cded
mov al, byte [esp]
jmp 0x40cdef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40d474
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d2ec
mov eax, dword [0x51e840]
cmp byte [eax], 0
je 0x40d4f0
mov eax, dword [0x51e400]
call fcn.00403044
call fcn.00402998
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409ec4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40d538
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d526
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x51e350]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x51f668]
call fcn.00405f3c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40de04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40deda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404838
lea eax, [ebp - 8]
call fcn.00404cb0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c60
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40dec4
mov eax, ebx
call fcn.00402830
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40debd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c60
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40dea7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40deec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40dea7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dec4
mov eax, dword [ebp - 0x10]
call fcn.00402850
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dee1
lea eax, [ebp - 8]
call fcn.004047a0
ret

Function at 0x40e4dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40e540
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404a10
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409614
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e547
lea eax, [ebp - 0xc]
call fcn.004047a0
ret
Function at 0x427300
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x42734d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0042712c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x427365
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42736c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042712c
dec esi
jne 0x42738e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x428af0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x51f88c
cmp dword [edi], 0
jne 0x428b6c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x51f888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51b6d0
mov ecx, 2
call fcn.00402a64
mov edx, 0x428ac8
lea eax, [esi + 5]
call fcn.00428ae8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428ae8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x428b41
mov dword [0x51f888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a1e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42a1e6
ret

Function at 0x42c970
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42c9c1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42c9a8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42c998
jmp 0x42c9c1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42c9a9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4377b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c50
xor eax, eax
push ebp
push 0x4378de
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4378b1
xor eax, eax
push ebp
push 0x4378aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a60
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43787f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x43786e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a60
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov edx, ebx
pop ecx
call fcn.00402a64
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437875
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x51e244]
mov dl, 1
mov eax, dword [0x40812c]
call fcn.0040d628
call fcn.0040413c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4378e5
lea eax, [ebp - 4]
call fcn.004047a0
ret
Function at 0x4378ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x437a9d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e50
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x437ab4
call fcn.00404aac
mov eax, ebx
call fcn.00427a64
mov edi, eax
dec edi
test edi, edi
jl 0x4379a4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00427a38
mov edx, dword [0x451adc]
call fcn.00403afc
test al, al
je 0x4379a0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00427a38
lea edx, [ebp - 0x14]
call fcn.0046066c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e50
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b20
inc esi
dec edi
jne 0x437952
mov al, byte [0x437ab8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x437ac4
mov eax, dword [ebp - 0xc]
call fcn.0040eab4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404838
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0046066c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x437ab4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0046066c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x437ab4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x437ab4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x437ad0
call fcn.0040a5c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437aa4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x14]
call fcn.004047a0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047c4
ret