joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59a3e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x59a48a
cmp dword [ebx + 0xac], 0
jne 0x59a484
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x59a328
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x59a484
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x59a44a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x59a484
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.00495194
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x59a459
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x59a7cc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x659c10]
cmp dword [eax + 0x190], 0
je 0x59a935
test bl, bl
jne 0x59a888
cmp dword [esi + 0xb4], 0
jne 0x59a87d
mov eax, esi
call fcn.0059d9d0
push eax
push 0x59a6cc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x59a84e
mov eax, dword [0x659c10]
cmp byte [eax + 0xeb], 0
je 0x59a84e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x59a82f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x59a84e
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x59a837
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x59a87d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00495194
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x59a85d
inc dword [esi + 0xb4]
jmp 0x59a935
cmp dword [esi + 0xb4], 0
jle 0x59a935
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x59a935
cmp dword [esi + 0x58], 0
je 0x59a8ea
mov eax, dword [0x659c10]
cmp byte [eax + 0xeb], 0
je 0x59a8ea
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x59a8cb
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x59a8ea
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x59a8d3
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x59a919
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.00495194
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x59a8f9
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x58ac08]
call fcn.0040cc14
pop edi
pop esi
pop ebx
ret
Function at 0x59b6f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x59b74d
cmp byte [ebx + 0xeb], 0
jne 0x59b74d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409ff0
mov eax, dword [esi]
test eax, eax
je 0x59b73a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x59b75a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a248
jmp 0x59b75a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a248
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x59d258
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x59d2c9
mov eax, esi
call fcn.0050d4e4
test al, al
je 0x59d2c9
mov eax, dword [ebx + 0x98]
call fcn.0050d07c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x59d2c9
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x59d2ba
push 0
mov eax, dword [ebx + 0x98]
call fcn.0050d07c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00503680
jmp 0x59d2c9
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.0059d064
pop esi
pop ebx
ret
Function at 0x5ada04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
xor ecx, ecx
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x5adb92
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5adb6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x222], 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x105
lea eax, [ebp - 0x222]
push eax
lea eax, [ebp - 0x228]
mov dx, word [ebp - 2]
call fcn.0040a884
lea eax, [ebp - 0x228]
mov edx, 0x5adbac
call fcn.0040aa70
mov eax, dword [ebp - 0x228]
call fcn.0040a864
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x5adacc
lea eax, [ebp - 0x222]
call fcn.0040a350
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x222]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
call fcn.00409ff0
jmp 0x5adad4
mov eax, dword [ebp - 8]
call fcn.00409e58
cmp word [ebp - 2], 0x61
jae 0x5adafb
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00422044
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 8]
call fcn.0040a248
jmp 0x5adb19
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00422070
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.0040a248
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 0x238], 0x11
lea edx, [ebp - 0x23c]
xor ecx, ecx
mov eax, 0x5adbc0
call fcn.00423eb0
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.0040a248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5adb72
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
pop eax
jmp eax

Function at 0x5f712c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409e58
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x5f715d
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409ff0
add esp, 0x24
pop ebx
ret

Function at 0x60b9b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x60b9cb
add esp, 0xfffffff0
call fcn.004086c0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x60ba46
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004081a8
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x18], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.0060bc18
mov edx, dword [ebp - 4]
lea eax, [esi + 0xc]
call fcn.0040a248
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov edx, 0x60ba78
call fcn.0040aac8
mov ecx, esi
mov dl, 1
mov eax, dword [0x60aeb8]
call fcn.0060c284
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60ba4d
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax
Function at 0x60c3dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x60c3e4
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60c59b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x60c5b4
call fcn.0040aac8
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.0060a2ac
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x60c5c8
call fcn.005b8030
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x60c45f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60c4a0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.0060a2ac
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60c630
call fcn.005b8030
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60c65c
call fcn.0040aa70
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x60c4b8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60c526
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60c670
call fcn.005b8030
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040aa70
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x60c4ef
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60c51a
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60c6a0
call fcn.005b8030
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60c65c
call fcn.0040aa70
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x60c532
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60c55d
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x60c6cc
call fcn.005b8030
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040aa70
mov eax, esi
mov edx, 0x60c65c
call fcn.0040aa70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60c5a2
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409eb8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409eb8
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax
Function at 0x639924
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda8
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409f4c
xor eax, eax
push ebp
push 0x639ab2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00638b00
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00638b20
mov dword [ebp - 0xc], eax
jmp 0x639a77
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.004237c8
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00421db0
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00421db0
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040ac00
je 0x639a4b
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.0040a918
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x250]
call fcn.00421db0
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x258]
mov eax, dword [ebp - 4]
call fcn.00421db0
mov edx, dword [ebp - 0x258]
pop eax
call fcn.0040ac00
jne 0x639a66
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.00638b40
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x6399a6
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x639ab9
lea eax, [ebp - 0x258]
mov edx, 7
call fcn.00409eb8
lea eax, [ebp - 4]
call fcn.00409e58
pop eax
jmp eax

Function at 0x639cb4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 4], eax
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x639cf0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.0040a918
jmp 0x639cf8
mov eax, dword [ebp - 4]
call fcn.00409e58
mov esp, ebp
pop ebp
ret
Function at 0x4adbd4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ad894

Function at 0x4add19
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004adc1e

Function at 0x4af4da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004af359
Function at 0x1001cf50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100df320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1001cf80
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1001cfb0
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1001cfb0
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1001d0ab
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1001cfd9
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1001d00d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x1001d06c
sub eax, 1
je 0x1001d06c
sub eax, 2
jne 0x1001d0ab
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1006a300
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1001d08a
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1001d0ab
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1001d0ab
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7270
mov esp, ebp
pop ebp
ret 4
Function at 0x1006a300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1006a30f
pop dword [ebp - 0x24]
mov eax, 0xaf87914c
add eax, 0x607f11c3
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x8cecb7b4
sub dword [ebp - 0x34], 0x3e9a7269
mov dword [ebp - 0x30], 0x289afa4b
sub dword [ebp - 0x30], 0xf667ae06
mov dword [ebp - 0x2c], 0x4968a085
add dword [ebp - 0x2c], 0x2e3a3a9
mov dword [ebp - 0x28], 0xd96b63a6
sub dword [ebp - 0x28], 0xd96b63a6
lea eax, [ebp - 0x34]
push eax
mov eax, 0xb45f9451
add eax, 0x5babdc8f
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x50f32ac9
sub dword [ebp - 0x34], 0xdc80c173
mov dword [ebp - 0x30], 0x14202243
sub dword [ebp - 0x30], 0xd2b3c0ce
mov dword [ebp - 0x2c], 0xa40a4167
add dword [ebp - 0x2c], 0xbf652b05
mov dword [ebp - 0x28], 0x7e9eaf23
sub dword [ebp - 0x28], 0x7e9eaf23
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x1ed75421
sub eax, 0xecbe385
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x591a7
push 0
call eax
mov ecx, 0x5dbbdc88
add ecx, 0xa24458f2
mov edx, eax
mov edi, 0x5cba2bc5
sub edi, 0x4caaf7c5
add edi, dword [ebp - 0x24]
mov esi, 0xf1bfa839
add dword [ebp - 0x10], 0xc996445a
mov ebx, dword [edi]
sub dword [ebp - 0x1c], esi
add ebx, esi
sub dword [ebp - 0x10], ebx
mov dword [edx], ebx
xor dword [ebp - 8], 0xa9d8160d
add edx, 0xbad30d5a
add edx, 0x452cf2aa
add edi, 4
loop 0x1006a42b
add eax, 0x1b1ace60
sub eax, 0x1b1a05a5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x601ca491
sub ecx, 0x501ca491
add ecx, dword [ebp - 0x24]
call ebx
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 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0xecd45a9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6c81490b
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401800
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x401839
mov eax, ebx
call fcn.00401000
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x401840
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x24]
sub esp, 0x40
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 0x14], 0x6f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x406d24
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x406d34
call sub.ole32.dll_CoCreateInstance
sub esp, 0x14
test eax, eax
js 0x4019e0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
js 0x401985
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 8
test eax, eax
js 0x401985
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x401985
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.DxDiag_SystemInfo
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0xc
test eax, eax
js 0x40195a
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00401320
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
jne 0x4019b8
mov eax, ebx
call fcn.00401000
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x401997
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4019a9
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
lea esp, [ebp - 8]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x24]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
test byte [section..data], 2
je 0x401985
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.IDxDiagProvider_instance_creation_failed_with_0x_08lx_n
mov dword [esp + 8], str.collect_dxdiag_information
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call fcn.00401230
jmp 0x401985