joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x100ba00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
push str.SoftwareHNCHwpScriptObjects
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10037d21
push 0x208
push eax
lea eax, [ebp - 0x41c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x444], 0x104
lea eax, [ebp - 0x460]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
push eax
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x424], 0
push eax
lea eax, [ebp - 0x430]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], 0
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x440]
push eax
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10037d21
lea eax, [ebp - 0x450]
mov dword [ebp - 0x458], 0
push 0x208
mov dword [ebp - 0x454], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x214]
movq qword [ebp - 0x450], xmm0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
mov dword [ebp - 0x448], 1
add esp, 0xc
mov dword [ebp - 0x428], 0x104
cmp dword [ebp - 0x424], esi
jbe 0x10037cf8
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0
push 0
lea eax, [ebp - 0x448]
mov dword [ebp - 0x428], 0x104
push eax
push 0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 0x420]
call ebx
test eax, eax
jne 0x10037cef
lea eax, [ebp - 0x214]
mov ecx, edi
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10037ce6
test dx, dx
je 0x10037ce2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10037ce6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10037cc0
xor eax, eax
jmp 0x10037ceb
sbb eax, eax
or eax, 1
test eax, eax
je 0x10037d1a
inc esi
cmp esi, dword [ebp - 0x424]
jb 0x10037c82
xor esi, esi
lea ecx, [ebp - 0x458]
call fcn.10002d70
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1008cdc9
mov esp, ebp
pop ebp
ret 4
mov esi, 1
jmp 0x10037cfa
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008cdc9
mov esp, ebp
pop ebp
ret 4
Function at 0x100652c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x100ba00c]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.10065210
mov esi, eax
test esi, esi
jne 0x100653b7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x10065389
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.100652c0
mov esi, eax
test esi, esi
jne 0x100653b7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x10065350
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100653a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.10065480
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100653c6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1008cdc9
mov esp, ebp
pop ebp
ret 4
Function at 0x100660f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100946c6
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x100ba00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x420], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x428], esi
test esi, esi
jne 0x10066193
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x428], eax
test esi, esi
jne 0x10066193
call fcn.10064580
mov edi, eax
jmp 0x100662ae
push dword [ebp - 0x424]
push 0x66
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100661b2
call fcn.10064580
jmp 0x100662a1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x100661d0
call fcn.10064580
jmp 0x100662a1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x42c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100661f1
mov edi, 0x8007000e
jmp 0x100662a3
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x100662f0
jb 0x1006620f
cmp eax, 0xffffffff
ja 0x100662f0
cmp eax, 0x400
jbe 0x10066224
push eax
lea ecx, [ebp - 0x420]
call fcn.10064550
jmp 0x1006624a
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
jmp 0x1006624a
mov dword [ebp - 4], 1
cmp dword [ebp - 0x420], 0
jne 0x10066261
mov edi, 0x8007000e
jmp 0x100662a3
push edi
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10066281
call fcn.10064580
jmp 0x100662a1
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x434]
push dword [ebp - 0x420]
call fcn.10065f50
mov edi, eax
test esi, esi
je 0x100662ae
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x100662d0
lea ecx, [ebp - 0x420]
call fcn.10064530
nop word [eax + eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1008cdc9
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100650a0
int3
Function at 0x1007e380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094b17
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ba00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x1007e3cb
mov eax, 0x80004003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x50
mov dword [edi], 0
mov dword [ebp - 0x18], 0x8007000e
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
call fcn.1008d437
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
mov ecx, dword [0x100bd6f0]
mov dword [esi], 0x100a9710
mov eax, dword [ecx]
mov eax, dword [eax + 4]
cmp eax, 0x10066b10
jne 0x1007e4c8
lock inc dword [ecx + 8]
inc dword [esi + 4]
xor eax, eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
dec dword [esi + 4]
mov dword [edi], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
jmp 0x1007e427
Function at 0x100807e0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xca4
mov eax, dword [0x100ba00c]
xor eax, esp
mov dword [esp + 0xca0], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x20]
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x40e
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48c]
push 0
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x2c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x898]
push 0x40e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x280]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp word [0x100bd708], 0
jne 0x1008088b
push 0x100bd708
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x100bd708
lea eax, [esp + 0x494]
push 0x100aaa14
push eax
call fcn.10080e40
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
add esp, 0x14
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x100bd700]
push esi
inc eax
mov dword [esp + 0x14], 0
push eax
push dword [esp + 0x14]
mov dword [0x100bd700], eax
lea eax, [esp + 0x8a4]
push 0x100bd708
push str._s_s_d._s
push 0x104
push eax
call fcn.10063a70
add esp, 0x1c
lea eax, [esp + 0x280]
push esi
push dword [0x100bd700]
push dword [esp + 0x14]
push str._s_d._s
push 0x104
push eax
call fcn.10063a70
add esp, 0x18
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x1008096f
nop dword [eax]
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x60]
push eax
call ebx
test eax, eax
je 0x10080951
lea eax, [esp + 0x30]
push eax
push esi
call edi
test eax, eax
jne 0x10080930
jmp 0x10080959
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x14]
jne 0x100808b3
lea eax, [esp + 0x898]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.10002d70
mov ecx, dword [esp + 0xcac]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008cdc9
mov esp, ebp
pop ebp
ret
Function at 0x100818d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009508e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100ba00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xa
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xa
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xa
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10081b30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1008bd40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor dh, al
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1008add4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1008ad89
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.1008adc4
ret
Function at 0x403bf5
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1804
call fcn.0040fc70
mov eax, dword [0x2872804]
mov ecx, dword [0x2872290]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403cc9
mov edi, ecx
mov ebx, eax
cmp dword [0x2872804], 0x959
jne 0x403cb9
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403768
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x40378c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x4037a8
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
push 0x4037c0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403a87
add edi, 8
dec ebx
jne 0x403c21
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f79
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1400
call fcn.0040fc70
push esi
push edi
xor esi, esi
xor edi, edi
cmp edi, 0x986
jge 0x403fb7
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.USER32.dll_SetClipboardViewer]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp edi, 0x4f4c8ec
jg 0x403fd2
inc edi
cmp edi, 0x3455969
jl 0x403f8f
cmp dword [0x2872804], 0x400
jne 0x4040d1
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x40c]
push eax
push esi
push 0x403940
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [esp + 0xc0c]
push eax
push 0x40391c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x403984
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.00404499
pop ecx
push esi
push esi
call fcn.00404e4e
push esi
push esi
call fcn.00404756
push esi
call fcn.00404de9
add esp, 0x14
push esi
call fcn.004050b7
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404130
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404150
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404630
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404280
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404ae0
fstp st(0)
push esi
push esi
call fcn.00404c34
push esi
call fcn.0040512b
add esp, 0x14
push esi
push esi
call fcn.0040439d
push esi
call fcn.00404efb
add esp, 0xc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x4040f1
inc edi
cmp edi, 0x3011b
jl 0x4040d3
mov eax, dword [0x47ac64]
mov dword [0x2872804], eax
call fcn.00403cce
mov edi, 0x2ec37
cmp dword [0x2872804], 0x51f
jne 0x40411d
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404105
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40c46e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477470]
jne 0x40c478
repz ret
jmp fcn.0040fc9b
Function at 0x40c76e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x477470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409c63
and dword [ebp - 0x14], 0
cmp dword [0x48f49c], 0
mov dword [ebp - 0x18], eax
jne 0x40c821
push 0x402a74
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c8c9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402a68
push ebx
call edi
test eax, eax
je 0x40c8c9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402a58
push ebx
mov dword [0x48f49c], eax
call edi
push eax
call esi
push 0x402a44
push ebx
mov dword [0x48f4a0], eax
call edi
push eax
call esi
push 0x402a28
push ebx
mov dword [0x48f4a4], eax
call edi
push eax
call esi
mov dword [0x48f4ac], eax
test eax, eax
je 0x40c821
push 0x402a10
push ebx
call edi
push eax
call esi
mov dword [0x48f4a8], eax
mov eax, dword [0x48f4a8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c87a
cmp dword [0x48f4ac], ecx
je 0x40c87a
push eax
call esi
push dword [0x48f4ac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c87a
test ebx, ebx
je 0x40c87a
call edi
test eax, eax
je 0x40c871
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c871
test byte [ebp - 8], 1
jne 0x40c87a
or dword [ebp + 0x10], 0x200000
jmp 0x40c8ad
mov eax, dword [0x48f4a0]
cmp eax, dword [ebp - 0x18]
je 0x40c8ad
push eax
call esi
test eax, eax
je 0x40c8ad
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c8ad
mov eax, dword [0x48f4a4]
cmp eax, dword [ebp - 0x18]
je 0x40c8ad
push eax
call esi
test eax, eax
je 0x40c8ad
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48f49c]
call esi
test eax, eax
je 0x40c8c9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c8cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c46e
leave
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x27c057da
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2cff3239
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219