joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406491
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x4068fe
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4063ca
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 0xd2
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0x6e
mov byte [ebp - 0x777], 0x17
mov byte [ebp - 0x776], 0x71
jno 0x40620d
test dword [ebx + 0x7dfffff8], ecx
mov byte [ebp - 0x774], 0x5f
mov byte [ebp - 0x773], 0x42
mov byte [ebp - 0x772], 0x4a
mov byte [ebp - 0x771], 0x5f
mov byte [ebp - 0x770], 0x4c
mov byte [ebp - 0x76f], 0x40
mov byte [ebp - 0x76e], 0xd
mov byte [ebp - 0x76d], 0x6b
mov byte [ebp - 0x76c], 0x44
mov byte [ebp - 0x76b], 0x41
mov byte [ebp - 0x76a], 0x48
mov byte [ebp - 0x769], 0x5e
mov byte [ebp - 0x768], 0x71
mov byte [ebp - 0x767], 0x6e
mov byte [ebp - 0x766], 0x42
mov byte [ebp - 0x765], 0x40
mov byte [ebp - 0x764], 0x40
mov byte [ebp - 0x763], 0x42
mov byte [ebp - 0x762], 0x43
mov byte [ebp - 0x761], 0xd
mov byte [ebp - 0x760], 0x6b
mov byte [ebp - 0x75f], 0x44
mov byte [ebp - 0x75e], 0x41
mov byte [ebp - 0x75d], 0x48
mov byte [ebp - 0x75c], 0x5e
mov byte [ebp - 0x75b], 0x71
mov byte [ebp - 0x75a], 0x7e
mov byte [ebp - 0x759], 0x54
mov byte [ebp - 0x758], 0x5e
mov byte [ebp - 0x757], 0x59
pop ecx
mov byte [ebp - 0x756], 0x48
mov byte [ebp - 0x755], 0x40
mov byte [ebp - 0x754], 0x71
mov byte [ebp - 0x753], 0x5e
mov byte [ebp - 0x752], 0x54
mov byte [ebp - 0x751], 0x40
mov byte [ebp - 0x750], 0x5e
mov byte [ebp - 0x74f], 0x5f
mov byte [ebp - 0x74e], 0x5b
mov byte [ebp - 0x74d], 3
mov byte [ebp - 0x74c], 0x49
mov byte [ebp - 0x74b], 0x41
mov byte [ebp - 0x74a], 0x41
mov byte [ebp - 0x749], 0x2d
lea eax, [ebp - 0x77c]
test dword [eax + edi*8 - 0x17af0001], eax
loope 0x40636f
invalid
call [ecx - 0x76]
test esp, edx
invalid
invalid
dec dword [eax - 0x7777b]
jmp [edx + 0x30]
lea eax, [ebp - 0x77c]
push eax
call fcn.0040486e
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.004047cf
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x4067d0
cmp dword [ebp - 0x6fc], 1
jne 0x406484
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0x5f
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 0xfc
mov byte [ebp - 0x787], 0xc4
cmp dword [ebp - 0x6fc], 2
jne 0x406538
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0xa9
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xa
mov byte [ebp - 0x797], 0x35
mov byte [ebp - 0x796], 0x39
invalid
invalid

Function at 0x40650b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop edi
jecxz 0x40650d
invalid
call [ecx + 0x50]
mov eax, dword [ebp - 0x550]
lea eax, [ebp + eax - 0x654]
push eax
call fcn.004047cf
add esp, 0xc
lea eax, [ebp - 0x654]
mov dword [ebp - 0x3a0], eax
jmp 0x4067d0
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5f453dba
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x500a40d3
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4016e0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_malloc]
push edi
push 0x170
call esi
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
push 0
push 0x10
push 2
mov dword [esp + 0x20], 0x170
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov ebx, dword [sym.imp.MSVCR100.dll_free]
cmp eax, 0x6f
je 0x401722
test eax, eax
jne 0x4017c9
push edi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edi, eax
add esp, 8
test edi, edi
je 0x4017d3
lea edx, [esp + 0xc]
push edx
push edi
push 0
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x4017c9
mov esi, edi
mov eax, 1
cmp dword [esi + 0x44], eax
je 0x401763
mov esi, dword [esi + 8]
test esi, esi
jne 0x401755
jmp 0x4017c9
movzx eax, byte [esi + 0x31]
movzx ecx, byte [esi + 0x30]
movzx edx, byte [esi + 0x2f]
push eax
movzx eax, byte [esi + 0x2e]
push ecx
movzx ecx, byte [esi + 0x2d]
push edx
movzx edx, byte [esi + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
movzx ecx, byte [esi + 0x2c]
movzx edx, byte [esi + 0x2d]
mov eax, dword [esp + 0x38]
shl ecx, 8
or ecx, edx
mov dword [eax + 4], ecx
movzx ecx, byte [esi + 0x2e]
movzx edx, byte [esi + 0x2f]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x30]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x31]
shl ecx, 8
add esp, 0x20
or ecx, edx
mov dword [eax], ecx
test edi, edi
je 0x4017d3
push edi
call ebx
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x404e50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a190]
jne 0x404e5a
repz ret
jmp fcn.004052e8

Function at 0x4059e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLocal8Bit_void_]
mov edx, dword [esp + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x405a22
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
push esi
push 4
push 0x30
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.QtCore4.dll_public:_static_struct_QVectorData____cdecl_QVectorData::allocate_int__int_]
mov esi, eax
add esp, 8
test esi, esi
jne 0x405a54
call dword [sym.imp.QtCore4.dll_void___cdecl_qBadAlloc_void_]
mov dword [esp + 4], esi
mov dword [esi], 1
mov edx, dword [esp + 4]
mov eax, 8
mov dword [edx + 8], eax
mov ecx, dword [esp + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 4]
or dword [eax + 0xc], 1
mov eax, dword [esp + 4]
and dword [eax + 0xc], 0xfffffffd
mov edx, dword [esp + 4]
push 0x20
add edx, 0x10
push 0
push edx
call dword [sym.imp.QtCore4.dll_void____cdecl_qMemSet_void___int__unsigned_int_]
add esp, 0xc
lea ecx, [esp + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::detach_void_]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call sub.QtCore4.dll_void___cdecl_qWinMain_struct_HINSTANCE_____struct_HINSTANCE_____char___int__int___class_QVector_char____
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add esp, 0x18
cmp edx, 1
je 0x405ae9
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.00405830
mov eax, dword [esp + 4]
add eax, 0x10
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00402cf0
mov esi, eax
mov eax, dword [esp + 0xc]
add esp, 8
test eax, eax
je 0x405b21
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405b21
mov edx, dword [esp + 4]
push 4
push edx
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QVectorData::free_struct_QVectorData___int_]
add esp, 8
mov eax, dword [esp + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x405b3c
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, esi
pop esi
add esp, 0x18
ret 0x10
Function at 0x403970
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push edi
push eax
push str.SoftwareASD
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
push ecx
stosb byte es:[edi], al
call sub.MFC42.DLL_CTime::GetTickCount
mov eax, dword [eax]
lea edx, [esp + 0xc]
push 0xa
push edx
push eax
call dword [sym.imp.MSVCRT.dll__ltoa]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 4]
dec ecx
push ecx
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
push 0x4071cc
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 0x10c
ret

Function at 0x40a580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_exit]
push esi
push edi
mov edi, dword [ebp + 0x29]
add dh, dl
push edi
call ebx
push 0x5c
test edx, ecx
invalid
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c004]
jne 0x401010
repz ret
jmp fcn.004017e2

Function at 0x407455
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.0040229e
and dword [ebp - 4], 0
cmp dword [0x45f480], 0
mov ebx, eax
jne 0x407506
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4075b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4075b7
push eax
call fcn.0040222c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45f480], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45f484], eax
call esi
push eax
call fcn.0040222c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45f488], eax
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x45f490], eax
test eax, eax
je 0x407506
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040222c
pop ecx
mov dword [0x45f48c], eax
mov eax, dword [0x45f48c]
cmp eax, ebx
je 0x40755e
cmp dword [0x45f490], ebx
je 0x40755e
push eax
call fcn.004022a7
push dword [0x45f490]
mov esi, eax
call fcn.004022a7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40755e
test edi, edi
je 0x40755e
call esi
test eax, eax
je 0x407555
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407555
test byte [ebp - 0xc], 1
jne 0x40755e
or dword [ebp + 0x10], 0x200000
jmp 0x407597
mov eax, dword [0x45f484]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407597
mov eax, dword [0x45f488]
cmp eax, ebx
je 0x407597
push eax
call fcn.004022a7
pop ecx
test eax, eax
je 0x407597
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f480]
call fcn.004022a7
pop ecx
test eax, eax
je 0x4075b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4075b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x454cf0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x45d000]
push ebx
mov ebx, dword [0x830294]
push esi
mov esi, dword [0x8300dc]
push eax
call fcn.00454be0
add esp, 4
cmp dword [0x830294], 0x2f
jne 0x454d1b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
call fcn.00454c50
add esp, 4
cmp dword [0x830294], 0x568
pop esi
pop ebx
jne 0x454d3a
push 0
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
ret
Function at 0x40332c
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.00404bb4
test esi, esi
jne 0x403362
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.00404ca4
jmp 0x403380
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004031d0
mov edi, eax
test esi, esi
je 0x403380
cmp dword [ebx], 0
je 0x403380
dec esi
jmp 0x403369
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403acc
Capabilities:
Query or enumerate registry value

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

Function at 0x404980
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47d04c], 0
je 0x4049e1
cmp word [0x47d220], 0xd7b2
jne 0x4049a9
cmp dword [0x47d228], 0
jbe 0x4049a9
mov eax, 0x47d21c
call dword [0x47d238]
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 0x404a08
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47a02c], 0
jne 0x4049fd
push 0
push 0x47a758
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b38
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 [0x47a030], 0
je 0x404b5e
mov edx, esi
mov eax, ebx
call dword [0x47a030]
jmp 0x404b6d
mov eax, 8
call fcn.00402ee0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x47d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404b00
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 0x408cf8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408d4a
test eax, edx
je 0x408d4d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408d0d
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 0x408d33
add ecx, 4
js 0x408d23
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408d30
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 0x408d59
test edx, edx
jne 0x408d00
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c5f8
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 0x40c631
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404ca4
jmp 0x40c63a
mov eax, ebx
mov edx, esi
call fcn.00404c08
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c644
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 0x40c666
movzx eax, byte [esp]
jmp 0x40c668
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ccf8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cb70
mov eax, dword [0x47bfa4]
cmp byte [eax], 0
je 0x40cd74
mov eax, dword [0x47bd58]
call fcn.00403444
call fcn.0040303c
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.004097bc
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 0x40cdbc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cdaa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47bcf8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47f7f8]
call fcn.00406170
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 0x40d67c
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 0x40d752
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c4c
lea eax, [ebp - 4]
call fcn.0040509c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405044
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d73c
mov eax, ebx
call fcn.00402ee0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d735
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.00405044
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d71f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d764
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d71f
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 0x40d73c
mov eax, dword [ebp - 0x10]
call fcn.00402efc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d759
lea eax, [ebp - 4]
call fcn.00404bb4
ret

Function at 0x422850
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 0x42289e
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.0042258c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4228b7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4228c0
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.0042258c
dec esi
jne 0x4228e2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x424074
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4819f0
cmp dword [edi], 0
jne 0x4240f0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4819ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47abf8
mov ecx, 2
call fcn.004030d0
mov edx, 0x42404c
lea eax, [esi + 5]
call fcn.0042406c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042406c
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 0x4240c5
mov dword [0x4819ec], 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 0x426900
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.00405044
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x426958
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47c0ec]
mov dl, 1
mov eax, dword [0x42640c]
call fcn.0040ceb8
call fcn.00404548
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00426514
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 0x427ae8
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 0x427aee
ret
Function at 0x436a74
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.00405034
xor eax, eax
push ebp
push 0x436ba9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x436b7c
xor edx, edx
push ebp
push 0x436b75
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x436ac1
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 0x436b4a
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 0x436b39
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x436b00
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405044
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004030d0
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 0x436b40
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47bc84]
mov dl, 1
mov eax, dword [0x407e64]
call fcn.0040ce7c
call fcn.00404548
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436bb0
lea eax, [ebp - 4]
call fcn.00404bb4
ret