joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ef790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4fcdf8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4fcdf0]
sub esp, 4
test ebx, ebx
je 0x4ef7e5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4ef7de
test esi, esi
je 0x4ef7de
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4ef7c0
mov dword [esp], 0x4fcdf8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x417ac0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417ce1
sub esp, 0x18
mov eax, dword [0x60fd84]
test eax, eax
jne 0x417cca
lea eax, [0x60fd70]
mov dword [esp], eax
call fcn.0040ae80
mov eax, dword [0x60fd74]
test eax, eax
je 0x417b08
cmp dword [eax + 8], 0xcc
jne 0x417b7e
mov edx, dword [0x60fd68]
test edx, edx
jne 0x417b60
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x612650]
mov dword [esp + 8], eax
call fcn.0040d560
mov eax, dword [esp + 0xc]
mov dword [0x60fd68], eax
mov ecx, dword [0x60fd2c]
mov dword [eax], ecx
mov eax, dword [0x60fd68]
mov dword [0x60fd2c], eax
movzx eax, byte [0x6102c0]
test al, al
jne 0x417b60
xor eax, eax
jmp 0x417c76
mov edx, dword [0x60fd68]
mov ebx, dword [edx + 4]
mov dword [0x60fd68], ebx
mov ebx, dword [0x60fd74]
mov dword [edx + 4], ebx
mov dword [0x60fd74], edx
mov edx, dword [0x60fd74]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x417c5e
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402910
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x60ffa0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x417bdc
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x417be9
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00468980
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x60ffa0]
test edx, edx
jne 0x417c15
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x417c36
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00468980
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00468980
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00468980
lea eax, [0x60fd70]
mov dword [esp], eax
call fcn.0040b080
lea eax, [0x60fd6c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402440
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00468a10
lea esi, [0x6102c0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x417b60
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x417cc0
lea edx, [0x5ab25c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x417c68
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00468a00
mov ecx, 5
call fcn.00468a00
lea eax, [0x510de7]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.00417ac0
Function at 0x42bac0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42bbe7
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00429130
mov eax, dword [esp + 4]
test eax, eax
je 0x42bbd0
mov dword [esp + 0xc], eax
call fcn.0044c230
mov eax, dword [esp]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
call fcn.004268f0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call fcn.00428cd0
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + 6]
mov byte [esp + 0xb], dl
mov ebx, dword [esp + 0xc]
lea ebp, [ebx + 0x48]
mov dword [esp + 0x18], ebp
mov dword [esp], ebp
call fcn.0040ae80
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x42bb58
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42bb99
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42bb6d
cmp byte [ebp + 6], dl
je 0x42bb78
cmp esi, ebx
ja 0x42bb99
jne 0x42bb56
cmp byte [ebp + 6], dl
jbe 0x42bb56
jmp 0x42bb99
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040b080
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0044c250
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.0042b8d0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040b080
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0044c250
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x51285b]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.0042bac0

Function at 0x42c0e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42c1d9
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x42c164
cmp cl, 2
je 0x42c11d
cmp cl, 3
jne 0x42c1c2
mov byte [eax + 8], 1
jmp 0x42c1be
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00431b70
lea eax, [0x5f4338]
mov dword [esp], eax
call fcn.0040ae80
lea eax, [0x5f42e8]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00418b20
lea eax, [0x5f4338]
mov dword [esp], eax
call fcn.0040b080
jmp 0x42c1be
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00417ac0
lea eax, [0x5f4338]
mov dword [esp], eax
call fcn.0040ae80
lea eax, [0x5f42c0]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.00418b20
lea eax, [0x5f4338]
mov dword [esp], eax
call fcn.0040b080
add esp, 0x14
ret
lea eax, [0x50db32]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0043b160
nop
call fcn.00467570
jmp fcn.0042c0e0
Function at 0x45b9e0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45bae0
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0045c320
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4f1620]
mov dword [esp], ecx
call fcn.0040d2f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x5f43d0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0045aef0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.0045a510
add esp, 0x28
ret
call fcn.00467570
jmp fcn.0045b9e0
Function at 0x466680
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
sub esp, 0x20
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00446c60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
test byte [eax], al
movzx ecx, byte [0x60fcf1]
test cl, cl
je 0x466709
call fcn.004368b0
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x190], eax
mov dword [ecx + 0x194], 3
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x800
lea edx, [esp + 0x14]
mov dword [esp], edx
call fcn.00454960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x198], eax
jmp 0x46673f
call fcn.004368a0
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x190], eax
mov dword [ecx + 0x194], 1
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00454960
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x198], eax
mov eax, dword [0x5e9934]
mov dword [esp], eax
lea eax, [ecx + 0x190]
mov dword [esp + 4], eax
call fcn.00404930
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x19c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x46677b
mov eax, dword [eax + 0x1a4]
mov dword [esp + 0x30], eax
call fcn.00446cf0
add esp, 0x20
ret
Function at 0x468830
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x6100a0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x466ffb
je 0x46704e
cmp ebx, 0x20
jbe 0x467054
cmp ebx, 0x40
jbe 0x46709a
jmp 0x46713b
test ebx, ebx
je 0x467044
add eax, 0x10
test ax, 0xff0
je 0x467030
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x5201a0]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x5202a0]
jmp 0x467018
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x467018
pxor xmm1, xmmword [0x6100b0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6100b0]
pxor xmm2, xmmword [0x6100c0]
pxor xmm3, xmmword [0x6100d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6100b0]
pxor xmm2, xmmword [0x6100c0]
pxor xmm3, xmmword [0x6100d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46719a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x60fcef], 0
je 0x46884a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x466fc0
jmp fcn.00409670
Function at 0x468850
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4035de
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409670
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00467570
jmp 0x4035a0
cmp byte [0x60fcef], 0
je 0x46886b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x466fc0
jmp 0x4035a0
Function at 0x402480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.2__DefaultHighPerformancePpmPerfIncreasePolicyACSetting______________DefaultHighPerformancePpmPerfIncreasePolicyDCSetting_2_

Function at 0x100460b6
Capabilities:
Authenticate hmac

Disassembly:
jmp 0x10049103
lea esp, [esp + 0x54]
ja 0x100745ed
pushal
jmp 0x10071c8b

Function at 0x100469c6
Capabilities:
Authenticate hmac

Disassembly:
push ebx
lea esp, [esp + 0x4c]
jne 0x100470ed
ror edi, 0x1c
sal di, 0xe
mov edi, dword [edx + 0x24]
call fcn.10072285

Function at 0x100470bc
Capabilities:
Authenticate hmac

Disassembly:
shl si, cl
shrd edi, edx, cl
shr ecx, 1
pushfd
sbb si, cx
shrd esi, ebp, cl
mov edi, dword [ebx + ecx*4]
lea esi, [ebp*8 + 0x131fbf7f]
inc si
sub si, 0xca64
bsr si, dx
add edi, eax
movsx esi, al
push dword [esp]
lea esi, [ecx + 0x233763f3]
mov esi, dword [ebp + 0xc]
call fcn.10048ab8
jmp 0x1004662c
mov byte [esp], ch
lea esp, [esp + 0x28]
ja 0x10049a47
pushfd
jmp 0x1004803d
btc edi, ebp
add ecx, dword [ebp - 4]
lea esp, [esp + 4]
jo 0x100460bb
bsr edi, edx
rcl si, cl
cmc
shr ecx, 1
xchg di, si
stc
mov edi, dword [ebx + ecx*4]
shld si, di, cl
clc
add edi, eax
movzx si, al
bswap si
mov esi, dword [ebp + 0xc]
imul edx, edx, 0xa
push dword [esp]
pushfd
pushal
lea esp, [esp + 0x2c]
jmp 0x10058395

Function at 0x100481d1
Capabilities:
Authenticate hmac

Disassembly:
push 0xe4452a13
pushfd
lea esp, [esp + 0xc]
jne 0x100470ed
cmc
stc
sub edi, edi
mov edi, dword [edx + 0x24]
pushal
call fcn.10075501

Function at 0x10048203
Capabilities:
Encode data using xor

Disassembly:
mov word [esp + 8], bx
lea esp, [esp + 0xc]
jne 0x10049a47
pushal
mov byte [edi - 1], 0
movzx ax, cl
mov dword [esp + 0x1c], ebx
call fcn.10046363
xchg dword [eax + eax + 0x7ddb068b], eax
cmpsb byte [esi], byte es:[edi]
pop ds
add byte [ecx], ah
and byte [ebx - 0x44], 0x1d
mov esi, 0x25170c7
pop ds
sbb byte [ebp + 0xd], cl
xchg esi, eax
xor byte [ecx + 0x14943fa2], cl
in eax, 0xf4
mov edi, dword [eax]
mov esi, 0xff527f28
pop esp
cmpsb byte [esi], byte es:[edi]
fimul dword [ebx]
push 0x17
mov gs, word [eax + edi*8]
push eax
mov ch, 0x51
invalid
Function at 0x58dfa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x120000]
push edi
or ebp, 0xffffffff
jmp 0x58dfc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58dfc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58dfb8
mov eax, 1
add ebx, ebx
jne 0x58dfdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58dfec
jne 0x58e00b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58e00b
dec eax
add ebx, ebx
jne 0x58dff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58dfd0
add ebx, ebx
jne 0x58e007
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58e05d
xor ecx, ecx
sub eax, 3
jb 0x58e023
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58e092
sar eax, 1
mov ebp, eax
jmp 0x58e02e
add ebx, ebx
jne 0x58e02e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58dffc
inc ecx
add ebx, ebx
jne 0x58e03c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58dffc
add ebx, ebx
jne 0x58e049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58e03e
jne 0x58e05a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58e03e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58e07c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58e06e
jmp 0x58dfbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58e07c
add edi, ecx
jmp 0x58dfbe
pop esi
mov edi, esi
mov ecx, 0x5c07
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58e09a
cmp byte [edi], 0x15
jne 0x58e09a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x58e09f
lea edi, [esi + 0x184000]
mov eax, dword [edi]
or eax, eax
je 0x58e117
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1991f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x199314]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58e0cc
mov ecx, edi
jns 0x58e0fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19931c]
or eax, eax
je 0x58e111
mov dword [ebx], eax
add ebx, 4
jmp 0x58e0e9
call dword [esi + 0x199318]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x58e148
cmp al, 0xef
ja 0x58e13b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x58e11d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x58e12a
mov ebp, dword [esi + 0x199320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x58e17c
sub esp, 0xffffff80
jmp 0x4b5f00
Function at 0x404320
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov ebx, ecx
push edi
push ecx
mov dword [esp + 0x10], ebx
lea eax, [ebx + 0x48]
push eax
sub esp, 0x14
call fcn.0040a9bb
push 1
push 0
push 0xff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x69
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x404456
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x80
push ecx
call esi
push 0x69
push edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x404456
push eax
push 1
push 0x80
push ecx
call esi
cmp dword [ebx + 0x120], 0
jne 0x404456
push 0x66
push dword [0x435600]
call dword [sym.imp.USER32.dll_LoadMenuW]
push 1
push eax
mov dword [ebx + 0x120], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push dword [ebx + 4]
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov ebx, eax
push 0
push 0
push 0x800
push ebx
call esi
push str.User_manual
push edi
push 0x10
push ebx
call esi
push str.About...
push 0x9c4a
push 0
push ebx
call esi
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00411b00
mov eax, dword [esp + 0x18]
add esp, 0xc
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x30
push ecx
push 0
push 0xf020
push eax
mov dword [esp + 0x24], 2
mov dword [esp + 0x30], 0x9c46
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041906a
int3
Function at 0x404b00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x43400c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x25
mov edi, ecx
call ebx
mov ecx, 0x8000
and ax, cx
movzx esi, ax
neg esi
push 0x27
sbb esi, esi
call ebx
mov ecx, 0x8000
test cx, ax
lea eax, [esi + 1]
push 0x26
cmove eax, esi
mov dword [esp + 0x14], eax
call ebx
mov ecx, 0x8000
and ax, cx
movzx esi, ax
neg esi
push 0x28
sbb esi, esi
call ebx
mov ecx, 0x8000
lea ebx, [esi + 1]
test cx, ax
cmove ebx, esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x404b7d
test ebx, ebx
je 0x404c53
mov eax, dword [edi + 4]
test eax, eax
je 0x404c67
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x11
mov byte [edi + 0x119], 0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x404bce
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add edx, esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esi, ebx
add eax, dword [esp + 0x10]
add ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x404c0a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov byte [edi + 0x119], 1
and al, 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jne 0x404c02
add eax, esi
mov esi, dword [esp + 0x18]
add ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x404c12
add edx, esi
mov esi, dword [esp + 0x18]
add esi, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
cmp byte [edi + 8], 0
jne 0x404c1e
cmp dword [edi + 4], 0
je 0x404c67
push 1
sub ecx, esi
sub eax, edx
push ecx
push eax
push esi
push edx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [edi + 0x119], 0
je 0x404c53
mov ecx, edi
call fcn.004078c0
push 0
push 0x3e8
push 0x20
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004102b9
mov esp, ebp
pop ebp
ret 8
call fcn.0041906a
int3
Function at 0x407d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.00411b00
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x38], 0x400
cmp dword [eax + 0x14], 8
jb 0x407d3f
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 4