joyce8/EMBER2024-capa huggingface dataset:
Function at 0x579390
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.0057aae0
mov edx, dword [esp + 0x2c]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x1c]
or ecx, 0xffffffff
cmp edx, 1
push esi
setne al
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x3c]
add eax, edi
mov dword [esp + 0x1c], esi
cmp eax, esi
jbe 0x5793c9
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
push ebp
cmp edx, 1
je 0x57949e
mov ebp, dword [esp + 0x30]
dec ebp
add ebp, esi
cmp dword [esp + 0x44], 0
mov cl, byte [ebp]
movzx edx, cl
mov byte [esp + 0x13], cl
mov dword [esp + 0x14], edx
je 0x579403
sub esi, edx
mov eax, 1
sub esi, edi
pop ebp
dec esi
pop edi
mov dword [ebx], esi
pop esi
pop ebx
add esp, 0x14
ret
lea ecx, [edx + eax]
mov ebx, esi
sub ebx, ecx
mov eax, esi
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, esi
shr ebx, 0x1f
dec ebx
cmp esi, eax
cmovb eax, esi
xor edi, edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x579475
mov esi, edx
shr edx, 0x1f
mov dword [esp + 0x1c], edx
mov ecx, esi
lea ebp, [ebp - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [ebp + 1]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [esp + 0x13]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x18]
jb 0x579435
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
not ebx
movzx eax, bl
mov ebx, dword [esp + 0x28]
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x3c]
neg ecx
and eax, ecx
sub esi, eax
mov dword [ebx], esi
push dword [esp + 0x48]
push ecx
push edi
push edx
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x48]
push ebx
call fcn.00579040
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042e8c4
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x40511b

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4

Function at 0x40bec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
lea ecx, [esp + 0x18]
call fcn.0040cfa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040dd50
test ebx, ebx
js 0x40bf15
jmp 0x45048e
int3
push edi
call fcn.0040eca9
jmp 0x4504f0
adc bl, ch
add cl, byte [ebx + 0x51cae8ca]
add eax, dword [eax]
test al, al
jne 0x4504ac
inc dword [esp + 0x14]
movsx eax, word [eax + 0xa]
push eax
push 0xbf900a7
jmp 0x450513
test bl, bl
je 0x4504b3
mov edx, dword [edx + 0x10]
push edx
lea eax, [esp + 0x14]

Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ebx + 4]
mov edi, ecx
sub esp, 0x10
mov dword [esp + 0x1c], edi
mov edx, dword [esi]
mov dword [esp + 0x3c], 3
mov eax, dword [eax + edx*4]
mov edx, esp
movsx ecx, word [eax + 0xa]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [edx], eax
Function at 0x40ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
push ebx
push esi
mov ecx, dword [eax]
mov eax, dword [0x4d2580]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x8c], ecx
cmp eax, dword [ecx + 4]
jg 0x40fe3a
mov ebx, dword [ebp + 0x10]
xor esi, esi
xor al, al
mov word [esp + 0x54], 1
push 8
mov byte [esp + 0x1f], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], esi
mov word [esp + 0x38], 1
push 0x4d2580
call fcn.00420242
add esp, 4
cmp dword [0x4d2580], 0xffffffff
jne 0x40ec76
push 0x44247b
call fcn.004200a3
add esp, 4
push 0x4d2580
call fcn.004201f8
add esp, 4
jmp 0x40ec76
Function at 0x41cfd7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor al, 0xbd
add byte [edx], bl
dec ebx
add al, ch
push eax
add byte [eax], 0

Function at 0x41fe45
Capabilities:
Enumerate pe sections

Disassembly:
cmp al, 3
enter 0xffffffffffffb70f, 0x41
adc al, 0x8d
push ecx
sbb byte [ebx], al
ror byte [edi], 1
mov bh, 0x41

Function at 0x43927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004390fa

Function at 0x4664d4
Capabilities:
Encode data using xor

Disassembly:
mov edx, eax
mov dword [edi + 0xc], edx
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0xfc3efe83
cmp dword [edi + 4], 0
mov esi, eax
pop ecx
je 0x466501
add esi, dword [edi + 4]
call 0xb841fe8c
inc ebx
mov dword [edi + 4], esi
sbb byte [ebx + 8], al
and dword [ebp + 8], 0xf
mov dword [edi + 0x15], eax
pop eax
je 0x466543
push 0x10
call 0xb841fe53
inc ebx
mov ecx, dword [ebx + 4]
xchg esi, eax
sldt word [eax + ecx]
mov ecx, dword [ecx + eax*4]
xor ah, bh
mov eax, ebp
mov edx, dword [edi]
lea esi, [edi]
pushfd
or al, 0
add dword [eax + ecx], eax
mov ecx, dword [edi + 4]
mov dword [ecx + eax*4], esi
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [edi + 8]
jb 0x466512
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x47201a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [str.ulong_ptr], 1
jne 0x47202d
call fcn.004720be
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472070
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x47207e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0x840f0270
jl 0x47208a
mov dword [str.ulong_ptr], esi
mov dword [0x4d2ff0], esi
pop esi
ret
Function at 0x4720be
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x4720e1
push 0
call fcn.0042e560
pop ecx
mov ecx, eax
call 0x4858207e
mov dword [str.ulong_ptr], 0x840f0270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f0470fe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x163ef9cc]
xchg byte [esi], cl
add esi, 4
sub edx, 1
jne 0x4720f6
mov eax, dword [esi]
mov dword [ebp - 4], 0xc3018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f0470fe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x472130
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f0470fe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
test ecx, ecx
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x402349
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4048c8
call fcn.00402ab4
push 1
call fcn.00402611
pop ecx
test al, al
jne 0x4021f2
push 7
call fcn.0040287f
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004025dc
mov byte [ebp - 0x24], al
mov eax, dword [0x40641c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4021eb
test eax, eax
jne 0x40225c
mov dword [0x40641c], ecx
push 0x40416c
push 0x40415c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40223f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x402343
push 0x404158
push 0x404150
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40641c], 2
jmp 0x402261
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040276e
pop ecx
call fcn.00402873
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402291
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x402291
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00402aae
call esi
call fcn.00402879
mov esi, eax
cmp dword [esi], edi
je 0x4022af
push esi
call fcn.004026e1
pop ecx
test al, al
je 0x4022af
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.00402994
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004029c7
test al, al
jne 0x4022e8
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x4022f1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040278b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x402343
call fcn.00402afa
ret
call fcn.00402063
jmp 0x4021d3

Function at 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push edi
mov edi, str.http:__gjfkdure.kr_xd.html_search
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401030
push 1
push eax
push eax
push str.http:__gjfkdure.kr_xd.html_search
push str.OPEN
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
ret 0x10
Function at 0x402680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
mov edi, dword [esp + 0x14]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
jne 0x4026aa
pop edi
pop ebp
xor eax, eax
pop ebx
ret
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4026a4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4026ea
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4026e6
cmp esi, ecx
jae 0x4026ea
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x4026d4
cmp esi, ecx
jb 0x4026f1
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x402700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
mov ebp, ecx
push edi
call fcn.00431e4b
mov ebx, eax
test ebx, ebx
jne 0x40271b
pop edi
pop ebp
pop ebx
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4027e3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4027e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4027e3
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402782
nop
cmp esi, ecx
jae 0x4027e3
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402770
cmp esi, ecx
jae 0x4027e3
cmp word [esi], 0
je 0x4027e3
mov eax, dword [ebp]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4027ab
push edi
mov ecx, ebp
call fcn.00402ce0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebp]
call fcn.00450063
push eax
call fcn.00402e20
mov eax, dword [ebp]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x4027ec
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp]
pop esi
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop ebp
pop ebx
ret 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret 4
push 0x80070057
call fcn.00402eb0
int3
Function at 0x402800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
xor dl, dl
push ebx
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x4028ed
test eax, 0xffff0000
jne 0x4028ed
movzx edi, ax
push edi
call fcn.00431e4b
mov ebx, eax
test ebx, ebx
je 0x4028eb
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4028eb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4028eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4028eb
push dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402894
cmp esi, ecx
jae 0x4028eb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402882
cmp esi, ecx
jae 0x4028eb
cmp word [esi], 0
je 0x4028eb
mov eax, dword [ebp]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4028bd
push edi
mov ecx, ebp
call fcn.00402ce0
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebp]
call fcn.00450063
push eax
call fcn.00402e20
mov eax, dword [ebp]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x4028f6
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp]
mov word [eax + edi*2], cx
mov dl, 1
pop edi
pop esi
pop ebp
mov al, dl
pop ebx
ret 4
push 0x80070057
call fcn.00402eb0
int3
Function at 0x402ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466afd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x488540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x32], 0
mov dword [ebp - 0x2e], 0
mov dword [ebp - 0x2a], 0
mov dword [ebp - 0x26], 0
mov word [ebp - 0x22], ax
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], ax
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x4030c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x14]
push str.CrystalDiskMark_08X
push eax
call fcn.00408d30
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
push 8
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x40308e
push 8
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x40308e
push 0x48cb90
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
je 0x403029
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x403091
push 0xffffffffffffffff
push dword [0x48cb90]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xffffffffffffffff
push dword [0x48cb90]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x18]
push eax
push dword [0x48cb90]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [0x48cb94]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [0x48cb90]
call edi
mov eax, dword [ebp + 8]
mov dword [0x48cb90], 0
fld qword [ebx]
fmul qword [0x47dcd0]
push ebx
fstp qword [eax]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
call edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4030b0
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402eb0
int3
Function at 0x408470
Capabilities:
Delete directory
Delete file

Disassembly:
push edi
push dword [0x48cbc8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [0x48cbcc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x48cd64]
cmp eax, dword [edx + 4]
jle 0x4084e9
push 0x48cd64
call fcn.0044c439
add esp, 4
cmp dword [0x48cd64], 0xffffffff
jne 0x4084e9
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x408553
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
push 0x46afd0
mov dword [0x48cd68], eax
call fcn.0044c6d9
push 0x48cd64
call fcn.0044c3e8
add esp, 8
push 0
push 0x4753f0
mov ecx, 0x48cd68
call fcn.004029e0
cmp dword [edi + 0x4bc], 1
jne 0x408514
push 7
push str._0Fill_
mov ecx, 0x48cd68
call fcn.004029e0
push 0x48cd68
push 0
push 0x9002
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x9003
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x23c], 0
xor eax, eax
mov dword [edi + 0x238], 0
pop edi
ret
push 0x80004005
call fcn.00402eb0
int3
Function at 0x409880
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4670bd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x488540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004266e0
lea eax, [edi + 0x178]
push eax
lea eax, [edi + 0x174]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419e90
push str._theme.ini
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.00419d00
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
add esp, 0x18
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409903
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 4
push str.ButtonTop
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4c8], eax
push 0
push str.ButtonLeft
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4cc], eax
push 4
push str.ButtonBottom
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4d0], eax
push 0
push str.ButtonRight
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4d4], eax
push 0
push str.MeterTop
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4d8], eax
push 0
push str.MeterLeft
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4dc], eax
push 0
push str.MeterBottom
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4e0], eax
push 4
push str.MeterRight
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4e4], eax
push 0
push str.CommentTop
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4e8], eax
push 8
push str.CommentLeft
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4ec], eax
push 0
push str.CommentBottom
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4f0], eax
push 8
push str.CommentRight
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4f4], eax
push 8
push str.DemoTop
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4f8], eax
push 8
push str.DemoLeft
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x4fc], eax
push 8
push str.DemoBottom
push str.Margin
call esi
push dword [ebp - 0x10]
mov dword [edi + 0x500], eax
push 8
push str.DemoRight
push str.Margin
call esi
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x504], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x409a91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret