joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4096e0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
jmp 0x409789
cmp dword [esi + 0x10], 0x1000
jne 0x409775
test byte [esi + 0x15], 1
jne 0x409775
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409734
cmp eax, 2
je 0x409734
cmp eax, 0x10
je 0x409734
cmp eax, 0x20
jne 0x409749
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409749
mov bl, 1
xor ebp, ebp
jmp 0x40975a
mov eax, dword [esi]
add eax, ebp
call fcn.004096d8
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40974d
test bl, bl
je 0x409775
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409794
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40970c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x48fb5993
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x645b1fa9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1000798e
Capabilities:
Send data
Send data on socket

Disassembly:
push 4
mov eax, 0x1000bfc2
call fcn.1000b929
push 1
mov esi, 0xa8
push esi
push str._LIB::SendByte__opcode:__d__byte:__d_n
push dword [0x1001275c]
call fcn.10005d95
push dword [0x1001275c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push 0x10
call fcn.1000aa6a
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
add esp, 0x14
mov ecx, eax
call fcn.10005dc6
mov edi, eax
push esi
mov ecx, edi
call fcn.10005dee
push 1
call fcn.10005dee
call fcn.10005e12
mov ecx, edi
call fcn.10008f9a
mov eax, dword [edi + 0xc]
push 0
movzx esi, word [eax]
add esi, 2
push esi
push eax
push dword [0x10012750]
call dword [sym.imp.WS2_32.dll_send]
push eax
push esi
push str._LIB::SendByte__bytestosend:__d__ret:__d_n
push dword [0x1001275c]
call fcn.10005d95
push dword [0x1001275c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push dword [edi + 0xc]
call fcn.1000acb0
push 0x10
push edi
call fcn.1000aa9a
add esp, 0x20
call fcn.1000b906
ret 8
Function at 0x100086ad
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0x40
push dword [ebp + 8]
mov ebx, edx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp + 8], 2
jne 0x100086d3
mov word [esi], bx
jmp 0x100086db
cmp dword [ebp + 8], 1
jne 0x100086db
mov byte [esi], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ebx
leave
ret

Function at 0x100086f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 8]
mov ebx, edx
push eax
mov esi, ecx
push 0x40
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
pop ecx
push eax
push dword [ebp - 4]
call esi
pop esi
pop ebx
leave
ret
Function at 0x10008f9a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10012008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x768c7c]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x768c80]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x768c84]
cmp dword [edi + 8], 2
mov esi, dword [edi]
sete bl
mov dword [ebp - 0xc], eax
mov eax, dword [0x768c88]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 8], eax
lea ebx, [ebx*4 + 2]
add esi, ebx
mov dword [ebp - 0x28], ebx
mov ecx, esi
mov dword [ebp - 0x1c], esi
and ecx, 0x80000007
jns 0x10008ffd
dec ecx
or ecx, 0xfffffff8
add ecx, 1
je 0x10009009
push 8
pop eax
sub eax, ecx
add esi, eax
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 0xc]
mov eax, esi
cdq
add ecx, ebx
and edx, 3
mov dword [ebp - 0x20], ecx
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x1000909d
mov edi, dword [ecx + edx*4]
xor esi, esi
mov ebx, dword [ecx + edx*4 + 4]
push 0x20
pop edx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
sub esi, 0x61c88647
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
xor ecx, eax
add ebx, ecx
sub edx, 1
jne 0x10009034
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + edx*4], edi
mov dword [ecx + edx*4 + 4], ebx
add edx, 2
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x24]
jl 0x10009028
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi + 0xc]
lea ecx, [ebx - 2]
add ecx, esi
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov dword [edi], esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000a85f
leave
ret
Function at 0x100090b9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10012008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x768c7c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x768c80]
mov dword [ebp - 0x10], eax
mov eax, dword [0x768c84]
mov dword [ebp - 0xc], eax
mov eax, dword [0x768c88]
mov dword [ebp - 8], eax
mov eax, edx
cdq
and edx, 3
add eax, edx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
test eax, eax
jle 0x1000917b
push ebx
push edi
mov edi, dword [esi + edx*4 + 2]
mov ebx, dword [esi + edx*4 + 6]
mov esi, 0xc6ef3720
push 0x20
pop edx
mov ecx, edi
mov eax, edi
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
shr eax, 0xd
add ecx, edi
and eax, 3
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
add esi, 0x61c88647
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl eax, 4
shr ecx, 5
xor ecx, eax
mov eax, esi
and eax, 3
add ecx, ebx
mov eax, dword [ebp + eax*4 - 0x14]
add eax, esi
xor ecx, eax
sub edi, ecx
sub edx, 1
jne 0x10009118
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [esi + edx*4 + 2], edi
mov dword [esi + edx*4 + 6], ebx
add edx, 2
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x20]
jl 0x10009108
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000a85f
leave
ret
Function at 0x10009e12
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10009e35
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
jmp 0x10009ef5
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10009e5b
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x10009e60
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x10009ec1
jg 0x10009e75
test esi, esi
je 0x10009ec1
test ecx, ecx
jl 0x10009ebc
jg 0x10009e7f
test eax, eax
je 0x10009ebc
cmp edi, ecx
jg 0x10009e91
jl 0x10009e89
cmp esi, eax
jae 0x10009e91
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x10009ec4
mov ecx, dword [ebp + 8]
jmp 0x10009ece
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10009ee9
jg 0x10009ece
test esi, esi
je 0x10009ee9
cmp dword [ebx + 0x4c], 0
je 0x10009ee9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10009efa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jg 0x10009f1c
jl 0x10009f13
test edi, edi
jne 0x10009f1c
xor eax, eax
xor edx, edx
jmp 0x10009feb
cmp dword [ecx + 0x38], 0
je 0x10009f32
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
jmp 0x10009feb
mov eax, dword [ecx + 0x1c]
push esi
mov esi, edi
mov edx, dword [eax]
test edx, edx
je 0x10009f7d
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x10009f7d
cmp eax, edi
jb 0x10009f53
mov eax, edi
mov dword [ebp + 0x10], edi
mov esi, dword [ebp + 8]
push eax
push edx
push esi
call dword [sym.imp.VCRUNTIME140.dll_memcpy]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp + 0x10]
add esi, edx
mov dword [ebp + 8], esi
mov esi, edi
sub esi, edx
mov eax, dword [ecx + 0x2c]
sub dword [eax], edx
mov eax, dword [ecx + 0x1c]
add dword [eax], edx
jmp 0x10009f83
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ecx + 0x4c], 0
je 0x10009fe1
call fcn.1000a530
mov edx, dword [ebp + 8]
mov eax, esi
cmp esi, 0xfff
jbe 0x10009fcb
push dword [ecx + 0x4c]
push 0xfff
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, dword [ebp + 8]
mov ecx, 0xfff
add edx, eax
add esp, 0x10
sub esi, eax
mov dword [ebp + 8], edx
cmp eax, ecx
jne 0x10009fe1
cmp esi, ecx
mov ecx, dword [ebp - 4]
ja 0x10009f9b
mov eax, esi
test eax, eax
je 0x10009fe1
push dword [ecx + 0x4c]
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
sub edi, esi
mov eax, edi
sbb ebx, 0
mov edx, ebx
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x1000a261
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10012008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000a284
xor eax, eax
jmp 0x1000a342
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x1000a2a6
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x1000a2a6
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x1000a342
cmp dword [esi + 0x4c], 0
push edi
je 0x1000a33e
call fcn.1000a530
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1000a2c2
movsx eax, bl
jmp 0x1000a2fb
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
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 0x1000a310
sub eax, 1
je 0x1000a310
dec eax
sub eax, 1
jne 0x1000a33e
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x1000a33a
or ebx, eax
jmp 0x1000a33a
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000a32e
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 0x1000a33e
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x1000a33e
mov eax, ebx
jmp 0x1000a341
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a85f
leave
ret 4
Function at 0x1000a553
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10012008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x1000a5ab
cmp byte [esi + 0x3d], bl
je 0x1000a5ab
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000a5e5
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, ebx
je 0x1000a5bc
sub eax, 1
je 0x1000a5bf
dec eax
sub eax, 1
jne 0x1000a5e5
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a85f
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000a5dd
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 0x1000a5e5
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1000a5ad
xor al, al
jmp 0x1000a5ad
Function at 0x401050
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0x402118
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401095
push 0
push str.Warning
push str.There_is_an_instance_of_single_instance_application_already_running.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
test esi, esi
je 0x40108e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
push str.press_any_key_to_exit_._._.
call fcn.00401030
add esp, 4
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getch]
test esi, esi
je 0x4010b3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
Function at 0x4041b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4251f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x220]
lea ecx, [esi + 0x218]
lea edx, [esp + 0x40]
mov dword [esp + 0x38], 0
push edx
push eax
call sub.MFC42u.DLL_CStringArray::SetAtGrow
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x22c]
mov dword [esp + 0xc], eax
inc eax
lea ecx, [esp + 8]
mov dword [esi + 0x22c], eax
mov edx, dword [esi + 0x1f0]
mov eax, dword [esp + 0x40]
push ecx
push 0
push 0x104d
push edx
mov dword [esp + 0x18], 3
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x413550
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CFileFind::CFileFind
lea eax, [ebp + 8]
push 0x439234
lea ecx, [ebp - 0x14]
push eax
push ecx
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_operator
mov eax, dword [eax]
push 0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CFileFind::FindFile
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
mov esi, dword [sym.imp.MSVCRT.dll__waccess]
test edi, edi
lea ecx, [ebp - 0x38]
je 0x41363c
call sub.MFC42u.DLL_CFileFind::FindNextFileW
lea ecx, [ebp - 0x38]
mov edi, eax
call sub.MFC42u.DLL_CFileFind::IsDots
test eax, eax
jne 0x4135bf
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edx
call sub.MFC42u.DLL_CFileFind::GetFilePath
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push 2
push eax
call esi
add esp, 8
cmp eax, 0xffffffff
lea ecx, [ebp - 0x14]
setne bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x41362e
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x18]
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
jmp 0x4135bf
call sub.MFC42u.DLL_CFileFind::Close
mov edx, dword [ebp + 8]
push 2
push edx
call esi
add esp, 8
cmp eax, 0xffffffff
je 0x41365b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00424418
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4275d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, dword [esp + 0x1c]
xor eax, eax
mov word [esp + 8], ax
push 2
mov edx, dword [esi]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 2
mov byte [esp + 0x12], al
mov word [esp + 0x10], 0xfeff
call dword [edx + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 8]
push 2
push ecx
mov ecx, esi
call dword [eax + 0x40]
push 0x440958
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::CString_1
push str._HTML__content_type___application_vnd.ms_excel___BODY_bgcolor__F5FFFF__
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call fcn.00423f2c
push str._h4__center_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42u.DLL_CString::operator
push str.__center___h4_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
push 0x433a88
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push 0x433a84
push eax
call edi
add esp, 8
test eax, eax
je 0x417bd8
push str._TR_HEIGHT30__TD__FONT_face_Courier__color__blue_size___2____Key_Path_:nbspnbspnbspnbsp__FONT__TD_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
push str._TD___FONT_face_Courier__color__blue_size___2___
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator
push str.__FONT___TD___TR_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
mov edx, dword [esp + 0x24]
push 0x433a84
push edx
call edi
add esp, 8
test eax, eax
je 0x417c23
push str._TR_HEIGHT30__TD__FONT_face_Courier__color__blue_size___2____Last_Written_Time_:nbspnbspnbspnbsp__FONT__TD_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
push str._TD__FONT_face_Courier__color__blue_size___2___
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42u.DLL_CString::operator
push str.__FONT___TD___TR_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
push str.__TABLE___center__br_
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
push str._br__center__TABLE__bordercolor_C0C0C0__cellpadding1_cellspacing0_border1__TR_height25_BGCOLOR_1f4989__
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_CString::operator_1
mov edx, dword [esi]
push 2
push 0
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x40]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x14], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x4221e8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x422227
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x422227
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x422227
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x422227
cmp dword [ecx + 0x74], 0xe
jbe 0x422227
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret