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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10005b81
push 0x10014608
call dword [sym.imp.msvCp140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.100040e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10005c8c
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x10005c11
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10005c82
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x10005c4b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10005c43
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x10005c7f
cmp edi, edx
je 0x10005c5c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x10005c95
cmp edi, edx
jne 0x10005c50
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x10005bc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10005c7f
Function at 0x10005e3c
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012705
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10017040]
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 - 0x1c], edx
mov dword [ebp - 0x24], 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 - 0x20], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10005cc0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10005dba
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10005f0b
cmp dword [ebx + 8], 0xccccccc
jne 0x10005dce
push 0x100145ec
call dword [sym.imp.msvCp140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x28], 0
call fcn.10011499
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
movq xmm0, qword [ecx]
movq qword [esi + 8], xmm0
mov ecx, dword [ecx + 8]
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10014ca0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10014ca0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10005ebe
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.API_MS_Win_crT_MaTh_L1_1_0.DlL_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100123c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10005ea0
cmp eax, 0x200
jae 0x10005e9e
shl eax, 3
cmp eax, ecx
jae 0x10005ea0
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10005b50
push dword [ebp - 0x20]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10005cc0
mov edx, dword [eax]
jmp 0x10005ec1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x2c]
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 - 0x1c], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x20]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10005eec
mov dword [ecx + eax*8], esi
jmp 0x10005efe
cmp ebx, edx
jne 0x10005ef5
mov dword [ecx + eax*8], esi
jmp 0x10005f02
mov edx, dword [ebp - 0x1c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10005f02
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
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 0x1000660c
Capabilities:
Check for software breakpoints

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100065eb
mov ecx, dword [edi + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100065cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006623
mov eax, edx
push ecx
push eax
call fcn.100117e8
add esp, 8
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x10006614
push esi
nop
mov esi, dword [eax]
push 0x1c
push eax
call fcn.100117e8
add esp, 8
mov eax, esi
test esi, esi
jne 0x10006600
pop esi
push 0x1c
push dword [edi + 4]
call fcn.100117e8
add esp, 8
pop edi
ret
call dword [sym.imp.APi_Ms_wiN_CRT_RunTIme_L1_1_0.dLl__invalid_parameter_noinfo_noreturn]
daa
cmp al, 0xcc
push eax
pop ebx
fsub st(1), st(0)
or eax, dword [eax]
add byte [eax], al
jbe 0x1000667a
add byte [esi + 0x43], dh
dec esi
out dx, eax
salc
enter 0xffffffffffffbb6a, 0x26
loope 0x10006634
add byte [eax], al
add bh, al
inc edi
adc byte [eax], al
add byte [eax], al
add bh, al
inc edi
adc al, 0
add byte [eax], al
add byte [ebx + 0x418b044f], cl
add al, 0xc7
add byte [eax], al
add byte [eax], al
add byte [ebx + 0x74c08501], cl
pop ss

Function at 0x100066ac
Capabilities:
Check for software breakpoints

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1000668b
mov ecx, dword [edi + 0x14]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000666c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100066c3
mov eax, edx
push ecx
push eax
call fcn.100117e8
add esp, 8
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x100066b4
push esi
nop
mov esi, dword [eax]
push 0xc
push eax
call fcn.100117e8
add esp, 8
mov eax, esi
test esi, esi
jne 0x100066a0
pop esi
push 0xc
push dword [edi + 4]
call fcn.100117e8
add esp, 8
pop edi
ret
call dword [sym.imp.APi_Ms_wiN_CRT_RunTIme_L1_1_0.dLl__invalid_parameter_noinfo_noreturn]
loopne 0x1000672d
and edx, dword [edx + 0x55a0b870]
add byte [eax], al
Function at 0x1000ca8c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10017040]
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
mov ebx, ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
push 0x30
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.10011499
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov dword [ebp - 0x30], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10011499
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [ebx + 0x18], 0x745560
mov dword [ebx + 0x1c], 0
mov byte [ebp - 4], 2
lea edi, [ebx + 0x28]
push 0x3ec
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebp - 0x30], edi
call fcn.10011499
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 3
call sub.vCRUNTIme140.DlL_memset
add esp, 0x18
mov ecx, esi
push 0x10018bf8
push 0
push 0x1000
call fcn.100068e0
mov dword [edi], eax
mov byte [ebp - 4], 4
lea edi, [ebx + 0x2c]
push 0x3ec
mov dword [ebp - 0x30], edi
call fcn.10011499
mov esi, eax
mov dword [ebp - 0x30], esi
push 0x3ec
push 0
push esi
mov byte [ebp - 4], 5
call sub.vCRUNTIme140.DlL_memset
add esp, 0x10
mov ecx, esi
push 0
push 0
push 0x1000
call fcn.100068e0
mov dword [edi], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push 0x1c
xorps xmm0, xmm0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
movq qword [ebx + 0x3c], xmm0
push eax
push dword [ebx + 0x18]
mov byte [ebx + 0x44], 0
call dword [sym.imp.keRNEl32.dll_VirtualQuery]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
je 0x1000caee
cmp eax, 0x20
je 0x1000caee
cmp eax, 0x40
je 0x1000caee
cmp eax, 0x80
jne 0x1000cb2a
push ecx
mov ecx, dword [ebx + 0x18]
mov edx, edi
call fcn.100034c0
add esp, 4
test al, al
je 0x1000cb2a
mov eax, dword [edi]
push dword [eax + 0x20]
push dword [eax + 0x1c]
call dword [sym.imp.keRNEl32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.keRNEl32.dll_FlushInstructionCache]
test eax, eax
je 0x1000cb2a
push 1
mov ecx, ebx
call fcn.10004270
test al, al
je 0x1000cb2a
mov byte [ebx + 0x44], 1
push 4
call fcn.10011499
add esp, 4
mov dword [eax], 0
mov dword [ebx + 0x40], eax
mov eax, ebx
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.10011486
mov esp, ebp
pop ebp
ret 8
Function at 0x1000ea7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012e79
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10017040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push 0x24
mov dword [ebp - 0x14], edi
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10011499
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push ecx
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.1000d240
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], 8
mov dword [edi + 0x1c], eax
add edi, 0x20
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x20]
push 0x30
mov dword [ebp + 8], edi
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10011499
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push ecx
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 4
call fcn.1000d240
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov dword [ebx + 0x28], ecx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x474e69
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474e97
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474eb5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474dd3
jmp 0x474eb5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474eb5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00474dd3
test edi, edi
mov eax, edi
jne 0x474e9f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bea44]
test ecx, ecx
je 0x474f68
jmp 0x474e68
ret 8

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

Disassembly:
pushal
nop
nop
mov eax, section..00cfg
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x2ddf2d96
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x769a1d99
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4043b4
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x42d350]
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42d354]
push esi
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.004043ad
mov eax, dword [0x42d358]
add dword [ebp - 4], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x42d35c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x28277b4]
cmp eax, 0xfa9
jne 0x404435
mov dword [0x28277b0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x404443
and dword [0x282723c], 0
mov edx, dword [ebp - 4]
add edx, ebx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
mov dword [0x28277ac], 0xf4ea3dee
xor eax, edx
xor eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
sub edi, eax
mov eax, edi
shr eax, 5
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x28]
xor esi, edx
cmp dword [0x28277b4], 0xb03
jne 0x4044a8
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor eax, esi
sub ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 4], eax
dec dword [ebp - 0x14]
jne 0x404409
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
leave
ret 4

Function at 0x4044cd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x28277b4]
mov ecx, dword [0x2827240]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40459f
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x28277b4], 0x959
jne 0x40458d
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403ee0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403f2c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x403f58
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push 0x403f74
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.004043b4
add edi, 8
dec ebx
jne 0x4044f5
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4048a4
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00412130
push ebx
push esi
xor esi, esi
cmp dword [0x28277b4], 0x400
push edi
jne 0x4049a4
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x814]
push eax
push 0x404184
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0x4041a4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
push esi
call fcn.00405800
push esi
push esi
call fcn.00405129
push esi
call fcn.00405785
add esp, 0x14
push esi
call fcn.00405a9a
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404c60
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404de0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405270
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404f10
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004054d0
fstp st(0)
push esi
call fcn.00405b0e
add esp, 0xc
push esi
push esi
call fcn.0040502d
push esi
call fcn.004058ad
add esp, 0xc
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0xacd
jge 0x4049ca
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be410
jg 0x4049ec
inc edi
cmp edi, 0x33309e9
jl 0x4049ac
xor edi, edi
cmp edi, 0x16d2a
jge 0x4049fd
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404a1b
inc edi
cmp edi, 0x3011b
jl 0x4049ee
mov eax, dword [0x42fc94]
mov dword [0x28277b4], eax
call fcn.004045a2
mov edi, 0x2ec37
cmp dword [0x28277b4], 0x51f
jne 0x404a47
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404a2f
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407d4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c7dc]
jne 0x407d56
repz ret
jmp fcn.0040cf3c
Function at 0x41123a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c7dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040675a
and dword [ebp - 0x14], 0
cmp dword [0x4447a4], 0
mov dword [ebp - 0x18], eax
jne 0x4112ed
push 0x403e90
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411395
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e84
push ebx
call edi
test eax, eax
je 0x411395
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e74
push ebx
mov dword [0x4447a4], eax
call edi
push eax
call esi
push 0x403e60
push ebx
mov dword [0x4447a8], eax
call edi
push eax
call esi
push 0x403e44
push ebx
mov dword [0x4447ac], eax
call edi
push eax
call esi
mov dword [0x4447b4], eax
test eax, eax
je 0x4112ed
push 0x403e2c
push ebx
call edi
push eax
call esi
mov dword [0x4447b0], eax
mov eax, dword [0x4447b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411346
cmp dword [0x4447b4], ecx
je 0x411346
push eax
call esi
push dword [0x4447b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411346
test ebx, ebx
je 0x411346
call edi
test eax, eax
je 0x41133d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41133d
test byte [ebp - 8], 1
jne 0x411346
or dword [ebp + 0x10], 0x200000
jmp 0x411379
mov eax, dword [0x4447a8]
cmp eax, dword [ebp - 0x18]
je 0x411379
push eax
call esi
test eax, eax
je 0x411379
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411379
mov eax, dword [0x4447ac]
cmp eax, dword [ebp - 0x18]
je 0x411379
push eax
call esi
test eax, eax
je 0x411379
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4447a4]
call esi
test eax, eax
je 0x411395
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411397
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407d4c
leave
ret
Function at 0xff2ee0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xff2eea
pushal
call 0xff2ef0
pop ebp
sub ebp, 0x10
sub ebp, 0xbf2ee0
jmp 0xff2f06
mov eax, 0xbf2ee0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ca
mov edx, 0xcfab5717
xor byte [eax], dl
inc eax
dec ecx
jne 0xff2f1d
jmp 0xff2f30
pushfd
ficomp dword [esi + ebx*4 + 0x1717172b]
sub edx, dword [edi]
pop ss
pop ss
xchg esi, eax
salc
out dx, eax
pop ss
pop ss
pop ss
adc al, 0xda
scasd eax, dword es:[edi]
adc dl, byte [edi]
pop ss
pop ss
lodsd eax, dword [esi]
aas
pop ss
pop ss
pop ss
loopne 0xff2f41
adc al, 0xdf
pushfd
xchg esi, eax
sbb edx, dword [edi]
pop ss
pop ss
adc al, 0xd2
inc edi
inc edi
jg 0xff2f3d
xor dword [esi], esi
pop ss
jg 0xff2f5a
adc byte [ecx + 0x333b1617], cl
jg 0xff2f34
out dx, al
aas
add al, 0xff
adc dl, byte [edi]
pop ss
pop ss
invalid