joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006ee0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
xor ebx, ebx
push edi
mov esi, eax
cmp ebp, ebx
je 0x10006fc5
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006f00
sub eax, edx
sar eax, 1
je 0x10006fc5
cmp dword [esi + 0x68], ebx
lea edi, [esi + 0x68]
je 0x10006f2a
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x60], ebx
call fcn.1000cb00
add esp, 4
push esi
mov ecx, 0x10010948
call fcn.1000cb00
add esp, 4
push ebp
lea ecx, [esi + 0x6c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push ebx
push ebx
push esi
push 0x10006830
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageW]
mov dword [edi], eax
nop
push 0x4ff
push 0xffffffffffffffff
push ebx
push edi
push 1
call esi
test eax, eax
je 0x10006faa
push 1
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x10006f80
mov eax, dword [edi]
cmp eax, ebx
je 0x10006fb7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x1c
ret 8
Function at 0x10009730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.100094c9
xor eax, 0x8dbb8655
inc ebp
test al, 0x50
call fcn.100094d9
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1000948e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x100097b7
invalid
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100094c9
jns 0x10009838
std
jecxz 0x10009799
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
pop ebp
jmp 0x50eade04

Function at 0x1000a960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.100094c9
arpl ax, bp
insd dword es:[edi], dx
lea eax, es:[ebp - 0x72c]
push eax
call fcn.100094d9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000948e
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.100094c9
dec esp
mov ch, 0xc5
pop esi
lea eax, [ebp - 0x718]
push eax
push 0x40
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
push 5
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.1000943a
add esp, 0xc
lea eax, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
call fcn.100094c9
invalid
Function at 0x1000c720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000e039
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1001509c]
xor eax, esp
mov dword [esp + 0x24], eax
push edi
mov eax, dword [0x1001509c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push edi
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::insert_unsigned_int__wchar_t_const__]
push 0
push str.__t_n_r
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_not_of_wchar_t_const___unsigned_int_const]
push eax
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_int__unsigned_int_]
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
jae 0x1000c7a5
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push ebx
call sub.Config.dll_Ordinal_20
add esp, 0x24
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test edi, edi
jne 0x1000c815
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000c7e7
push eax
call sub.Config.dll_Ordinal_1
add esp, 4
mov dword [esi + 0x20], edi
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x1000c829
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1000d345
add esp, 0x34
ret
Function at 0x1000d345
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001509c]
jne 0x1000d34f
repz ret
jmp fcn.1000d95b

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x23b1130b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x144816b1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x11b9d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11d2d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x11db520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x121c080
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.011ba1b0
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x11b9e16
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.011b9ef0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x11b9e09
test ebx, ebx
je 0x11b9e14
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x11d7668
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.011b6de0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x11b9dc0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x11b9e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x11b9e14
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x11b9e5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 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
mov eax, 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
Function at 0x401133
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x421876
call fcn.00418558
sub esp, 0x3c
test byte [ebp + 0xd], 1
je 0x4011d4
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00401644
and dword [ebp - 4], 0
push 1
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x10], 0x5c
call fcn.00401759
cmp eax, 0xffffffff
je 0x4011bb
push edi
push eax
lea edi, [eax + 1]
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401667
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x401191
lea eax, [ebp - 0x28]
push eax
call fcn.00420f1a
pop ecx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017f4
push 1
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x10], 0x5c
call fcn.00401759
cmp eax, 0xffffffff
jne 0x401173
pop edi
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
or byte [ebp + 0xd], 2
push 1
lea ecx, [ebp - 0x48]
call fcn.004017f4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00415dd0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
leave
ret
Function at 0x402770
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push esi
je 0x402803
test edi, edi
je 0x402803
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
jbe 0x4027fc
push eax
call fcn.004151d0
mov esi, eax
test esi, esi
pop ecx
jne 0x4027ab
mov eax, 0x8007000e
jmp 0x402808
push esi
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4027f5
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0x4255b0
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4027f5
mov eax, dword [ebp + 8]
test eax, eax
je 0x4027f5
mov ecx, dword [eax + 8]
mov dword [edi + 4], ecx
mov eax, dword [eax + 0xc]
push esi
mov dword [edi], eax
call fcn.0040112e
pop ecx
xor eax, eax
jmp 0x402808
push esi
call fcn.0040112e
pop ecx
mov eax, 0x80004005
jmp 0x402808
mov eax, 0x80070057
pop esi
leave
ret
Function at 0x405255
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x421e6e
call fcn.00418558
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
push ebx
push esi
push edi
jne 0x405276
xor edi, edi
jmp 0x405278
mov edi, dword [eax]
cmp edi, eax
je 0x4053ac
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea esi, [edi + 8]
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00404b1d
and dword [ebp - 4], 0
lea eax, [esi + 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404b1d
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.00404b1d
push 0x3c
lea eax, [ebp - 0xa0]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00416610
mov eax, dword [ebp - 0x28]
add esp, 0x24
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xa0], 0x3c
mov dword [ebp - 0x94], str.open
jae 0x4052ec
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x44]
jae 0x4052fe
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x60]
jae 0x405310
lea eax, [ebp - 0x60]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x9c], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x405370
mov esi, dword [ebp - 0x68]
jmp 0x40535a
cmp dword [ebp - 0x10], 0x103
jne 0x405367
cmp byte [0x42bd48], 0
jne 0x4053bd
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x405340
jmp 0x40537c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40537c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x54], 0
je 0x4053d5
mov edi, dword [edi]
push 1
lea ecx, [ebp - 0x64]
call fcn.004017f4
push 1
lea ecx, [ebp - 0x48]
call fcn.004017f4
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x2c]
call fcn.004017f4
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 4]
jne 0x405286
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 1
lea ecx, [ebp - 0x64]
call fcn.004017f4
push 1
lea ecx, [ebp - 0x48]
call fcn.004017f4
push 1
jmp 0x40543b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xd8]
push str.Failed_to_execute_
push eax
call fcn.004048d5
push 0x42559c
push eax
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
call fcn.00404889
push eax
mov byte [ebp - 4], 4
call fcn.004050e5
xor esi, esi
add esp, 0x1c
inc esi
push esi
lea ecx, [ebp - 0xbc]
call fcn.004017f4
push esi
lea ecx, [ebp - 0xd8]
call fcn.004017f4
push esi
lea ecx, [ebp - 0x64]
call fcn.004017f4
push esi
lea ecx, [ebp - 0x48]
call fcn.004017f4
push esi
lea ecx, [ebp - 0x2c]
call fcn.004017f4
xor al, al
jmp 0x4053ae
Function at 0x40544a
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x421b36
call fcn.00418558
sub esp, 0x38
push esi
push edi
push str._readme.html
mov esi, 0x42a26c
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00404889
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00411b50
add esp, 0x10
test al, al
jne 0x4054ae
push str._readme.txt
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00404889
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004016ad
push 1
lea ecx, [ebp - 0x44]
call fcn.004017f4
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x4054ba
lea eax, [ebp - 0x24]
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x28]
push 1
call fcn.004017f4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4054f3
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x421e80
call fcn.00418558
mov eax, 0x4038
call fcn.004181c0
push 0x4000
lea eax, [ebp - 0x4044]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x4044]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401644
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404b1d
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x405549
mov eax, dword [eax + 4]
jmp 0x40554c
add eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
lea ecx, [ebp - 0x44]
call fcn.004017f4
push 1
lea ecx, [ebp - 0x28]
call fcn.004017f4
push 0
push 0x4054e3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x408642
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40869e
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
cmp dword [esi + 0x18], 0x10
jb 0x408679
mov esi, dword [esi + 4]
jmp 0x40867c
add esi, 4
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
call eax
test eax, eax
jne 0x408696
or edx, 0xffffffff
mov eax, edx
jmp 0x4086d9
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
jmp 0x4086d9
cmp dword [esi + 0x18], 0x10
jb 0x4086a9
mov esi, dword [esi + 4]
jmp 0x4086ac
add esi, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x40868f
mov eax, dword [ebp - 4]
mul dword [ebp - 8]
push 0
push dword [ebp - 0x10]
push edx
push eax
call fcn.00418180
pop esi
leave
ret
Function at 0x40af9d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x40afd8
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x40afb5
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x40aff4
dec esi
je 0x40afed
dec esi
jne 0x40aff9
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x411ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x429364]
xor eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x28], eax
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0x14]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x38], ebx
jbe 0x411f5a
push ebp
lea ebp, [edi + 4]
cmp dword [edi + 0x18], 0x10
jb 0x411f2e
mov eax, dword [ebp]
jmp 0x411f30
mov eax, ebp
movsx eax, byte [eax + esi]
push eax
call fcn.00418315
mov byte [esp + 0x4c], al
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
push 1
lea ecx, [esp + 0x1c]
call fcn.00409699
mov eax, dword [edi + 0x14]
inc esi
cmp esi, eax
jb 0x411f23
pop ebp
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004016ad
cmp dword [esp + 0x28], 0x10
jb 0x411f8e
mov eax, dword [esp + 0x14]
push eax
call fcn.0040112e
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x28]
xor ecx, dword [esp + 0x38]
mov eax, esi
pop esi
pop ebx
add esp, 0x30
jmp fcn.00418047
Function at 0x416394
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41655a
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x42e660]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41655a
test cl, 0x48
je 0x4163fa
mov al, byte [eax + 5]
cmp al, 0xa
je 0x4163fa
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41644c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x416434
call fcn.0041a263
mov dword [eax], 9
call fcn.0041a26c
mov dword [eax], esi
jmp 0x416444
cmp eax, 0x6d
je 0x41655a
push eax
call fcn.0041a275
pop ecx
or eax, 0xffffffff
jmp 0x41655c
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x416555
test edx, edx
je 0x41646f
cmp byte [ebx], 0xa
jne 0x41646f
or al, 4
jmp 0x416471
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x41654f
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x41653f
cmp al, 0xd
je 0x4164a5
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x416531
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4164bf
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4164ba
add dword [ebp + 0x10], 2
jmp 0x416513
mov dword [ebp + 0x10], eax
jmp 0x41652d
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4164e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41652d
cmp dword [ebp - 0xc], 0
je 0x41652d
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x416508
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x416513
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x416530
cmp ebx, dword [ebp + 0xc]
jne 0x416518
cmp byte [ebp - 1], 0xa
jne 0x416518
mov byte [ebx], 0xa
jmp 0x416530
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041677d
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x416531
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x416489
jmp 0x41654f
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x41654f
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41655c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret