joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100943a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp edx, edi
jne 0x100943be
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], esi
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esi + eax*8]
mov dword [ebp - 0x10], ecx
lea eax, [esi + eax*8]
mov esi, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.1001edc0
dec dword [ebx + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x1009444e
nop dword [eax]
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x1009445d
mov edx, esi
mov esi, dword [esi]
call fcn.1001edc0
dec dword [ebx + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x18], eax
jne 0x10094430
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x1009447d
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x10094480
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x1009446a
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, edi
je 0x1009446a
nop word [eax + eax]
movzx eax, byte [esi + 8]
mov edx, esi
xor eax, 0x811c9dc5
mov edi, esi
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
mov esi, dword [esi]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.1001edc0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
je 0x1009450a
nop word [eax + eax]
mov eax, dword [ebp + 0xc]
mov edi, esi
cmp esi, eax
je 0x10094533
mov edx, esi
mov esi, dword [esi]
call fcn.1001edc0
dec dword [ebx + 8]
cmp edi, dword [ebp + 8]
jne 0x100944f0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp esi, edi
jne 0x10094490
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10094e80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a10f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.10094e10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10094f0a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10095050
cmp dword [ebx + 8], 0xfffffff
jne 0x10094f1e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.10097718
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a9f90]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a9f90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10095003
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.10098c20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10094fe5
cmp eax, 0x200
jae 0x10094fe3
shl eax, 3
cmp eax, ecx
jae 0x10094fe5
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10063370
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10094e10
mov edx, dword [eax]
jmp 0x10095006
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10095031
mov dword [ecx + eax*8], esi
jmp 0x10095043
cmp ebx, edx
jne 0x1009503a
mov dword [ecx + eax*8], esi
jmp 0x10095047
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10095047
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
Function at 0x10095650
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a10f5
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.10094e10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100956da
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10095822
cmp dword [ebx + 8], 0xfffffff
jne 0x100956ee
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.10097718
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a9f90]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a9f90]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100957d5
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.10098c20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100957b7
cmp eax, 0x200
jae 0x100957b5
shl eax, 3
cmp eax, ecx
jae 0x100957b7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10063370
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10094e10
mov edx, dword [eax]
jmp 0x100957d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10095803
mov dword [ecx + eax*8], esi
jmp 0x10095815
cmp ebx, edx
jne 0x1009580c
mov dword [ecx + eax*8], esi
jmp 0x10095819
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10095819
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
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 8
Function at 0x7b0190
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7b019a
pushal
call 0x7b01a0
pop ebp
sub ebp, 0x10
sub ebp, 0x3b0190
jmp 0x7b01b6
mov eax, 0x3b0190
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f0
mov edx, 0x24bb8cc4
xor byte [eax], dl
inc eax
dec ecx
jne 0x7b01cd
jmp 0x7b01e0
dec edi
or dword [edi + 0x4d], ecx
clc
invalid
Function at 0x100070b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100018e0]
jne 0x1000745e
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x100099a8], eax
mov dword [0x100099a4], ecx
mov dword [0x100099a0], edx
mov dword [0x1000999c], ebx
mov dword [0x10009998], esi
mov dword [0x10009994], edi
mov word [0x100099c0], ss
mov word [0x100099b4], cs
mov word [0x10009990], ds
mov word [0x1000998c], es
mov word [0x10009988], fs
mov word [0x10009984], gs
pushfd
pop dword [0x100099b8]
mov eax, dword [ebp]
mov dword [0x100099ac], eax
mov eax, dword [ebp + 4]
mov dword [0x100099b0], eax
lea eax, [ebp + 8]
mov dword [0x100099bc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100098f8], 0x10001
mov eax, dword [0x100099b0]
mov dword [0x100098ac], eax
mov dword [0x100098a0], 0xc0000409
mov dword [0x100098a4], 1
mov eax, dword [0x100018e0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1000942c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x100098f0], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001920
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x100098f0], 0
jne 0x1000754e
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x100079c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100079d6
pop dword [ebp - 0x4c]
mov eax, 0xd867349d
add eax, 0x37994539
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc21c99b
add dword [ebp - 0x5c], 0x42307bb0
mov dword [ebp - 0x58], 0x92837a8a
add dword [ebp - 0x58], 0x9fafd1bb
mov dword [ebp - 0x54], 0x6127676c
add dword [ebp - 0x54], 0xeb24dcc2
mov dword [ebp - 0x50], 0xd0071711
add dword [ebp - 0x50], 0x2ff8e8ef
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x5b842c82
sub dword [ebp - 0x5c], 0xe711c32c
mov dword [ebp - 0x58], 0xbfefb93d
add dword [ebp - 0x58], 0x817ca838
mov dword [ebp - 0x54], 0x7d6ccd21
sub dword [ebp - 0x54], 0x19fd60b5
mov dword [ebp - 0x50], 0xf5f507b6
add dword [ebp - 0x50], 0xa0af84a
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0xe644ef99
add eax, 0x29bb21a3
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x339f0
push 0
call eax
mov ecx, 0x3c75
mov edx, eax
mov esi, 0x888e603f
sub esi, 0x788da03f
add esi, dword [ebp - 0x4c]
mov ebx, 0xff05bf6a
mov dword [ebp - 0x40], 0xf653212a
mov edi, dword [esi]
add dword [ebp - 0x14], 0xb0d8d31c
add edi, ebx
xor dword [ebp - 0x48], 0x7f6b6d6e
mov dword [edx], edi
mov dword [ebp - 0x38], 0x8f564f34
add edx, 4
add esi, 0x8f410763
add esi, 0x70bef8a1
loop 0x10007ae7
add eax, 0x7865adae
add eax, 0x879b36f9
mov ebx, eax
add eax, 0xb500d0db
add eax, 0x4aff2f2a
mov ecx, 0xc4f9d5f0
add ecx, 0x4b062a10
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x401160
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
lock xadd dword [esi + 0x18], ebx
sub ebx, 1
test byte [section..data], 8
jne 0x4011d8
test ebx, ebx
jne 0x4011c5
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4011a1
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], esi
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
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p____lu_n
mov dword [esp + 8], str.factory_Release
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40118b
Function at 0x401a40
Capabilities:
Enumerate pe sections

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov esi, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov ecx, dword [ecx]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x1c], esi
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x20], edi
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
test byte [section..data], 8
jne 0x401ab0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x18]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._CoMarshalInterface_24
sub esp, 0x18
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x1c
test ebx, ebx
je 0x401ba0
mov eax, ebx
mov dword [ebp - 0x28], edx
shr eax, 0x10
mov dword [ebp - 0x24], ecx
je 0x401b88
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
mov dword [esp + 0x24], edx
mov dword [ebp - 0x24], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov edx, dword [ebp - 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__s__p__08lx__p__08lx__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.marshal_MarshalInterface
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x401a79
mov dword [esp + 4], ebx
mov dword [esp], str._guid_0x_04hx_
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
jmp 0x401b31
mov eax, str._null_
jmp 0x401b31
Function at 0x4020b0
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
test byte [section..data], 8
jne 0x402200
mov dword [esp + 8], 0x20
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_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x4022cf
mov dword [eax], sym._factory_QueryInterface_12
mov dword [eax + 4], 0x405340
mov eax, dword [edi]
mov dword [ebx + 8], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40b408
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], edi
call sym._CoGetClassObject_20
sub esp, 0x14
mov esi, eax
test eax, eax
jns 0x402190
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 8
mov dword [esp + 8], 4
add eax, 8
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
mov dword [esp], edi
call sym._CoRegisterClassObject_20
sub esp, 0x14
mov esi, eax
test eax, eax
js 0x40216d
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateEventW]
sub esp, 0x10
mov dword [edi + 0xc], eax
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
test edi, edi
je 0x4022c8
mov eax, edi
shr eax, 0x10
je 0x4022b0
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p__s__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.surrogate_LoadDllServer
mov dword [esp + 4], 0x404000
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4020d9
mov dword [esp + 4], edi
mov dword [esp], str._guid_0x_04hx_
call sym._wine_dbg_sprintf
jmp 0x402275
mov eax, str._null_
jmp 0x402275
mov esi, 0x8007000e
jmp 0x402178
Function at 0x402590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x4025eb
cmp byte [esi + ebx - 1], 0xa
je 0x4025bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x40c084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x403050
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x4030a3
mov edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x4030d0
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x403137
xor ecx, ecx
xor edx, edx
jmp 0x403119
cmp ax, 0x5c
jne 0x4031a8
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x403137
cmp ax, 9
je 0x403125
cmp ax, 0x20
jne 0x403100
test ecx, ecx
je 0x403190
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x403119
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x4031c8
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x403190
cmp ax, 0x20
je 0x403190
jmp 0x403137
cmp ax, 0x22
jne 0x403129
and edx, 1
jne 0x403129
xor ecx, 1
jmp 0x40310d
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x403150
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40e505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40e514
pop dword [ebp - 0x40]
mov eax, 0xd38652ef
sub eax, 0xd3456ddb
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x3346ea8d
sub dword [ebp - 0x50], 0xe4f4a542
mov dword [ebp - 0x4c], 0xe688896d
sub dword [ebp - 0x4c], 0xb4553d28
mov dword [ebp - 0x48], 0xa477c861
add dword [ebp - 0x48], 0xa7d47bcd
mov dword [ebp - 0x44], 0x9505c99e
sub dword [ebp - 0x44], 0x9505c99e
lea eax, [ebp - 0x50]
push eax
mov eax, 0x2413f05c
add eax, 0xdc2e4018
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x5ae3adc
sub dword [ebp - 0x50], 0x913bd186
mov dword [ebp - 0x4c], 0xc0931b86
sub dword [ebp - 0x4c], 0x7f26ba11
mov dword [ebp - 0x48], 0xf25b19fc
add dword [ebp - 0x48], 0x71145270
mov dword [ebp - 0x44], 0xaf53d9dc
sub dword [ebp - 0x44], 0xaf53d9dc
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x38600
push 0
call eax
mov ecx, 0x50306163
add ecx, 0xafcfd139
xor edi, edi
add edi, eax
mov ebx, 0x6eda3ec9
add ebx, 0x91690537
add ebx, dword [ebp - 0x40]
mov edx, 0x8d245d51
sub edx, 0x800bb734
add dword [ebp - 0x38], ebx
mov esi, dword [ebx]
xor dword [ebp - 0x14], edi
xor esi, edx
mov dword [edi], esi
sub dword [ebp - 0x38], 0x939866b7
add edi, 0x5d9db555
sub edi, 0x5d9db551
add ebx, 4
loop 0x40e633
add eax, 0x8b055e5e
add eax, 0x74fb5ee5
xor ebx, ebx
add ebx, eax
add eax, 0x695fb811
add eax, 0x96a047f4
mov ecx, 0xf98e155f
add ecx, 0x6b1eaa1
add ecx, dword [ebp - 0x40]
call ebx
leave
ret