joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40356c
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 0xf003f
push 0
push 0x403728
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4035cd
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403744
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40363f
xor eax, eax
push ebp
push 0x403638
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.004033c4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403621
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403764
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40363f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x403720
cmp byte [ebp - 0xd], 0
jne 0x403681
cmp byte [ebp - 0x12], 0
je 0x403720
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40369a
dec ebx
cmp byte [ebx], 0x2e
je 0x4036a9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403699
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403720
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4036d6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403720
cmp byte [ebp - 0xd], 0
je 0x403720
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403720
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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 0x40466c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404bf8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004031ec
xor eax, eax
push ebp
push 0x404d70
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00402f18
xor esi, esi
cmp dword [ebp - 4], 0
je 0x404d4d
mov eax, dword [ebp - 4]
call fcn.00403088
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x404c57
lea eax, [ebp - 4]
mov edx, 0x404d88
call fcn.00403090
lea eax, [ebp - 0x10]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403240
mov eax, dword [ebp - 0x10]
mov edx, 0x404d94
call fcn.00403148
jne 0x404cb9
mov eax, dword [ebp - 4]
call fcn.004031fc
mov ebx, eax
add ebx, 2
cmp byte [ebx], 0
je 0x404d4d
jmp 0x404c9c
push ebx
call sub.user32.dll_CharNextA_1
mov ebx, eax
cmp byte [ebx], 0x5c
jne 0x404c94
mov esi, ebx
push ebx
call sub.user32.dll_CharNextA_1
mov ebx, eax
cmp byte [ebx], 0
je 0x404d4d
jmp 0x404d48
mov eax, dword [ebp - 4]
call fcn.004031fc
mov ebx, eax
jmp 0x404d48
mov esi, ebx
push ebx
call sub.user32.dll_CharNextA_1
mov ebx, eax
cmp byte [ebx], 0x5c
jne 0x404cca
test esi, esi
je 0x404d3e
cmp byte [esi], 0x3a
je 0x404d3e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004031fc
mov ecx, ebx
sub ecx, eax
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403240
mov eax, dword [ebp - 0xc]
call fcn.004031fc
mov esi, eax
push esi
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
jne 0x404d2d
push 0
push esi
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x404d3e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00402f6c
jmp 0x404d4d
test al, 0x10
jne 0x404d3e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00402f6c
jmp 0x404d4d
mov esi, ebx
push ebx
call sub.user32.dll_CharNextA_1
mov ebx, eax
cmp byte [ebx], 0
jne 0x404cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d77
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00402f3c
lea eax, [ebp - 4]
call fcn.00402f18
ret
Function at 0x405f54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcc4
xor eax, eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x406093
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.004044c0
test al, al
jne 0x406072
lea eax, [ebp - 4]
push eax
push 0x10
mov eax, dword [0x4094f4]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x405fc0
lea eax, [ebp - 0x337]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [0x4094f4]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x12d]
mov dword [ebp - 0x20], eax
mov eax, 0x4060a0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
lea eax, [ebp - 0x33c]
lea edx, [ebp - 0x337]
mov ecx, 0x105
call fcn.00403070
mov edx, dword [ebp - 0x33c]
mov eax, dword [0x40958c]
call fcn.00403148
jne 0x406014
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40601c
mov eax, 0x405f24
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
call sub.shell32.dll_SHBrowseForFolderA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x406072
lea eax, [ebp - 0x232]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x232]
push eax
mov eax, dword [0x4095ac]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, 0x40958c
lea edx, [ebp - 0x232]
mov ecx, 0x105
call fcn.00403070
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40609a
lea eax, [ebp - 0x33c]
call fcn.00402f18
lea eax, [ebp - 8]
call fcn.00403844
ret
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x430002
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
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x20456fc2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3aa814c2
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
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
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x53e710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe1000]
push edi
jmp 0x53e72a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53e731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e720
mov eax, 1
add ebx, ebx
jne 0x53e743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53e754
jne 0x53e773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e773
dec eax
add ebx, ebx
jne 0x53e760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53e738
add ebx, ebx
jne 0x53e76f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53e7c5
xor ecx, ecx
sub eax, 3
jb 0x53e78b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53e7fa
sar eax, 1
mov ebp, eax
jmp 0x53e796
add ebx, ebx
jne 0x53e796
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e764
inc ecx
add ebx, ebx
jne 0x53e7a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e764
add ebx, ebx
jne 0x53e7b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53e7a6
jne 0x53e7c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53e7a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53e7e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53e7d6
jmp 0x53e726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53e7e4
add edi, ecx
jmp 0x53e726
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53e802
cmp byte [edi], 0x11
jne 0x53e802
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53e807
lea edi, [esi + 0x137000]
mov eax, dword [edi]
or eax, eax
je 0x53e87f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x196efc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x197078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53e834
mov ecx, edi
jns 0x53e863
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19707c]
or eax, eax
je 0x53e879
mov dword [ebx], eax
add ebx, 4
jmp 0x53e851
call dword [esi + 0x19708c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53e8b0
cmp al, 0xef
ja 0x53e8a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53e885
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53e892
mov ebp, dword [esi + 0x197080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53e8e4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4044db
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1400
call fcn.0040f640
mov eax, dword [0x28278e4]
mov ecx, dword [0x2827370]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4045b1
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x28278e4], 0x959
jne 0x40459f
push esi
lea eax, [ebp - 0x800]
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_CreateJobObjectW]
push esi
push esi
lea eax, [ebp - 0xc00]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403f20
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403f6c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0x403f78
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x1400]
push eax
push esi
push 0x403fb0
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_GetModuleHandleA]
push edi
call fcn.00404384
add edi, 8
dec ebx
jne 0x404507
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4048f2
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.0040f640
push ebx
push esi
xor esi, esi
cmp dword [0x28278e4], 0x400
push edi
jne 0x404a0f
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
lea eax, [esp + 0x414]
push eax
push esi
push 0x404148
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x818]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x14]
push eax
push 0x404160
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0x404170
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
call fcn.00404f5d
pop ecx
push esi
push esi
call fcn.00405093
push esi
call fcn.00405749
add esp, 0xc
push esi
call fcn.0040599b
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404af0
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404d10
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004051e0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404e40
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405440
fstp st(0)
push esi
push esi
call fcn.00405594
push esi
call fcn.00405a0f
add esp, 0x14
push esi
push esi
call fcn.00404f97
push esi
call fcn.004057ae
add esp, 0xc
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0x9a1
jge 0x404a3b
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 ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x4f47a90
jg 0x404a5d
inc edi
cmp edi, 0x32ffca9
jl 0x404a17
xor edi, edi
cmp edi, 0x16d2a
jge 0x404a6e
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404a8c
inc edi
cmp edi, 0x3011b
jl 0x404a5f
mov eax, dword [0x42fcbc]
mov dword [0x28278e4], eax
call fcn.004045b4
mov edi, 0x2ec37
cmp dword [0x28278e4], 0x51f
jne 0x404abb
push esi
lea eax, [esp + 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x404aa0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a721
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c490]
jne 0x40a72b
repz ret
jmp fcn.0040f307
Function at 0x40ef9c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c490]
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.0040a0cb
and dword [ebp - 0x14], 0
cmp dword [0x4445a0], 0
mov dword [ebp - 0x18], eax
jne 0x40f04f
push 0x4036c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f0f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4036b4
push ebx
call edi
test eax, eax
je 0x40f0f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4036a4
push ebx
mov dword [0x4445a0], eax
call edi
push eax
call esi
push 0x403690
push ebx
mov dword [0x4445a4], eax
call edi
push eax
call esi
push 0x403674
push ebx
mov dword [0x4445a8], eax
call edi
push eax
call esi
mov dword [0x4445b0], eax
test eax, eax
je 0x40f04f
push 0x40365c
push ebx
call edi
push eax
call esi
mov dword [0x4445ac], eax
mov eax, dword [0x4445ac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f0a8
cmp dword [0x4445b0], ecx
je 0x40f0a8
push eax
call esi
push dword [0x4445b0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f0a8
test ebx, ebx
je 0x40f0a8
call edi
test eax, eax
je 0x40f09f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f09f
test byte [ebp - 8], 1
jne 0x40f0a8
or dword [ebp + 0x10], 0x200000
jmp 0x40f0db
mov eax, dword [0x4445a4]
cmp eax, dword [ebp - 0x18]
je 0x40f0db
push eax
call esi
test eax, eax
je 0x40f0db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f0db
mov eax, dword [0x4445a8]
cmp eax, dword [ebp - 0x18]
je 0x40f0db
push eax
call esi
test eax, eax
je 0x40f0db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4445a0]
call esi
test eax, eax
je 0x40f0f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f0f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a721
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

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