joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4102f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41035a
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push dword [ebp + 8]
call fcn.004103a0
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp + 8]
push ecx
push dword [eax - 0xc]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41032d
call fcn.00401ec0
mov esi, eax
jmp 0x41032f
xor esi, esi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41038c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
test esi, esi
setns al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41038a
call fcn.00401ec0
mov esi, eax
xor eax, eax
test esi, esi
setns al
pop esi
mov esp, ebp
pop ebp
ret 8
xor esi, esi
xor eax, eax
test esi, esi
setns al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x410600
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
test edx, edx
je 0x410712
mov esi, dword [ebp + 8]
test esi, esi
jle 0x410712
or eax, 0xffffffff
cmp esi, 8
jl 0x4106eb
push edi
mov edi, esi
shr edi, 3
mov ecx, edi
neg ecx
lea esi, [esi + ecx*8]
movzx ecx, byte [edx]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 1]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 2]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 3]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 4]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 5]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 6]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
movzx ecx, byte [edx + 7]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
add edx, 8
dec edi
jne 0x410631
pop edi
test esi, esi
je 0x41070b
nop
movzx ecx, byte [edx]
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x4321d8]
lea edx, [edx + 1]
dec esi
jne 0x4106f0
not eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b3f7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4360c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418f9f
mov dword [ebp - 0x14], eax
cmp dword [0x43844c], edi
jne 0x41b4e8
push 0x800
push edi
push 0x425484
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41b475
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41b5c8
push 0x425484
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b5c8
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b5c8
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x43844c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x438450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x438454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43845c], eax
test eax, eax
je 0x41b4e5
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x438458], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b50d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b500
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41b522
push 4
pop eax
jmp 0x41b5ca
cmp dword [ebp - 0x14], edi
je 0x41b522
push dword [0x43844c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41b507
mov eax, dword [0x438458]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41b580
cmp dword [0x43845c], esi
je 0x41b580
push eax
call ebx
push dword [0x43845c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41b580
test eax, eax
je 0x41b580
call ecx
test eax, eax
je 0x41b575
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41b575
test byte [ebp - 8], 1
jne 0x41b580
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41b5b0
mov eax, dword [0x438450]
cmp eax, esi
je 0x41b5ad
push eax
call ebx
test eax, eax
je 0x41b5ad
call eax
mov edi, eax
test edi, edi
je 0x41b5ad
mov eax, dword [0x438454]
cmp eax, esi
je 0x41b5ad
push eax
call ebx
test eax, eax
je 0x41b5ad
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x43844c]
call ebx
test eax, eax
je 0x41b5c8
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41b5ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413156
leave
ret
Function at 0x12820
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x12c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0xc0000001
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x200
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0x1f03ff
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x12cc1
push 0
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [sym.imp.ntoskrnl.exe_PsThreadType]
mov ecx, dword [eax]
push ecx
push 0x1f03ff
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp - 4], 0
jl 0x12ccc
mov eax, dword [ebp - 8]
jmp 0x12cce
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x17720
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov byte [ebp - 0x19], 0
call fcn.0001a280
movzx eax, al
test eax, eax
je 0x17747
mov eax, 0xc0000001
jmp 0x17865
push 0x1d8cc
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0x8000
lea eax, [ebp - 0x14]
push eax
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x17797
mov edx, dword [ebp - 0x20]
push edx
push 0x1d8fc
push 0
push 0x4d
call dword [sym.imp.ntoskrnl.exe_DbgPrintEx]
add esp, 0x10
jmp 0x17840
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
push 0x1d92c
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x177de
mov edx, dword [ebp - 0x20]
push edx
push 0x1d964
push 0
push 0x4d
call dword [sym.imp.ntoskrnl.exe_DbgPrintEx]
add esp, 0x10
jmp 0x17840
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0x17490
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], 0x17250
mov edx, dword [ebp + 8]
mov dword [edx + 0x70], 0x173d0
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0x176a0
cmp dword [ebp - 0x20], 0
jge 0x17812
jmp 0x17840
call fcn.00017540
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x1d99c
push 0
push 0x4d
call dword [sym.imp.ntoskrnl.exe_DbgPrintEx]
add esp, 0x10
cmp dword [ebp - 0x20], 0
jl 0x1783b
mov eax, dword [ebp - 0x20]
jmp 0x17865
call fcn.00017630
movzx edx, byte [ebp - 0x19]
test edx, edx
je 0x17852
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
cmp dword [ebp - 4], 0
je 0x17862
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8

Function at 0x1b230
Capabilities:
Encode data using xor

Disassembly:
ror dword [ebp - 0x57], 1
mov ch, cl
xchg ecx, eax
ret 0x5b50
rcr byte [edi], 1
push edi
add edx, dword [ecx + 0xfbd65f9]
invalid
invalid
invalid
je 0x1b1a9
fucomp st(6)
mov ebp, 0x438f0d1d
or dword [bx + 0xa], esp
pop ecx
pop ss
sbb al, 0x20
mov bh, 0x1b
salc
popal
jbe 0x1b25d
lodsd eax, dword [esi]
salc
xor eax, 0xeabc3bb
call dword [ebp - 0x5b]
daa
jecxz 0x1b274
dec ebp
sbb al, 0xd7
lahf
xor eax, 0x3c189d37
dec edx
mov dh, 0x58
call 0x6b63c9df
cmp dword [edi - 0x422ab591], ebp
inc esi
js 0x1b21a
mov ebp, 0xabb97846
stosd dword es:[edi], eax
mov esp, esi
les esi, [esi + 0x23]
xor byte [edi - 0x5a58692], bl
jg 0x1b262
iretd
jmp 0x1b21a
Function at 0x10004be0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10239046
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x102cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x18]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0xf
mov byte [edi + 0x38], 0
mov byte [ebp - 4], 1
push 0
push 0x102b5c2c
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x30], 0
call fcn.100211b0
push 0
push 0x102b5c2c
lea ecx, [edi + 0x38]
mov dword [edi + 0x34], 0
call fcn.100211b0
mov dword [edi + 0x50], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ce20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1000ce4b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001a480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000ce6d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x1000ce6f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x1000cef3
jg 0x1000ce84
test esi, esi
je 0x1000cef3
test ecx, ecx
jl 0x1000cecd
jg 0x1000ce8e
test eax, eax
je 0x1000cecd
cmp edi, ecx
jg 0x1000cea2
jl 0x1000ce98
cmp esi, eax
jae 0x1000cea2
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.100a4e10
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x1000ced0
mov edx, dword [ebp + 8]
test edi, edi
jl 0x1000cef3
jg 0x1000ceda
test esi, esi
je 0x1000cef3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1000cef3
push eax
push esi
push 1
push edx
call fcn.100bb843
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000cf10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x1000cf3b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001a330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000cf5d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x1000cf5f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x1000cffe
jg 0x1000cf7c
test esi, esi
je 0x1000cffe
test ecx, ecx
jl 0x1000cfc9
jg 0x1000cf86
test eax, eax
je 0x1000cfc9
cmp ebx, ecx
jg 0x1000cf9a
jl 0x1000cf90
cmp esi, eax
jae 0x1000cf9a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.100a4e10
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x1000cfd0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x1000cffe
jg 0x1000cfda
test esi, esi
je 0x1000cffe
cmp dword [edi + 0x4c], 0
je 0x1000cffe
mov ecx, edi
call fcn.1000e1a0
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.100bba84
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x102cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1000d440
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1000d47c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1000d47c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1000d544
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1000d4a4
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 edx, dword [esi + 0x38]
test edx, edx
jne 0x1000d4d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100bbecb
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.100451cc
mov esp, ebp
pop ebp
ret 4
mov cl, bl
mov byte [ebp - 0x25], cl
mov edi, dword [edx]
cmp edi, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x1000d55a
lea eax, [ebp - 0x25]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x4c]
call fcn.10016030
or ecx, 0xffffffff
test al, al
pop edi
cmovne ecx, ebx
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000d534
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100bb843
add esp, 0x10
cmp edi, eax
jne 0x1000d544
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1000d467
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov ecx, edx
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 [edi + 0x1c]
test eax, eax
js 0x1000d544
cmp eax, 1
jle 0x1000d517
cmp eax, 3
jne 0x1000d544
mov cl, byte [ebp - 0x25]
jmp 0x1000d4f2
Function at 0x1000e210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x102cc06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x1000e2a7
cmp byte [esi + 0x3d], 0
je 0x1000e2a7
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000e260
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
cmp edx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
jne 0x1000e2b9
lea edi, [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x28], edi
sub eax, 0
je 0x1000e272
sub eax, 1
je 0x1000e276
sub eax, 2
je 0x1000e2a7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1000e290
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100bb843
add esp, 0x10
cmp edi, eax
jne 0x1000e260
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.100451cc
mov esp, ebp
pop ebp
ret
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 [edx + 0x20]
mov edi, dword [ebp - 0x28]
jmp 0x1000e251

Function at 0x10019b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102398b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100451eb
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1002e744
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001fbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102398b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x102cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100451eb
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1002e744
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002b290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023bc53
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x102cc06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000add0
mov ecx, eax
call fcn.1004e6e4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 9
jb 0x1002b30e
cmp edx, 8
lea esi, [ebp - 0x28]
push 0x12
cmovae esi, dword [ebp - 0x28]
lea edi, [ecx + 9]
push str.About.exe
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.100a46c0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1002b32c
push 9
push str.About.exe
mov byte [ebp - 0x14c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14c]
push 9
call fcn.1001c7e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002b3d6
call fcn.1004c3d3
test al, al
je 0x1002b3b7
mov eax, dword [0x102db9b8]
test eax, eax
je 0x1002b3b7
cmp dword [eax + 4], 4
jl 0x1002b3b7
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
sub esp, 0xc
push 0x2f
push str.CSoftTaskControl::RunDaemon
push ecx
lea ecx, [ebp - 0x148]
call fcn.100216e0
mov esi, eax
test edi, edi
mov byte [ebp - 4], 1
mov ecx, 0x102b5bd0
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.1001cf70
mov ecx, dword [0x102db9b8]
add esp, 8
push esi
call fcn.100218a0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0
call fcn.1001d4e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
push str._4322201651
call fcn.100529d6
add esp, 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002b40c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b429
push edx
push ecx
call fcn.100451dd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100451cc
mov esp, ebp
pop ebp
ret 4
call fcn.100b1ddd
int3