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

Disassembly:
push 0xffffffffffffffff
push 0x486238
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.0047e8e2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00445880
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.0047e810
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.0047b0ce
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.0047b0ce
push 1
push 0
push 0
mov ecx, esi
call fcn.0047b076
push 1
push 0
push 1
mov ecx, esi
call fcn.0047b076
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047e954
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4460a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x486258
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.0047e8e2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00445880
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.0047e810
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 0x446164
cmp dword [esp + 0x40], 1
jne 0x446162
cmp ecx, eax
jge 0x446164
mov eax, ecx
cmp eax, 0xc8
jge 0x446170
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00445f20
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.0047e954
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x446960
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x486303
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.004794eb
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.0047eb8a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004800a6
test eax, eax
je 0x446a7c
mov ecx, dword [esp + 0x3c]
call fcn.0047ebb7
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 0x446a40
push edi
mov ecx, esi
call fcn.0047c219
mov ecx, esi
call fcn.00446c20
cmp dword [esp + 0x38], 1
jne 0x446a75
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.0047c354
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 0x448c90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448cc3
push esi
call fcn.00457050
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x448cbc
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 0x448d49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448d32
mov eax, dword [esi + 8]
test eax, eax
je 0x448ce7
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 0x448d2e
cmp eax, 2
je 0x448d32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x448cda
cmp eax, 3
je 0x448d0d
cmp eax, 1
jne 0x448cda
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 0x448cda
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x448cda
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448d70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448d58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448d70
add esp, 4
pop esi
ret

Function at 0x4495f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x449611
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x449611
mov eax, dword [eax + 0x44]
test eax, eax
je 0x449611
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 0x4645c0
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 0x464609
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 0x464a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486800
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.00464630
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004646b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004646b0
lea ecx, [esi + 0xc]
call fcn.00477ec8
lea ecx, [esi + 0x10]
call fcn.00477ec8
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00465c40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00465c40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00465c40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00477f3d
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00477f3d
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x465e30
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 0x465e96
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 0x465e96
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x465e77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x47a2e1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47a319
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.00478398
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00478370
jmp 0x47a325
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47b9d6
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 0x47ba18
call fcn.0048154b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47ba18
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47ba0f
xor eax, eax
jmp 0x47ba20
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ba26
pop edi
pop esi
pop ebx
ret 4

Function at 0x481a7b
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 0x481aa9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x481ac7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004819e1
jmp 0x481ac7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481ac7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004819e1
test edi, edi
mov eax, edi
jne 0x481ab1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4023a0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x4023b0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x4023ad
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x402970
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4473c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4473dc]
sub esp, 4
test ebx, ebx
je 0x4029c5
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 0x4029be
test esi, esi
je 0x4029be
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4029a0
mov dword [esp], 0x4473c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x545555
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[di], byte [si]
jns 0x5455a1
fmul st(4), st(0)
movsd dword es:[edi], dword [esi]
xor dword [eax], eax
cmp byte [ebp + 0x38], bh
rcl dword [esi + reloc.OPENGL32.dll_glLoadIdentity]
xchg ecx, eax
into
mov bl, 0xe0
sbb bh, 0xac
cld
arpl word [edx + 0x20977398], sp
jle 0x5455e8
cmc
xchg ebp, eax
and eax, 0x2f378c1f
dec esi
inc esp
mov eax, 0xfbbd2a59
imul ebx, dword [eax + reloc.OPENGL32.dll_glLoadIdentity], 0x6713665c
arpl word [ebp - 0x7fa74ce6], dx
xchg esi, eax
js 0x5455d2
invalid
xor eax, 0xb2b29703
xchg ebp, eax
mov es, word [edi]
call [eax - 0x24c185a4]
in al, dx
fcompi st(1)
stosd dword es:[edi], eax
std
enter 0x1d3e, 0xffffffffffffff8c
push ds
pop ss
popfd
aas
invalid
cmp dword [edi - 0x44], edi
dec ebx
invalid
Function at 0x547c4a
Capabilities:
Encode data using xor

Disassembly:
mov byte [0x9851c33f], al
outsd dx, dword [esi]
mov eax, 0x932c3b25
sbb esp, ebx
mov al, 0x66
add dh, byte [ebp - 0x6fc44738]
xor ch, dh
sbb al, 0x83
stosd dword es:[edi], eax
invalid
cmpsb byte [esi], byte es:[edi]
enter 0x21a7, 0x21
call 0x4bd2985a
dec byte [edi]
psrlq mm0, qword [eax]
psrlq mm0, qword [eax]
sbb ebp, ecx
sub eax, 0x9abcaa5a
mov dword [reloc.OPENGL32.dll_glLoadIdentity], eax
push esp
mov cl, 0x59
jnp 0x547c07
xor ch, byte [ecx]
pop esp
jae 0x547cca
mov dh, 0x14
and byte [edi - 0x15], bl
scasb al, byte es:[edi]
dec esp
mov byte [esi + edx], ah
cmc
invalid
inc ecx
sub byte [edi], 0x8c
Function at 0x551f64
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0xf8fa6ce
sub cl, byte [ecx]
popfd
mov ch, 0xdf
out 0x14, al
shr ebp, 1
in eax, 0x7e
invalid

Function at 0x579503
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.0057655a
mov dword [esp + 0x34], edi
lea esp, [esp + 0x34]
jmp 0x579526
push word [esp]
lea esp, [esp]
lea esp, [esp + 2]
jmp 0x5794ed
mov eax, dword [eax]
jmp 0x5795c3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x579510
mov eax, dword [eax + 8]
push eax
jmp 0x576555
Function at 0x406799
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4067e4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004069bb
test al, al
jne 0x4067de
sub edx, 2
cmp edx, edi
jne 0x4067c4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406806
lea eax, [edi + 2]
cmp edx, eax
je 0x406806
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004066e5
add esp, 0x10
jmp 0x406900
push esi
lea ecx, [ebp - 0x255]
call fcn.004069bb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406849
push dword [ebp - 0x25c]
jmp 0x4067f6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406886
cmp word [ebp - 0x226], 0
je 0x4068a7
cmp word [ebp - 0x226], ax
jne 0x406886
cmp word [ebp - 0x224], 0
je 0x4068a7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004066e5
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4068f3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406860
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4068db
push esi
call dword [sym.imp.kernel32.dll_FindClose]
xor eax, eax
jmp 0x406900
push 0x406515
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004094d0
add esp, 0x10
jmp 0x4068d0
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a64
leave
ret

Function at 0x4083a3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff44
push 0x40ff3c
push 0x40ebc0
push 0x1e
call fcn.004082e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4083d7
push dword [ebp + 8]
mov ecx, esi
call dword [int.0040e10c]
call esi
jmp 0x4083dd
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408421
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff54
push 0x40ff4c
push 0x40ebe4
push 0x20
call fcn.004082e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408458
push dword [ebp + 8]
mov ecx, esi
call dword [int.0040e10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]
Function at 0xeea5c1
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebp
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0xeea5f2
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea5d0
add dl, dl
jne 0xeea605
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea675
xor eax, eax
add dl, dl
jne 0xeea61a
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xeea74a
add dl, dl
jne 0xeea62d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea63c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea64b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea65a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xeea668
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xeea5e5
mov eax, 1
add dl, dl
jne 0xeea687
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xeea696
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea67a
sub eax, ebx
mov ebx, 1
jne 0xeea6dd
mov ecx, 1
add dl, dl
jne 0xeea6bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeea6ca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea6ae
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeea5e5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xeea6f8
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xeea707
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xeea6eb
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xeea5e5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xeea772
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xeea5e5
pop ebp
sub edi, dword [ebp + 8]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4018c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, 0x5990
mov esi, 0x559
mov ecx, 0x12ea
mov eax, 0xea0ea0eb
imul ebx
add edx, ebx
sar edx, 7
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4018d5
mov edi, 0xd54
nop
mov eax, 0x2c0b02c1
imul edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4018f0
mov ebx, dword [ebp + 8]
mov edi, 0x3f2e
test ebx, ebx
je 0x401963
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x401963
cmp ebx, eax
jae 0x401963
mov eax, 0x3214
nop
cdq
sub eax, edx
sar eax, 1
jne 0x401920
jmp 0x401930
mov eax, 0x3e0f83e1
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401930
mov edx, dword [ebp + 0xc]
mov ecx, edi
sub edx, ebx
je 0x401989
lea esp, [esp]
mov al, byte [ecx + ebx + 1]
sub al, 0x7a
xor byte [ecx + ebx], al
inc ecx
cmp ecx, edx
jb 0x401950
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0x76b981db
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x401963
mov eax, 0x4325c53f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401976
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4037e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ecx, ecx
xor esi, esi
mov eax, 0x862
xor edi, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jne 0x4037f2
nop
inc ecx
mov eax, ecx
and eax, 0x80000003
jns 0x40380f
dec eax
or eax, 0xfffffffc
inc eax
jne 0x403813
add ecx, ecx
cmp ecx, 0x7308
jl 0x403800
mov edx, dword [ebp + 8]
inc byte [edx + 7]
mov cl, byte [edx + 7]
lea eax, [edx + 0xc]
mov dword [ebp - 4], eax
lea ebx, [ebx]
inc esi
mov eax, esi
and eax, 0x80000007
jns 0x40383f
dec eax
or eax, 0xfffffff8
inc eax
jne 0x403842
inc esi
cmp esi, 0x7f73
jl 0x403830
movzx eax, byte [edx + 8]
movzx esi, cl
lea ebx, [edx + 0xc]
add esi, ebx
movzx ecx, byte [esi]
add eax, ecx
movzx ecx, al
mov byte [edx + 8], al
movzx eax, byte [ecx + ebx]
mov dl, byte [esi]
mov byte [esi], al
mov byte [ecx + ebx], dl
mov al, byte [esi]
add al, dl
mov byte [ebp + 0xb], al
mov ebx, 0x2d6b
jmp 0x403880
mov eax, 0x22b63cbf
imul ebx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x403880
mov ebx, 0x62d8
inc edi
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*4]
sub ecx, eax
jne 0x4038b3
inc edi
cmp edi, 0x39a4
jl 0x403898
jmp 0x4038c0
mov eax, 0x67b23a55
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4038c0
movzx eax, byte [ebp + 0xb]
mov ecx, dword [ebp - 4]
pop edi
movzx eax, byte [eax + ecx]
movzx ecx, byte [ebp + 0xc]
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4470c8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f004]
jne 0x4470d2
repz ret
jmp fcn.00447277
Function at 0x4490cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f004]
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.00448022
and dword [ebp - 0x14], 0
cmp dword [0x45084c], 0
mov dword [ebp - 0x18], eax
jne 0x44917e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x449226
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x449226
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45084c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x450850], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x450854], eax
call edi
push eax
call esi
mov dword [0x45085c], eax
test eax, eax
je 0x44917e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x450858], eax
mov eax, dword [0x450858]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4491d7
cmp dword [0x45085c], ecx
je 0x4491d7
push eax
call esi
push dword [0x45085c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4491d7
test ebx, ebx
je 0x4491d7
call edi
test eax, eax
je 0x4491ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4491ce
test byte [ebp - 8], 1
jne 0x4491d7
or dword [ebp + 0x10], 0x200000
jmp 0x44920a
mov eax, dword [0x450850]
cmp eax, dword [ebp - 0x18]
je 0x44920a
push eax
call esi
test eax, eax
je 0x44920a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44920a
mov eax, dword [0x450854]
cmp eax, dword [ebp - 0x18]
je 0x44920a
push eax
call esi
test eax, eax
je 0x44920a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45084c]
call esi
test eax, eax
je 0x449226
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x449228
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004470c8
leave
ret