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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 1
call fcn.00412a70
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5a5f57
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x18], 0x61
mov edx, 1
imul eax, edx, 0xe
mov byte [ebp + eax - 0x18], 0x78
mov ecx, 1
imul edx, ecx, 0xf
mov byte [ebp + edx - 0x18], 0x41
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x18], 0x79
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x18], 0x6c
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x18], 0x56
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x18], 0x75
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x18], 0x65
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x18], 0x72
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x18], 0x67
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x18], 0x51
mov edx, 1
shl edx, 4
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x11
jae 0x5a5ed7
jmp 0x5a5edc
call fcn.0055fd97
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0x18], 0
mov ecx, 1
imul edx, ecx, 0xb
mov byte [ebp + edx - 0x18], 0x75
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
imul eax, edx, 0xd
mov byte [ebp + eax - 0x18], 0x45
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x18], 0x52
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5a5f4d
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret
Function at 0x5a6c10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 1
call fcn.004016f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5a6d26
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x10], 0x53
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x10], 0x65
mov ecx, 1
imul edx, ecx, 0xb
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xc
jae 0x5a6c66
jmp 0x5a6c6b
call fcn.0055fd97
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x10], 0
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x10], 0x41
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x10], 0x61
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x10], 0x47
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x10], 0x74
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x10], 0x75
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x10], 0x65
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x10], 0x48
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x10], 0x6c
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x10], 0x56
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5a6d1c
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret
Function at 0x5a6d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
call fcn.00593510
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5a6ea1
mov eax, 1
shl eax, 4
mov byte [ebp + eax - 0x18], 0x76
mov ecx, 1
imul edx, ecx, 0xc
mov byte [ebp + edx - 0x18], 0x6f
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x18], 0x69
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x18], 0x43
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x18], 0x6d
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x18], 0x64
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x18], 0x65
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x18], 0x41
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x18], 0x54
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x18], 0x6d
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x18], 0x6f
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x18], 0x61
mov ecx, 1
imul edx, ecx, 0x12
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0x13
jae 0x5a6e17
jmp 0x5a6e1c
call fcn.0055fd97
mov eax, dword [ebp - 0x20]
mov byte [ebp + eax - 0x18], 0
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x18], 0x6e
mov eax, 1
imul ecx, eax, 0x11
mov byte [ebp + ecx - 0x18], 0x57
mov edx, 1
imul eax, edx, 0xf
mov byte [ebp + eax - 0x18], 0x67
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x18], 0x72
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x18], 0x4c
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x18], 0x6e
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5a6e97
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret
Function at 0x5a6ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
call fcn.00410b10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5a701f
mov eax, 1
shl eax, 2
mov byte [ebp + eax - 0x18], 0x4f
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x18], 0x48
mov eax, 1
imul ecx, eax, 7
mov byte [ebp + ecx - 0x18], 0x6e
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x18], 0x75
mov ecx, 1
imul edx, ecx, 9
mov byte [ebp + edx - 0x18], 0x65
mov eax, 1
shl eax, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x11
jae 0x5a6f3d
jmp 0x5a6f42
call fcn.0055fd97
mov ecx, dword [ebp - 0x20]
mov byte [ebp + ecx - 0x18], 0
mov edx, 1
imul eax, edx, 0xe
mov byte [ebp + eax - 0x18], 0x74
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0x18], 0x70
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x18], 0x74
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x18], 0x52
mov ecx, 1
imul edx, ecx, 0xf
mov byte [ebp + edx - 0x18], 0x41
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x18], 0x65
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x18], 0x74
mov eax, 1
imul ecx, eax, 0xd
mov byte [ebp + ecx - 0x18], 0x73
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x18], 0x70
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x18], 0x71
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5a7015
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret
Function at 0x5a8670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x607ba4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov eax, 1
imul ecx, eax, 0
mov byte [ebp + ecx - 0x14], 0x47
mov edx, 1
imul eax, edx, 6
mov byte [ebp + eax - 0x14], 0x70
mov ecx, 1
imul edx, ecx, 0xc
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0xd
jae 0x5a86b4
jmp 0x5a86b9
call fcn.0055fd97
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x14], 0
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0x14], 0x74
mov edx, 1
imul eax, edx, 0xb
mov byte [ebp + eax - 0x14], 0x41
mov ecx, 1
imul edx, ecx, 0xa
mov byte [ebp + edx - 0x14], 0x68
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x14], 0x65
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x14], 0x6d
mov eax, 1
shl eax, 3
mov byte [ebp + eax - 0x14], 0x61
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x14], 0x54
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x14], 0x50
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x14], 0x74
lea edx, [ebp - 0x14]
push edx
call fcn.00412230
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5a8769
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055fe73
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x25c67a9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x492521a2
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x4118f0
jmp fcn.004127e0
cmp ecx, dword [section..data]
jne 0x4118fa
repz ret
jmp 0x411082
Function at 0x401050
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x40105d
call fcn.00401140
push str.digitalpen.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi], eax
je 0x401135
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetClientInfo
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push str.GetDeviceInfo
push eax
call edi
mov ecx, dword [esi]
push str.GetMaxPen
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi]
push str.GetMaxPress
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi]
push str.GetPenStatus
push eax
call edi
mov ecx, dword [esi]
push str.GetOtherInfo
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi]
push str.InitClient
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.InitDevice
push eax
call edi
mov ecx, dword [esi]
push str.RegClientInfo
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi]
push str.SetDeviceInfo
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push str.SetMaxPen
push eax
call edi
mov ecx, dword [esi]
push str.SetMaxPress
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi]
push str.SetOtherInfo
push edx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi]
push str.UnRegClientInfo
push eax
call edi
mov dword [esi + 0x1c], eax
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x40df25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x429800
cmp edx, dword [eax]
je 0x40df47
add eax, 8
inc ecx
cmp eax, 0x429890
jl 0x40df38
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x429800]
jne 0x40e075
mov eax, dword [0x42c2e4]
cmp eax, 1
je 0x40e04f
test eax, eax
jne 0x40df78
cmp dword [0x42908c], 1
je 0x40e04f
cmp edx, 0xfc
je 0x40e075
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40dfaf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040e080
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040e170
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40dff2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040e170
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x421ce8
push edi
call fcn.00410970
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040e080
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040e090
lea eax, [ebp - 0xa0]
push 0x421cc8
push eax
call fcn.0040e090
push dword [esi + 0x429804]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040e090
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004108e6
add esp, 0x2c
pop edi
jmp 0x40e075
lea eax, [ebp + 8]
lea esi, [esi + 0x429804]
push 0
push eax
push dword [esi]
call fcn.0040e170
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x416bff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x416c41
call fcn.0041b550
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x416c41
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x416c38
xor eax, eax
jmp 0x416c49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00416c4f
pop edi
pop esi
pop ebx
ret 4

Function at 0x41bc3e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41bc6c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41bc8a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041bba4
jmp 0x41bc8a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41bc8a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041bba4
test edi, edi
mov eax, edi
jne 0x41bc74
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x409ebd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409ebd
lcall 0x5de5, 0x8b10c483
jmp fcn.0076d6b4

Function at 0x10001d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003078
push 0x10001fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
jmp 0x10001d88
Function at 0x40c650
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40cb08
call fcn.0040c94c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40c6b0
cmp eax, 0xffffffff
je 0x40c6b0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40c6a9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40c6a9
cmp edx, 0x10000000
jae 0x40c6a9
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40c6a6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40c730
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40c76e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40c766
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40c770
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40c756
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40c850
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c87f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c87f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403a10
lcall 0x5de5, 0x8b10c483
jmp loc.00781df4

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

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x41c05b
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]

Function at 0x41c05e
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
adc byte [ebx - 0x74ebdbbc], cl
dec esp
and al, 0x18
push ebp
push edx
push eax
push ecx
push ecx
push 0x41ac30
push dword fs:[0]
mov eax, dword [0x42b140]
xor eax, esp
mov dword [esp + 8], eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
xor ebx, dword [ecx]
mov esi, dword [eax + 0xc]
cmp esi, 0xfffffffe
je 0x41c0da
mov edx, dword [esp + 0x34]
or dword [esi], 4
jmp 0x41c122
add bl, ch
mov al, 0x64
pop dword [0]
add esp, 0x18
pop edi
pop esi
pop ebx
ret
inc esp
and al, 8
mov edx, dword [esp + 0x10]
mov dword [edx], eax
mov eax, 3
ret