joyce8/EMBER2024-capa huggingface dataset:
Function at 0x574dee
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.00564502
and dword [ebp - 4], 0
cmp dword [0x5f356c], 0
mov ebx, eax
jne 0x574e9f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x574f50
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c59e8
push edi
call esi
test eax, eax
je 0x574f50
push eax
call fcn.00564490
mov dword [esp], 0x5c59d8
push edi
mov dword [0x5f356c], eax
call esi
push eax
call fcn.00564490
mov dword [esp], 0x5c59c4
push edi
mov dword [0x5f3570], eax
call esi
push eax
call fcn.00564490
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5f3574], eax
call esi
push eax
call fcn.00564490
pop ecx
mov dword [0x5f357c], eax
test eax, eax
je 0x574e9f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00564490
pop ecx
mov dword [0x5f3578], eax
mov eax, dword [0x5f3578]
cmp eax, ebx
je 0x574ef7
cmp dword [0x5f357c], ebx
je 0x574ef7
push eax
call fcn.0056450b
push dword [0x5f357c]
mov esi, eax
call fcn.0056450b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x574ef7
test edi, edi
je 0x574ef7
call esi
test eax, eax
je 0x574eee
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x574eee
test byte [ebp - 0xc], 1
jne 0x574ef7
or dword [ebp + 0x10], 0x200000
jmp 0x574f30
mov eax, dword [0x5f3570]
cmp eax, ebx
je 0x574f30
push eax
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f30
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x574f30
mov eax, dword [0x5f3574]
cmp eax, ebx
je 0x574f30
push eax
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f30
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5f356c]
call fcn.0056450b
pop ecx
test eax, eax
je 0x574f50
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x574f52
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x6db545ce
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
mov ecx, 0x3ddc3f4b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x402770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402808
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4027e8
xor eax, eax
push ebp
push 0x4027e1
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 0x402824
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 0x4027e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403e64
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 0x40401c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403ec5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404038
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403f32
xor eax, eax
push ebp
push 0x403f2b
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403f14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404058
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 0x403f32
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 0x404013
cmp byte [ebp - 0xd], 0
jne 0x403f74
cmp byte [ebp - 0x12], 0
je 0x404013
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f8d
dec ebx
cmp byte [ebx], 0x2e
je 0x403f9c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f8c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404013
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403fc9
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 0x404013
cmp byte [ebp - 0xd], 0
je 0x404013
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 0x404013
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 0x406720
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40682a
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x406773
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.0040318c
jmp 0x406811
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.004066d4
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004066f4
mov ebx, eax
test esi, esi
je 0x40679b
dec esi
test esi, esi
jl 0x40679b
cmp edi, ebx
jne 0x40677a
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.004031cc
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.00403424
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403220
cmp eax, 2
jl 0x406811
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x406811
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403220
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x406811
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403220
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.00403424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406831
lea eax, [ebp - 0x110]
call fcn.004030a8
ret

Function at 0x40686c
Capabilities:
Get file attributes

Disassembly:
call fcn.00405294
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x406880
dec eax
and al, 0x10
sete al
ret

Function at 0x406ad8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406b70
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x406b25
mov eax, dword [ebx + 0x19]
call fcn.004033e4
push eax
push esi
mov eax, edi
call fcn.004033e4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033e4
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x406b5a
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.004033e4
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040656c
mov eax, dword [ebp - 8]
call fcn.004033e4
push eax
mov eax, edi
call fcn.004033e4
push eax
mov eax, dword [ebx + 0x1d]
call fcn.004033e4
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b77
lea eax, [ebp - 8]
call fcn.004030a8
ret
Function at 0x408d24
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x408d33
mov edx, dword [edx + 0x36]
jmp fcn.004031cc
mov ecx, dword [edx + 0x18]
jecxz 0x408d2b
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.004034f4
pop edx
mov ecx, dword [ebx]
jecxz 0x408d5b
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x40b53c
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
cmp dword [0x47a4f4], 0
je 0x40b640
mov eax, dword [0x47a4f4]
call fcn.00407d44
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x40b640
xor eax, eax
push ebp
push 0x40b639
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x40b626
push 8
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40b626
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalSize
mov edi, eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x40b61f
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
jle 0x40b608
cmp dword [ebp - 0xc], 0
je 0x40b608
call fcn.00406a94
mov esi, eax
mov edx, dword [ebp - 0xc]
mov eax, esi
mov ecx, edi
call fcn.0040691c
mov eax, esi
xor edx, edx
call fcn.00406908
mov eax, ebx
mov edx, esi
call fcn.0040b360
mov eax, esi
call fcn.00405448
mov eax, ebx
call fcn.0040abe0
xor al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b626
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b640
call sub.user32.dll_CloseClipboard
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40bdf4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, ebx
call fcn.004030a8
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x40be43
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x40be3e
push 1
call sub.user32.dll_GetClipboardData
mov esi, eax
test esi, esi
je 0x40be3e
push esi
call sub.kernel32.dll_GlobalLock
mov edi, eax
test edi, edi
je 0x40be3e
mov eax, ebx
mov edx, edi
call fcn.004031cc
push esi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edi
pop esi
pop ebx
ret
Function at 0x40c058
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
cmp byte [0x4792fc], 0xff
je 0x40c06e
mov al, byte [0x4792fc]
jmp 0x40c0ce
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x40c0a7
mov al, 3
mov edx, dword [esp + 4]
cmp edx, 6
jb 0x40c093
mov al, 6
jmp 0x40c0c9
cmp edx, 5
jb 0x40c0c9
cmp dword [esp + 8], 1
jb 0x40c0a3
mov al, 5
jmp 0x40c0c9
mov al, 4
jmp 0x40c0c9
cmp eax, 1
jne 0x40c0c7
mov al, 1
cmp dword [esp + 4], 4
ja 0x40c0c3
cmp dword [esp + 4], 4
jne 0x40c0c9
cmp dword [esp + 8], 0xa
jb 0x40c0c9
mov al, 2
jmp 0x40c0c9
xor eax, eax
mov byte [0x4792fc], al
add esp, 0x94
ret
Function at 0x412144
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
test dl, dl
je 0x41215c
add esp, 0xfffffff0
call fcn.0040297c
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov dword [ebp - 0x9c], 0x94
test ebx, ebx
je 0x412242
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x412242
cmp dword [ebp - 0x98], 6
jb 0x412242
xor edx, edx
push ebp
push 0x41222d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00404138
push eax
push 0x412264
push 3
push 0
push 0x4793b8
call sub.ole32.dll_CoCreateInstance
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x4121e8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov byte [eax + 8], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x64
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xa
mov edx, dword [ebp - 4]
mov al, 2
mov byte [edx + 0x14], al
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004120a4
mov eax, dword [ebp - 4]
mov dl, byte [eax + 0x15]
mov eax, dword [ebp - 4]
call fcn.004120d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412242
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x41225a
call fcn.004029d4
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b008]
jne 0x40100a
repz ret
jmp fcn.00401828

Function at 0x406403
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.00403380
and dword [ebp - 4], 0
cmp dword [0x41d250], 0
mov ebx, eax
jne 0x4064b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406565
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406565
push eax
call fcn.0040330e
mov dword [esp], 0x4189b0
push edi
mov dword [0x41d250], eax
call esi
push eax
call fcn.0040330e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41d254], eax
call esi
push eax
call fcn.0040330e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41d258], eax
call esi
push eax
call fcn.0040330e
pop ecx
mov dword [0x41d260], eax
test eax, eax
je 0x4064b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040330e
pop ecx
mov dword [0x41d25c], eax
mov eax, dword [0x41d25c]
cmp eax, ebx
je 0x40650c
cmp dword [0x41d260], ebx
je 0x40650c
push eax
call fcn.00403389
push dword [0x41d260]
mov esi, eax
call fcn.00403389
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40650c
test edi, edi
je 0x40650c
call esi
test eax, eax
je 0x406503
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406503
test byte [ebp - 0xc], 1
jne 0x40650c
or dword [ebp + 0x10], 0x200000
jmp 0x406545
mov eax, dword [0x41d254]
cmp eax, ebx
je 0x406545
push eax
call fcn.00403389
pop ecx
test eax, eax
je 0x406545
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406545
mov eax, dword [0x41d258]
cmp eax, ebx
je 0x406545
push eax
call fcn.00403389
pop ecx
test eax, eax
je 0x406545
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41d250]
call fcn.00403389
pop ecx
test eax, eax
je 0x406565
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406567
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x41b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x512dfc]
push esi
push edi
mov edi, dword [0x512c44]
mov esi, eax
cmp eax, 0x5dd
jne 0x4174bd
push 0
lea eax, [ebp - 0x404]
push eax
push str.tiwugowe
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x41c000]
call fcn.00417340
cmp dword [0x512dfc], 0x2f
jne 0x4174d8
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push edi
call fcn.00417380
add esp, 8
cmp dword [0x512dfc], 0x568
pop edi
pop esi
jne 0x417504
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x20985bb3
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x142a1b5b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x32a13413
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x17bf62d9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219