joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007bc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x148
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x144], eax
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process
push 0x10014cb4
mov edi, eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10007c0f
xor al, al
jmp 0x10007c2f
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esp + 0x14], 0
call eax
test eax, eax
jne 0x10007c27
xor al, al
jmp 0x10007c2f
cmp dword [esp + 0xc], 0
setne al
push 0x118
lea edx, [esp + 0x3c]
push 0
push edx
mov byte [esi + 0x20], al
mov dword [esp + 0x40], 0x11c
call fcn.10008550
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x38]
cmp eax, 5
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
jne 0x10007c86
test ecx, ecx
jle 0x10007cb5
xor eax, eax
cmp ecx, 1
setne al
add eax, 1
mov dword [esi], eax
jmp 0x10007cb5
cmp eax, 6
jne 0x10007cad
sub ecx, 0
je 0x10007ca5
sub ecx, 1
je 0x10007c9d
mov dword [esi], 5
jmp 0x10007cb5
mov dword [esi], 4
jmp 0x10007cb5
mov dword [esi], 3
jmp 0x10007cb5
jle 0x10007cb5
mov dword [esi], 6
movzx ecx, word [esp + 0x148]
movzx edx, word [esp + 0x14a]
xor eax, eax
push str.GetNativeSystemInfo
push 0x10014cb4
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10007d19
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10007d20
lea ecx, [esp + 0x10]
push ecx
call eax
movzx eax, word [esp + 0x10]
test eax, eax
je 0x10007d6b
cmp eax, 6
je 0x10007d5b
mov edx, dword [esp + 0x24]
cmp eax, 9
mov dword [esi + 0x1c], edx
mov eax, esi
jne 0x10007d7b
pop edi
mov dword [esi + 0x18], 1
pop esi
pop ebp
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.1000853f
add esp, 0x148
ret
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], eax
jmp 0x10007d79
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], ecx
mov eax, esi
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1000853f
add esp, 0x148
ret

Function at 0x1000853f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100190d4]
jne 0x10008549
repz ret
jmp fcn.1000b333
Function at 0x10009102
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x1000912f
call fcn.10009da6
mov dword [eax], esi
call fcn.10009d93
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10008bd2
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x1000910b
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000915e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10009db9
pop ecx
call fcn.10009d93
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10009185
test al, 1
je 0x10009185
test byte [esp + 0xc], 2
je 0x10009185
call fcn.10009da6
mov dword [eax], 5
call fcn.10009d93
mov dword [eax], 0xd
jmp 0x10009155
xor eax, eax
pop esi
ret

Function at 0x1000eefd
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10019aa8]
je 0x1000ef18
inc edi
cmp edi, 0x17
jb 0x1000ef09
cmp edi, 0x17
jae 0x1000f098
push ebp
push 3
call fcn.10011272
cmp eax, 1
pop ecx
je 0x1000f064
push 3
call fcn.10011272
test eax, eax
pop ecx
jne 0x1000ef4c
cmp dword [0x1001a328], 1
je 0x1000f064
cmp ebx, 0xfc
je 0x1000f097
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1001a9a8
push ebp
call fcn.1000a145
add esp, 0xc
test eax, eax
je 0x1000ef82
push esi
push esi
push esi
push esi
push esi
call fcn.10008ad6
add esp, 0x14
push 0x104
mov esi, 0x1001a9c1
push esi
push 0
mov byte [0x1001aac5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000efc6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1000a145
add esp, 0xc
test eax, eax
je 0x1000efc6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10008ad6
add esp, 0x14
push esi
call fcn.1000a2c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1000f00b
push esi
call fcn.1000a2c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1001acbc
push 0x10015a20
sub ecx, eax
push ecx
push eax
call fcn.1000f9e6
add esp, 0x14
test eax, eax
je 0x1000f00b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10008ad6
add esp, 0x14
jmp 0x1000f00d
xor esi, esi
push 0x10015fa8
push ebx
push ebp
call fcn.1000f927
add esp, 0xc
test eax, eax
je 0x1000f02d
push esi
push esi
push esi
push esi
push esi
call fcn.10008ad6
add esp, 0x14
push dword [edi*8 + 0x10019aac]
push ebx
push ebp
call fcn.1000f927
add esp, 0xc
test eax, eax
je 0x1000f04f
push esi
push esi
push esi
push esi
push esi
call fcn.10008ad6
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.100110b5
add esp, 0xc
jmp 0x1000f097
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1000f097
cmp ebp, 0xffffffff
je 0x1000f097
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10019aac]
push dword [esi]
call fcn.1000a2c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100110b5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000ade8
xor ebx, ebx
cmp dword [0x1001acf8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1001118b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1001126b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001126b
push eax
call fcn.1000ad7a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001acf8], eax
call esi
push eax
call fcn.1000ad7a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001acfc], eax
call esi
push eax
call fcn.1000ad7a
mov dword [0x1001ad00], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000e294
test eax, eax
pop ecx
pop ecx
je 0x10011159
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10008ad6
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1001118b
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000ad7a
cmp eax, ebx
pop ecx
mov dword [0x1001ad08], eax
je 0x1001118b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000ad7a
pop ecx
mov dword [0x1001ad04], eax
mov eax, dword [0x1001ad04]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10011210
cmp dword [0x1001ad08], ecx
je 0x10011210
push eax
call fcn.1000adf1
push dword [0x1001ad08]
mov esi, eax
call fcn.1000adf1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10011210
cmp edi, ebx
je 0x10011210
call esi
cmp eax, ebx
je 0x100111dd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100111dd
test byte [ebp - 0x18], 1
jne 0x10011210
lea eax, [ebp - 0x10]
push eax
call fcn.1000e2cb
test eax, eax
pop ecx
je 0x100111f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10008ad6
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10011207
or dword [ebp + 0x10], 0x200000
jmp 0x1001124b
or dword [ebp + 0x10], 0x40000
jmp 0x1001124b
mov eax, dword [0x1001acfc]
cmp eax, dword [ebp - 8]
je 0x1001124b
push eax
call fcn.1000adf1
cmp eax, ebx
pop ecx
je 0x1001124b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001124b
mov eax, dword [0x1001ad00]
cmp eax, dword [ebp - 8]
je 0x1001124b
push eax
call fcn.1000adf1
cmp eax, ebx
pop ecx
je 0x1001124b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001acf8]
call fcn.1000adf1
cmp eax, ebx
pop ecx
je 0x1001126b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001126d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45f978
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fbd8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45f9db
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045f620
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d8ac
cmp al, 1
jne 0x45f9db
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045f8e8
test al, al
je 0x45fb67
cmp dword [ebp - 8], 0
jge 0x45f9f9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0045f620
mov eax, dword [ebp - 0x210]
call fcn.00404924
cmp ebx, eax
jge 0x45fa43
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045f620
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a677c]
and eax, 0xff
bt dword [edx], eax
jae 0x45fa43
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x45fa57
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045f954
cmp ebx, dword [ebp - 8]
je 0x45fb59
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x45fa83
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a4e60]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x45fb46
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a4e60]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00443dc8
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a48
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a4e60]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00443dc8
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb4d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x45fbba
cmp dword [ebp - 8], 0
jge 0x45fb72
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045f620
mov eax, dword [ebp - 0x218]
call fcn.00404924
cmp eax, dword [ebp - 8]
jg 0x45fbac
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045f620
mov eax, dword [ebp - 0x21c]
call fcn.00404924
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045f954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fbdf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040466c
ret
Function at 0x4647ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00426e80
cmp ebx, dword [ebp - 8]
jge 0x46480f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004272b8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004272b8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004272e4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4647d5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x464818
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00426e80
cmp ebx, dword [ebp - 8]
jge 0x46487b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004272b8
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004272b8
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004272e4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x464841
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x476fd4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47705a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov ebx, eax
test ebx, ebx
jne 0x477015
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.0040469c
jmp 0x477044
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404cb0
push ebx
mov eax, dword [ebp - 8]
call fcn.00404b24
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404b84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477061
lea eax, [ebp - 8]
call fcn.00404648
ret
Function at 0x47b504
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00454238
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x4a0428
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.0040757c
ret

Function at 0x4a0ad0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404b14
mov eax, dword [ebp + 8]
call fcn.00404b14
xor eax, eax
push ebp
push 0x4a0b6b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp bl, byte [esi + 4]
jb 0x4a0b48
cmp dword [ebp + 8], 0
jne 0x4a0b1d
mov eax, dword [ebp - 4]
call fcn.00404b24
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4a0b48
push 0x4a0b84
push dword [ebp + 8]
push 0x4a0b90
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 4
call fcn.004049e4
mov eax, dword [ebp - 8]
call fcn.00404b24
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0b72
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040466c
lea eax, [ebp + 8]
call fcn.00404648
ret

Function at 0x4a0f8c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4a0fcb
push dword fs:[eax]
mov dword fs:[eax], esp
rdtsc
xchg ecx, eax
rdtsc
sub eax, ecx
cmp eax, 0xff
jae 0x4a0fbb
sub edx, edx
mov byte [ebp - 1], 0
jmp 0x4a0fc1
sub eax, ecx
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a0fd5
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a24a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a24b1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a273d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a26e6
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.0040aa6c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x18]
mov edx, 0x4a2758
call fcn.0040b674
lea eax, [ebp - 0x14]
mov edx, 0x4a2774
call fcn.004046e0
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402e84
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.004095cc
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004089ec
mov eax, dword [ebp - 0x1c]
mov edx, 0x4a2784
call fcn.00404a70
jne 0x4a2556
push 0x4a2794
push 0x4a27a4
mov ecx, dword [0x4a7668]
mov dl, 1
mov eax, dword [0x4184e8]
call fcn.0041d7ec
mov dword [ebp - 8], eax
jmp 0x4a2575
push 0x4a27b0
push 0x4a27a4
mov ecx, dword [0x4a7668]
mov dl, 1
mov eax, dword [0x4184e8]
call fcn.0041d7ec
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4a26d5
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push dword [ebp - 0x18]
push 0x4a27c4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049e4
push 0
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, 0x4a27d4
call fcn.00404970
mov eax, dword [ebp - 0x24]
push eax
call fcn.004a0ab0
xor ecx, ecx
pop edx
call fcn.004a0ad0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041d5e8
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x358]
lea eax, [ebp - 0x28]
mov edx, 0x4a27f8
call fcn.00404970
mov eax, dword [ebp - 0x28]
push eax
call fcn.004a0ab0
xor ecx, ecx
pop edx
call fcn.004a0ad0
push 0
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4a2818
call fcn.00404970
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004a0ab0
xor ecx, ecx
pop edx
call fcn.004a0ad0
call sub.kernel32.dll_GetCurrentProcessId
mov ebx, eax
push 0
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00408e50
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x4a283c
call fcn.00404970
mov eax, dword [ebp - 0x30]
push eax
call fcn.004a0ab0
xor ecx, ecx
pop edx
call fcn.004a0ad0
mov eax, 0x4a83b8
mov edx, dword [ebp - 0xc]
call fcn.0040469c
push dword [ebp - 0x14]
push 0x4a285c
mov eax, dword [ebp - 4]
push dword [eax + 0x358]
push 0x4a2868
push dword [ebp - 0x10]
push 0x4a2874
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.00408e50
push dword [ebp - 0x38]
mov eax, 0x4a83bc
mov edx, 7
call fcn.004049e4
push 3
push 0x4a2878
mov eax, dword [0x4a83bc]
call fcn.00404b24
push eax
mov eax, dword [0x4a83b8]
call fcn.00404b24
push eax
push 0x4a287c
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a26dc
mov eax, dword [ebp - 8]
call fcn.00403840
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 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219