joyce8/EMBER2024-capa huggingface dataset:
Function at 0x74c790
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47f043
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0077c8da
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5e2c28
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x5e12f8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
push edi
call 0x9d21aa
push eax
mov ecx, edi
call fcn.00782053
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.007835ab
test eax, eax
je 0x74c8ac
mov ecx, dword [esp + 0x3c]
call fcn.00782080
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x48160c]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x74c870
push edi
mov ecx, esi
call fcn.0077f63f
mov ecx, esi
call fcn.0074ca10
cmp dword [esp + 0x38], 1
jne 0x74c8a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0077f7a9
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x74f2e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x74f313
push esi
call fcn.007523f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x74f30c
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 0x74f399
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x74f382
mov eax, dword [esi + 8]
test eax, eax
je 0x74f337
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 0x74f37e
cmp eax, 2
je 0x74f382
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x74f32a
cmp eax, 3
je 0x74f35d
cmp eax, 1
jne 0x74f32a
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 0x74f32a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x74f32a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0074f3c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x74f3a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0074f3c0
add esp, 4
pop esi
ret
Function at 0x75daf0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x47f6e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
lea ecx, [esp + 0x14]
call fcn.0075e430
mov dword [esp + 0x14], 0x5e23fc
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.0075dbd0
mov edi, dword [esp + 0x2c]
add esp, 8
shr edi, 2
dec edi
js 0x75dba5
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [0x4815d8]
push esi
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + edi*4]
push esi
call ebp
lea ecx, [esp + 0x10]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
call dword [0x481584]
lea eax, [esp + 0x10]
push eax
call 0x98f2e5
xor dword [ebp - 0x72da8a40], eax
dec esp
and al, 0x10
push ecx
push esi
call fcn.0077cd05
mov ecx, eax
call fcn.00781c19
push 0x705
lea edx, [esp + 0x14]
push 0
push edx
push esi
push ebp
call 0x9ba560
dec edi
jns 0x75db4b
pop esi
pop ebp
pop ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], 0x5e23d8
call fcn.0075e630
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x760640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47fa20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.007601f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00760270
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00760270
lea ecx, [esi + 0xc]
call fcn.0077b241
lea ecx, [esi + 0x10]
call fcn.0077b241
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00761800
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00761800
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00761800
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0077b2b6
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0077b2b6
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x126154d
Capabilities:
Parse pe header

Disassembly:
xchg dword [esp], eax
lea eax, [eax + 0x4ce]
xchg dword [esp], eax
jmp 0x1261a19
shl eax, 0x10
jmp 0x12617b7
add eax, dword [eax + 0x3c]
jmp 0x12619cc
cmp word [eax], 0x5a4d
jmp 0x1261875
shr eax, 0x10
jmp 0x1261b88
ret
shr eax, 0x10
jmp 0x12615ab
jne 0x126176d
jmp 0x1261730
add eax, 0x10000
jmp 0x126176d
jne 0x126176d
jmp 0x12617d9
cmp dword [eax], 0x4550
jmp 0x1261969
pop eax
jmp 0x126195c
sub eax, 0x10000
jmp 0x1261747
shl eax, 0x10
jmp 0x1261b05
Function at 0x40330c
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.00404b58
test esi, esi
jne 0x403342
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.00404c48
jmp 0x403360
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004031b0
mov edi, eax
test esi, esi
je 0x403360
cmp dword [ebx], 0
je 0x403360
dec esi
jmp 0x403349
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x473020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b08
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403ae8
xor eax, eax
push ebp
push 0x403ae1
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 0x403b24
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 0x403ae8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x473020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x473020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404924
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47504c], 0
je 0x404985
cmp word [0x475220], 0xd7b2
jne 0x40494d
cmp dword [0x475228], 0
jbe 0x40494d
mov eax, 0x47521c
call dword [0x475238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x4049ac
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47302c], 0
jne 0x4049a1
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404adc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x473030], 0
je 0x404b02
mov edx, esi
mov eax, ebx
call dword [0x473030]
jmp 0x404b11
mov eax, 8
call fcn.00402ec0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x47504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404aa4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x40618c
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 0xf0019
push 0
push 0x4063bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40620f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40620f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063d8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406298
xor eax, eax
push ebp
push 0x406291
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405fc8
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 0x406276
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4063f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406276
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406298
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x4063b2
cmp byte [ebp - 0xd], 0
jne 0x4062df
cmp byte [ebp - 0x12], 0
je 0x4063b2
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4062f8
dec ebx
cmp byte [ebx], 0x2e
je 0x406307
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4062f7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4063b2
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406344
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063b2
cmp byte [ebp - 0xd], 0
je 0x4063b2
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063b2
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x408d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408de2
test eax, edx
je 0x408de5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408da5
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408dcb
add ecx, 4
js 0x408dbb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408dc8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408df1
test edx, edx
jne 0x408d98
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404fe8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409779
test al, 0x10
je 0x40977d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

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

Function at 0x40c538
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 0x40c571
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404c48
jmp 0x40c57a
mov eax, ebx
mov edx, esi
call fcn.00404bac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c584
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 0x40c5a6
movzx eax, byte [esp]
jmp 0x40c5a8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40cc38
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cab0
mov eax, dword [0x474cac]
cmp byte [eax], 0
je 0x40ccb4
mov eax, dword [0x474a78]
call fcn.00403424
call fcn.0040301c
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.00409aa8
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 0x40ccfc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ccea
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x474a1c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4777f8]
call fcn.00405f70
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 0x40d5b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d68a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404bf0
lea eax, [ebp - 4]
call fcn.00405040
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fe8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d674
mov eax, ebx
call fcn.00402ec0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d66d
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 - 4]
call fcn.00404fe8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d657
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d69c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d657
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d674
mov eax, dword [ebp - 0x10]
call fcn.00402edc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d691
lea eax, [ebp - 4]
call fcn.00404b58
ret

Function at 0x41fdec
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]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41fe3a
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.0041fb28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41fe53
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x41fe5c
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.0041fb28
dec esi
jne 0x41fe7e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4799f0
cmp dword [edi], 0
jne 0x42168c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4799ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x473b70
mov ecx, 2
call fcn.004030b0
mov edx, 0x4215e8
lea eax, [esi + 5]
call fcn.00421608
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421608
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 0x421661
mov dword [0x4799ec], 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 0x42503c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00424a84
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404fe8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42509b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x474bac]
mov dl, 1
mov eax, dword [0x42497c]
call fcn.0040ce04
call fcn.004044ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4250a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404fe8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4250fc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x474dfc]
mov dl, 1
mov eax, dword [0x42497c]
call fcn.0040ce04
call fcn.004044ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424ab4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42633c
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 0x426342
ret
Function at 0x4340b0
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.00404fd8
xor eax, eax
push ebp
push 0x4341e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4341b8
xor edx, edx
push ebp
push 0x4341b1
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4340fd
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x434186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x434175
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x43413c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00404fe8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004030b0
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 0x43417c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4749a8]
mov dl, 1
mov eax, dword [0x407fd4]
call fcn.0040cdc8
call fcn.004044ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4341ec
lea eax, [ebp - 4]
call fcn.00404b58
ret
Function at 0x4341f4
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 - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4343af
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004052dc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4343c8
call fcn.00404e70
mov eax, ebx
call fcn.00420570
mov edi, eax
dec edi
test edi, edi
jl 0x4342ac
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00420544
mov edx, dword [0x430340]
call fcn.00403e04
test al, al
je 0x4342a8
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00420544
lea edx, [ebp - 0x14]
call fcn.004431b0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004052dc
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404eec
inc esi
dec edi
jne 0x43425a
movzx eax, byte [0x4343cc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4343d8
mov eax, dword [ebp - 8]
call fcn.0040e110
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404bf0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004431b0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4343c8
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.004431b0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4343c8
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4343c8
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4343e4
call fcn.0040a204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4343b6
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404b7c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404b7c
lea eax, [ebp - 0x14]
call fcn.00404b58
lea eax, [ebp - 0x10]
call fcn.00404b58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b7c
ret