joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d9610
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x543178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0053b212
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004d8f70
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0053b140
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00537a00
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00537a00
push 1
push 0
push 0
mov ecx, esi
call fcn.005379a8
push 1
push 0
push 1
mov ecx, esi
call fcn.005379a8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0053b284
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4d9790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x543198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0053b212
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004d8f70
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0053b140
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4d9854
cmp dword [esp + 0x40], 1
jne 0x4d9852
cmp ecx, eax
jge 0x4d9854
mov eax, ecx
cmp eax, 0xc8
jge 0x4d9860
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004d9610
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0053b284
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4da060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x543243
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00535e1c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0053b4ba
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0053c9d6
test eax, eax
je 0x4da17c
mov ecx, dword [esp + 0x3c]
call fcn.0053b4e7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4da140
push edi
mov ecx, esi
call fcn.00538b4b
mov ecx, esi
call fcn.004da320
cmp dword [esp + 0x38], 1
jne 0x4da175
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00538c86
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4dc360
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4dc393
push esi
call fcn.004ea710
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4dc38c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4dc419
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4dc402
mov eax, dword [esi + 8]
test eax, eax
je 0x4dc3b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4dc3fe
cmp eax, 2
je 0x4dc402
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4dc3aa
cmp eax, 3
je 0x4dc3dd
cmp eax, 1
jne 0x4dc3aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4dc3aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4dc3aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004dc440
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4dc428
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004dc440
add esp, 4
pop esi
ret

Function at 0x4dccb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4dccd1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4dccd1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4dccd1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4f8880
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4f8923
test eax, eax
jbe 0x4f8923
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4f8923
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4f88ce
xor esi, esi
jmp 0x4f88d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4f88ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00496620
add esi, eax
push esi
mov ebx, esi
call fcn.00496620
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4f88e0
pop ebp
test edi, edi
pop edi
jne 0x4f8923
test ebx, ebx
je 0x4f8923
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00523c80
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4f8a65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4f8b7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4f8b7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0053626e
mov esi, eax
test esi, esi
je 0x4f8b7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4f8b7d
mov ecx, esi
call fcn.004f89d0
cmp edi, eax
jge 0x4f8b7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4f8b03
mov dword [esp + 0x34], 1
jmp 0x4f8b5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4f8b7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004f71d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x500440
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x500489
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x500900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x543d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.005004b0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00500530
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00500530
lea ecx, [esi + 0xc]
call fcn.005347ce
lea ecx, [esi + 0x10]
call fcn.005347ce
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00501ac0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00501ac0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00501ac0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00534843
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00534843
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x501cb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x501d16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x501d16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x501cf7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x50d990
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x834e14]
xor edx, edx
cmp eax, edx
jne 0x50d9b6
xor eax, eax
mov byte [eax + 0x834d14], al
inc eax
cmp eax, 0x100
jl 0x50d99e
mov dword [0x834e14], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x834d14
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x50da47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x50da1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x50d9e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x50dac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x50db13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x50dafa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5144c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5441ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00514de0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x7cf20c
call fcn.00534584
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x514553
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00534584
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x51454c
push 0
mov ecx, eax
call fcn.0050b5d0
mov dword [esi + 0xc], eax
jmp 0x514555
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x514555
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x536c11
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x536c49
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00534c9e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00534c76
jmp 0x536c55
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x538308
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x53834a
call fcn.0053de7b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x53834a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x538341
xor eax, eax
jmp 0x538352
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00538358
pop edi
pop esi
pop ebx
ret 4

Function at 0x53e3ab
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 0x53e3d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x53e3f7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0053e311
jmp 0x53e3f7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x53e3f7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0053e311
test edi, edi
mov eax, edi
jne 0x53e3e1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
inc edx
ror edx, 0xda
and esi, 0x16
bswap edi
rcr edi, 0x47
bswap ebx
bswap edi
not esi
inc edi
not esi
not esi
dec ebx
dec edx
bswap eax
or esi, 0x3d
not edi
sub edi, 0x51
neg eax
neg edi
neg eax
or esi, 0x58
rcl esi, 0x82
and edi, 0x21
rol edx, 0x90
mov ebx, 0x61
neg edi
bswap edi
rol edi, 0xb5
or edi, 0xfe
add ebx, 0x6b
add edi, 0x28
imul esi
bswap esi
bswap esi
rol edi, 0x3f
imul eax
inc edi
inc eax
not edx
add ebx, 0x1b
add edi, 0x4e
dec edx
mov eax, 0x7f
not ebx
rol edi, 0xa3
neg edi
rcr ebx, 0x16
sbb edx, 0xb4
rol ebx, 0x78
rol ebx, 0xd9
xor ecx, ecx
xor edi, edi
mov ebx, 0x8f
inc ebx
rol ebx, 0x34
inc esi
dec edi
rcr edi, 0xa3
imul ebx
dec esi
dec edi
mov ebx, 0x53
neg ebx
neg edx
rol edi, 0xf1
sbb eax, 0x13
mov eax, 0xfd
dec eax
neg esi
dec eax
add edx, 9
bswap edx
sbb edx, 0x47
rcl esi, 0xb
bswap edx
sub ebx, 0x9c
and eax, 0x9d
dec edi
dec eax
not eax
add ebx, 0x54
neg esi
ror edi, 0xd0
not esi
add edi, 0x6b
and ebx, 6
imul ebx
not edx
add ebx, 8
neg ebx
inc esi
sub esi, 0x18
rol ebx, 0x4e
rcl edx, 0xbd
rol eax, 0x5e
imul eax
rcr edi, 0x63
imul eax
or edx, 0xeb
neg edi
or esi, 0x87
add eax, 0x6a
mov ecx, dword [ebp + 0xc]
imul esi
inc esi
not edx
dec eax
sbb edx, 0x5b
rcl esi, 0x8e
ror edx, 7
add edx, 0xcd
not esi
bswap edx
neg esi
rol ebx, 0xc4
dec edi
inc eax
bswap edx
imul eax
rcr edx, 0
sbb esi, 0x8b
and ebx, 0x62
or esi, 0x29
bswap edi
imul edi
sub eax, 0x6f
ror eax, 0xaf
imul edx
rcl edi, 0xa
neg esi
neg edx
bswap edi
sbb esi, 0x8f
rcr esi, 0x27
mov esi, 0x38
rcr edx, 0x20
mov eax, 0x61
and esi, 0xdc
and ebx, 0x82
or eax, 0xa4
imul edi
mov eax, 0xa8
inc edi
or eax, 0x20
rcl eax, 0xd0
inc edx
mov esi, 0x5f
imul eax
not edi
rcr ebx, 0x18
dec edx
neg esi
bswap ebx
mov edi, dword [ebp + 8]
xor esi, ebx
xor esi, eax
xor ebx, ebx
not byte [edi]
xor ebx, eax
xor eax, esi
xor esi, ebx
xor esi, esi
mov eax, esi
mov ebx, esi
mov eax, eax
mov ebx, ebx
mov esi, ebx
add byte [edi], 0x75
mov eax, ebx
mov eax, esi
mov esi, eax
xor esi, eax
mov eax, ebx
xor esi, esi
mov esi, eax
mov esi, esi
xor esi, esi
sub byte [edi], 0x25
mov esi, esi
xor esi, ebx
xor eax, ebx
mov eax, esi
xor eax, ebx
xor esi, ebx
mov eax, esi
xor esi, ebx
mov esi, ebx
imul byte [edi]
inc edi
loop 0x4013b7
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x40646d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261b8]
jne 0x406477
repz ret
jmp fcn.004086dc
Function at 0x40809c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004064ee
and dword [ebp - 4], 0
cmp dword [0x4270e4], 0
mov ebx, eax
jne 0x40814d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4081fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4081fe
push eax
call fcn.0040647c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4270e4], eax
call esi
push eax
call fcn.0040647c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4270e8], eax
call esi
push eax
call fcn.0040647c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4270ec], eax
call esi
push eax
call fcn.0040647c
pop ecx
mov dword [0x4270f4], eax
test eax, eax
je 0x40814d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040647c
pop ecx
mov dword [0x4270f0], eax
mov eax, dword [0x4270f0]
cmp eax, ebx
je 0x4081a5
cmp dword [0x4270f4], ebx
je 0x4081a5
push eax
call fcn.004064f7
push dword [0x4270f4]
mov esi, eax
call fcn.004064f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4081a5
test edi, edi
je 0x4081a5
call esi
test eax, eax
je 0x40819c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40819c
test byte [ebp - 0xc], 1
jne 0x4081a5
or dword [ebp + 0x10], 0x200000
jmp 0x4081de
mov eax, dword [0x4270e8]
cmp eax, ebx
je 0x4081de
push eax
call fcn.004064f7
pop ecx
test eax, eax
je 0x4081de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4081de
mov eax, dword [0x4270ec]
cmp eax, ebx
je 0x4081de
push eax
call fcn.004064f7
pop ecx
test eax, eax
je 0x4081de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4270e4]
call fcn.004064f7
pop ecx
test eax, eax
je 0x4081fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408200
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4047e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4287c5
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
call fcn.0040aff0
test al, al
jne 0x4048bb
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4048af
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4048a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049f5
push edx
push ecx
call fcn.004168f5
add esp, 8
mov dword [ebp - 0x18], 0
jmp 0x4049ca
lea eax, [ebp - 0x28]
push eax
call fcn.00404660
test al, al
je 0x404987
push 1
call fcn.004168c5
mov dword [ebp - 0x148], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x140]
push eax
call fcn.00418080
add esp, 0x10
mov dword [ebp - 0x144], 0x11c
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40491f
cmp dword [ebp - 0x140], 6
mov eax, dword [ebp - 0x148]
setae cl
mov byte [eax], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.00408540
lea edx, [ebp - 0x28]
call fcn.0040aff0
test al, al
jne 0x40496b
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.00407d90
jmp 0x404871
lea eax, [ebp - 0x28]
push eax
call fcn.00404660
test al, al
jne 0x40493a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x148]
call fcn.00407d90
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x14c], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004168b4
mov esp, ebp
pop ebp
ret 4
call fcn.0041a52f
int3