joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407760
Capabilities:
Terminate thread

Disassembly:
push esi
push str._SVC__handle_SERVICE_CONTROL_STOP...
push 1
push 0x81
push 0x41b9b4
push 0x41b9dc
mov esi, ecx
call fcn.00409c20
add esp, 0x14
call fcn.00407330
mov ecx, dword [0x42304c]
mov dword [eax + 0x2c], ecx
inc ecx
mov dword [0x42304c], ecx
lea ecx, [eax + 0x18]
push ecx
push dword [eax + 0x34]
mov dword [eax + 0x1c], 3
mov dword [eax + 0x24], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4077c8
call eax
cmp dword [esi + 0x38], 0
je 0x4077fe
push str.kill_work_thread...
push 1
push 0x8d
push str..._srcServiceUtilServiceTemplate.cpp
push str.CServiceTemplate::OnHandleServiceStop
call fcn.00409c20
add esp, 0x14
push 0xfffffffffffffffe
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x38], 0
push 0
push ecx
push dword [esi + 0x1c]
call fcn.00407330
mov ecx, eax
call fcn.00407820
pop esi
ret

Function at 0x407e20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415c06
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x423034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], 0
push str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea ecx, [ebp - 0x428]
call fcn.00402ca0
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40f]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.00402ed0
push eax
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push 0
push str.UniquePC
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x440]
call fcn.00402ca0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44c], esp
lea eax, [ebp - 0x440]
push eax
call fcn.004037d0
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp + 8]
call fcn.00405040
add esp, 0x18
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x444]
or ecx, 1
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00402d00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.00402d00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414a82
mov esp, ebp
pop ebp
ret
Function at 0x409a00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415deb
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x423034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.0040a0a0
add esp, 8
cmp byte [0x423999], 0
mov dword [ebp - 4], 0
je 0x409b25
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [esi + 0x14], 0x10
jb 0x409a90
mov ecx, dword [esi]
jmp 0x409a92
mov ecx, esi
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
push ecx
cmovae eax, dword [ebp - 0x144]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x12c]
push str.__d._d._s._s___s_n
push eax
call fcn.0040a6b0
add esp, 0x1c
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x118], 0x10
jb 0x409b0a
push dword [ebp - 0x12c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov eax, dword [0x4239a0]
test eax, eax
jne 0x409b55
push 0x18
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [0x4239a0], eax
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
push eax
movq qword [eax + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x4239a0]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.004100f0
lea ecx, [ebp - 0x144]
push ecx
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x20]
call eax
test eax, eax
jne 0x409b7f
push eax
push eax
call fcn.00409650
add esp, 8
push dword [0x4239a0]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004100f0
cmp dword [esi + 0x10], 0
mov edi, eax
je case.default.0x409bad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0xc]
call edx
mov ecx, dword [ebp + 8]
cmp ecx, eax
jg case.default.0x409bad
cmp ecx, 3
ja case.default.0x409bad
jmp dword [ecx*4 + 0x409c0c]
push esi
mov ecx, edi
call fcn.0040fbb0
jmp case.default.0x409bad
push esi
mov ecx, edi
call fcn.004101c0
jmp case.default.0x409bad
push esi
mov ecx, edi
call fcn.00410690
jmp case.default.0x409bad
push esi
mov ecx, edi
call fcn.0040fef0
cmp dword [ebp - 0x130], 0x10
jb 0x409bf1
push dword [ebp - 0x144]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
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.00414a82
mov esp, ebp
pop ebp
ret
Function at 0x40a4a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415f20
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x423034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0040b020
add esp, 4
cmp dword [ebp + 0x18], 0
jle 0x40a67c
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00401600
call fcn.0040a8e0
add esp, 0x18
test al, al
je 0x40a51f
mov bl, 1
jmp 0x40a67e
call fcn.0040ac50
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004047d0
mov esi, eax
add esp, 0xc
lea eax, [ebp + 8]
cmp eax, esi
je 0x40a56c
cmp dword [ebp + 0x1c], 8
jb 0x40a54f
push dword [ebp + 8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
call fcn.00402940
cmp dword [ebp - 0x14], 8
jb 0x40a57d
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 8]
push eax
call fcn.0040aaf0
mov ecx, dword [ebp + 0x18]
mov esi, 1
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
cmp ecx, esi
jbe 0x40a62d
cmp ecx, esi
jbe 0x40a671
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp word [eax + esi*2], 0x5c
jne 0x40a624
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.00403a50
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00401600
call fcn.0040a8e0
add esp, 0x18
test al, al
jne 0x40a60c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call edi
cmp dword [ebp - 0x14], 8
mov byte [ebp - 4], 0
jb 0x40a621
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp + 0x18]
inc esi
cmp ecx, esi
ja 0x40a5a7
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call edi
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.00401600
call fcn.0040a8e0
add esp, 0x18
test al, al
je 0x40a67c
mov bl, 1
jmp 0x40a67e
push str.invalid_string_position
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xout_of_range_char_const__]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x40a68f
push dword [ebp + 8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414a82
mov esp, ebp
pop ebp
ret
Function at 0x40a8e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415fb8
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x423034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0040aaf0
add esp, 4
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x40a93e
push dword [ebp + 8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4126d0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416b99
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x423034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00402d30
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00402d30
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00402d30
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.00414930
add esp, 4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.004146a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x414180
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x423a94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4141d4
push esi
push 0x10
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x4141aa
mov ecx, eax
call fcn.00413940
mov esi, eax
jmp 0x4141ac
xor esi, esi
push dword [0x423a94]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4141c4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
push dword [0x423a94]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
test byte [ebp - 4], 1
je 0x40102b
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x40102e
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x401016
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x5bea58], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x40100b
mov esp, ebp
pop ebp
ret

Function at 0x44ba10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x66103c]
push ebx
push esi
mov esi, ecx
lea ecx, [eax*4]
mov eax, dword [0x661038]
or ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
push 0x664c2c
fild qword [esp + 0x14]
fstp qword [0x661058]
call fcn.006583a8
add esp, 4
test eax, eax
je 0x44ba59
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
lea edx, [esp + 8]
mov ebx, 1
push edx
push ebx
push 0
push 0x661064
push 0x80000000
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov dword [0xa5bf4c], eax
jne 0x44bad5
mov edx, dword [esp + 8]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
push 0x664c2c
push ecx
push 0
push 0
push edx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0xa5bf4c], eax
jne 0x44babc
cmp dword [esp + 0xc], ebx
je 0x44babe
xor bl, bl
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x44bad5
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0xa5bf4c]
test ecx, ecx
jne 0x44baf8
test eax, eax
jle 0x44baf3
and eax, 0xffff
or eax, 0x80070000
mov dword [0xa5bf4c], eax
pop esi
mov eax, 0x80004006
pop ebx
add esp, 0x10
ret

Function at 0x4e1420
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
test byte [ebp - 4], 1
je 0x4e144b
mov eax, dword [ebp - 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [ebp - 4], eax
jmp 0x4e144e
shr dword [ebp - 4], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x4e1436
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax*4 + 0x5bea58], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x100
jne 0x4e142b
mov esp, ebp
pop ebp
ret
Function at 0x561605
Capabilities:
Encode data using xor

Disassembly:
pop ds
dec edi
xor byte [ebp - 0x55], ah
mov dword [esi], ebx
shr byte [ecx + 0x46], cl
and bx, word [ecx - 0x1003e5cf]
sbb bh, ah
out dx, eax
and al, 0xd9
sahf
imul byte [esi - 0x1e210c26]
or al, byte [ebp + 0x3b]
inc ebp
cli
inc ecx
movsb byte es:[edi], byte [esi]
push cs
cmp al, 0xd0
sahf
mov ecx, 0x56a13536
mov edi, 0x3a77a7e3
sub byte [edx + 0x1655a515], cl
jge 0x5615b7
or eax, 0xbc614f5c
shl byte [ebp - 0x68], 0x4b
inc ebp
mov bl, pe_nt_image_headers32
out dx, eax
or dword [eax + 0x59aaa7c5], eax
mov al, 0x5c
mov al, 0x5c
mov al, 0x5c
lcall 0x4a35, 0x5e38f7a
push eax
jecxz 0x56168f
sub byte [eax - 0x1dc6b8f6], ah
ja 0x5615c5
mov dl, 0x28
invalid
sub byte ss:[eax + 0x14], 0xc6
invalid

Function at 0x569f82
Capabilities:
Encode data using xor

Disassembly:
xchg esp, eax
add al, 0xe6
mov eax, dword [0xa8cb150b]
mov esi, 0x92be6315
lahf
push 0xffffffffffffffcd
mov esi, 0xcd6a9f92
dec edx
enter 0xfffffffffffff50b, 0x5a
mov bl, 0x1a
lea eax, [edx]
jmp dword [ebp - 0x4b]
das
jb 0x569f03
xor dword [edi + 0x3f], ecx
jg 0x569f53
push es
jmp 0x569f4c
shl byte [eax + 0x19], 1
rcr dword [edi + 0xd9b5bd4], 0x33
add byte [ebp + 0x78], bh
lodsd eax, dword [esi]
js 0x569f0e
stc
dec ecx
ja 0x569f45
loopne 0x569fa5
aas
mov ebp, 0x422692b0
xchg edx, eax
inc edx
mov al, 0xbf
lea edx, [ebp - 0x43]
in al, 8
stosd dword es:[edi], eax
lahf
loope 0x569fb2
jnp 0x569f64
mov bl, 0x81
in al, 8
jbe 0x569f68
pop eax
or al, 0x84
jge 0x569f93
outsb dx, byte [esi]
dec ecx
jp 0x569fb3
leave
dec edx
adc byte [eax], bl
xor eax, 0xc577a102
add eax, 0xca911e50
loope 0x569f5f
push ds
xchg ecx, eax
retf 0xc7e1
pop ecx
sub al, 0x6e
pop ebx
xor eax, 0xe76ab168
lahf
nop
jnp 0x569f99
or bh, byte [ebp + 0x3a]
cmp eax, 0x7bd2b70e
test eax, 0xe407f666
js 0x569fd3
pop ds
nop
inc edi
aam 0x8d
out dx, al
sub bl, byte [edx + edi*4 + 0x73bd3a42]
or byte [ebx], cl
and al, 0x6a
insd dword es:[edi], dx
retf 0xba65
mov eax, 0xcdbb8d05
fisttp qword [ecx - 0xb]
inc ebx
push esp
and dword [esi - 0x14], eax
sahf
jmp 0x9c9d380b
Function at 0x61ff15
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push 0xa8243731
daa
xor dword [esi - 0x4f773fd], eax
push es
imul dword [ebp - 0x6f7aac5c]
call 0x43c8b629
xchg ecx, eax
pop edi
push 0x76
adc eax, 0xc67b95e
adc dword [ecx], edi
scasd eax, dword es:[edi]
and byte [edi - 0x75], 0xff
dec byte [edi - 0x4c4fd05f]
mov esi, 0x9495f27c
mov cl, 0x89
mov dword [edx - 0x79b8f540], ebx
in eax, 0x75
sbb eax, 0x391dfb98
stc
mov esi, 0xc9865924
invalid
ror byte [edx - 0x47], cl
adc bh, dh
fild qword [edx - 0x4507676c]
mov esp, dword [edi + 0x671974ea]
inc ebp
neg edi
stosb byte es:[edi], al
xchg esp, eax
cwde
clc
mov edx, 0x74eaa78b
sbb dword [edi + 0x45], esp
cli
add eax, 0xaee70bd0
sbb dword [ecx - 0x5a], ecx
clc
wait
pop dword [edi]
in eax, 0x80
js 0x61fec0
cmp byte [ebx + 0x18], bl
ja 0x61fe99
jnp 0x61fee6
ljmp 0xcf9f:0x4340f6ec
xchg dword [edi - 0x3e], esi
pushfd
sub al, 0x82
shl dword [edi - 0x27b8f8], 1
push ecx
idiv eax
in al, 0x93
mov bh, 0x4c
jbe 0x61fee2
cwde
pop eax
lodsb al, byte [esi]
mov edx, 0x49a578bc
test dword [edx + 0x4984822f], ecx
adc ah, byte [eax + 0x3fb2f817]
and dword [edi], esp
mov dh, 0x81
inc ebx
hlt

Function at 0x65979d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x661408
cmp edx, dword [eax]
je 0x6597bf
add eax, 8
inc ecx
cmp eax, 0x661498
jl 0x6597b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x661408]
jne 0x6598ed
mov eax, dword [0xa5bf68]
cmp eax, 1
je 0x6598c7
test eax, eax
jne 0x6597f0
cmp dword [0x661334], 1
je 0x6598c7
cmp edx, 0xfc
je 0x6598ed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659827
lea eax, [ebp - 0x1a4]
push 0x65e970
push eax
call fcn.0065a180
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a610
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65986a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a610
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65e96c
push edi
call fcn.0065c4e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65e950
push eax
call fcn.0065a180
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a190
lea eax, [ebp - 0xa0]
push 0x65e94c
push eax
call fcn.0065a190
push dword [esi + 0x66140c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a190
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65e924
push eax
call fcn.0065c454
add esp, 0x2c
pop edi
jmp 0x6598ed
lea eax, [ebp + 8]
lea esi, [esi + 0x66140c]
push 0
push eax
push dword [esi]
call fcn.0065a610
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4194d7
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45e390], 0
push esi
push edi
mov esi, edx
je 0x41966b
xor eax, eax
lea edi, [ebp - 0x41c]
stosd dword es:[edi], eax
mov ecx, 0x4041c6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
dec eax
cmp eax, 0x12
ja case.0x419516.16
jmp dword [eax*4 + 0x41967b]
mov ecx, 0x402f0c
jmp case.0x419516.16
mov ecx, 0x402f18
jmp case.0x419516.16
mov ecx, 0x402f24
jmp case.0x419516.16
mov ecx, 0x402f30
jmp case.0x419516.16
mov ecx, 0x402f40
jmp case.0x419516.16
mov ecx, 0x402f4c
jmp case.0x419516.16
mov ecx, 0x402f58
jmp case.0x419516.16
mov ecx, 0x402f68
jmp case.0x419516.16
mov ecx, 0x402f7c
jmp case.0x419516.16
mov ecx, 0x402f88
jmp case.0x419516.16
mov ecx, 0x402f94
jmp case.0x419516.16
mov ecx, 0x402fa0
jmp case.0x419516.16
mov ecx, 0x402fb0
jmp case.0x419516.16
mov ecx, 0x402fc0
jmp case.0x419516.16
mov ecx, 0x402fd4
jmp case.0x419516.16
mov ecx, 0x402fe8
jmp case.0x419516.16
mov ecx, 0x402ff8
push ecx
push dword [esi + 8]
lea eax, [ebp - 0x408]
push dword [esi + 0xc]
push dword [esi]
push 0x8ce
push dword [0x45e38c]
push dword [0x45e388]
push 0x403004
push 0x400
push eax
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x28
lea ecx, [esi + 0x10]
lea edx, [ebp - 0x41c]
mov edi, eax
call fcn.004549cf
or dword [ebp - 0x410], 0xffffffff
or dword [ebp - 0x40c], 0xffffffff
cmp edi, 0xffffffff
je 0x419660
xor esi, esi
lea eax, [ebp - 0x410]
push esi
push eax
push edi
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
push esi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x41c]
lea eax, [ebp - 0x424]
push dword [ebp - 0x414]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
push esi
lea eax, [ebp - 0x410]
push eax
push 2
push 0x403024
lea eax, [ebp - 0x424]
push eax
push esi
push esi
push esi
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
lea ecx, [ebp - 0x41c]
call fcn.0041c15b
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045d1ae
leave
ret

Function at 0x4196cd
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x45e390], 0
mov eax, dword [ebp + 8]
push esi
je 0x419738
push eax
push edx
push ecx
push dword [0x45e38c]
mov esi, 0x45e540
push dword [0x45e388]
push 0x403028
push 0x400
push esi
call dword [sym.imp.ntdll.dll_sprintf_s]
add esp, 0x20
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x14]
xor edx, edx
push edx
push ecx
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push edx
push edx
push edx
push dword [0x45e390]
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.0045d1ae
leave
ret 4