joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a5140
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x60afd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0xb207d0]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.005f66d0
cmp dword [0xb52ea0], ebx
je 0x5a51b0
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005f4205
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0xb207d0]
push ebp
push edi
mov edi, 1
mov dword [0xb52ea0], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x5a51d9
mov dword [esp + 0x20], ebx
jmp 0x5a51e0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.005f8936
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.005f42f2
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x5a523e
mov dword [esp + 0x14], ebx
jmp 0x5a5245
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x5a525f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x5a5259
cmp eax, 2
jne 0x5a525f
mov dword [esp + 0x18], edi
jmp 0x5a5263
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x5a5271
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005f5cbe
mov edi, eax
cmp edi, ebx
jne 0x5a5281
xor eax, eax
jmp 0x5a5284
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x5a52ac
mov ecx, esi
call fcn.005f8936
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x5a52c4
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0xb52ea0], 0
test eax, eax
je 0x5a52ed
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x5a52ed
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.005f4205
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005f4205
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x5a71e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60b1c8
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.005fb0b9
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.005a7120
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005fafe7
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 0x5a72a7
cmp dword [esp + 0x40], 1
jne 0x5a72a5
cmp ecx, eax
jge 0x5a72a7
mov eax, ecx
cmp eax, 0x12c
jge 0x5a72b3
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.005a7300
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.005fb12b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5ab5a0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x60b6b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0xb207d0]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.005f66d0
mov edx, dword [0xb207d0]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x5ab5fa
mov dword [esp + 0x1c], ebx
jmp 0x5ab601
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.005f8936
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.005f42f2
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x5ab652
mov dword [esp + 0x14], ebx
jmp 0x5ab659
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x5ab674
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x5ab66e
cmp eax, 2
jne 0x5ab674
mov dword [esp + 0x18], edi
jmp 0x5ab678
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x5ab686
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.005f5cbe
mov edi, eax
cmp edi, ebx
jne 0x5ab696
xor eax, eax
jmp 0x5ab699
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x5ab6c1
mov ecx, esi
call fcn.005f8936
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x5ab6dd
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x5ab6fc
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x5ab6fc
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.005f4205
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.005f4205
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x5b28dd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60bca8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x5b28f3
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.005b7d00
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.005b80b0
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.005b2960
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0xae85a8
call fcn.005b7f00
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x5b7790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x5b77dc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x5b77dc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x5b77c6
push eax
call ebp
test ax, ax
jl 0x5b77d4
inc esi
add edi, 4
cmp esi, 6
jb 0x5b77b8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.005b7490
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x5bb6a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x5bb700
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x5bb700
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x5bb700
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x5bb700
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x5bb710
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x5bcdd0
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 0x5bce36
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 0x5bce36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x5bce17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x5bd1c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x5bd1f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x5bde70
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 0x5bdeb9
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 0x5be330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60c340
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.005bdee0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005bdf60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005bdf60
lea ecx, [esi + 0xc]
call fcn.005f4190
lea ecx, [esi + 0x10]
call fcn.005f4190
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.005bf4c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.005bf4c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.005bf4c0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005f4205
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005f4205
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5c70b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb79a1c]
xor edx, edx
cmp eax, edx
jne 0x5c70d6
xor eax, eax
mov byte [eax + 0xb7991c], al
inc eax
cmp eax, 0x100
jl 0x5c70be
mov dword [0xb79a1c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb7991c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5c7167
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 0x5c713a
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 0x5c7108
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5c71e0
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 0x5c7233
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 0x5c721a
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 0x5cdbe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x60caae
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.005ce500
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0xaea764
call fcn.005f3f46
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5cdc73
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005f3f46
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5cdc6c
push 0
mov ecx, eax
call fcn.005c4d30
mov dword [esi + 0xc], eax
jmp 0x5cdc75
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5cdc75
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 0x5f66d0
Capabilities:
Get graphical window text

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

Function at 0x5f804a
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 0x5f808c
call fcn.005ff234
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5f808c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5f8083
xor eax, eax
jmp 0x5f8094
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005f809a
pop edi
pop esi
pop ebx
ret 4

Function at 0x5ff749
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 0x5ff777
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5ff795
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005ff6af
jmp 0x5ff795
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5ff795
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005ff6af
test edi, edi
mov eax, edi
jne 0x5ff77f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x602124
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x60214c
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x60215d
push 2
call edi
test ax, ax
jge 0x60215d
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.005f5cbe
cmp dword [esi + 0x30], ebx
jne 0x602237
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.005f5cbe
cmp eax, dword [esp + 0x34]
jne 0x602237
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x6021d3
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x602218
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x602237
cmp eax, 0x205
je 0x602237
cmp eax, 0x201
je 0x602237
cmp eax, 0x204
je 0x602237
cmp eax, ebx
jne 0x6021fe
cmp dword [esp + 0x1c], 0x1b
je 0x602237
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0xb8b520]
jbe 0x60222d
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x602190
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x412741
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je fcn.004134ee
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
jecxz 0x412793
lea eax, [ebp - 0x394]
push eax
call fcn.004112cc
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x412768
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x4127b1
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x41275b
call fcn.0041135b
mov ah, 0x1c
pop eax
lodsb al, byte [esi]
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
clc
invalid
inc dword [eax]
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0041135b
sub al, 0x22
je 0x4128c1
lea eax, [ebp - 0x72c]
push eax
call fcn.0041136b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00411320
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0041135b
in al, dx
pushal
fstp qword [ebx - 0x73]
test eax, ebp
clc
invalid
ret 0x73df

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5087277d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x5087278c
pop dword [ebp - 0x10]
mov eax, 0x5087278c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xe86567e6
sub dword [ebp - 0x20], 0x9a13229b
mov dword [ebp - 0x1c], 0x26da2721
sub dword [ebp - 0x1c], 0xf4a6dadc
mov dword [ebp - 0x18], 0xf911ff4
sub dword [ebp - 0x18], 0xc344dbc6
mov dword [ebp - 0x14], 0x1c8e29bf
add dword [ebp - 0x14], 0xe371d641
lea eax, [ebp - 0x20]
push eax
mov eax, 0xf31b7da3
add eax, 0x5d6b92dd
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x3b699eff
sub dword [ebp - 0x20], 0xc6f735a9
mov dword [ebp - 0x1c], 0x15a03bed
sub dword [ebp - 0x1c], 0xd433da78
mov dword [ebp - 0x18], 0xfad12582
sub dword [ebp - 0x18], 0x9761b916
mov dword [ebp - 0x14], 0x8c2ce042
add dword [ebp - 0x14], 0x73d31fbe
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x1bddc58b
add eax, 0x34a94add
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x38dda
push 0
call eax
mov ecx, 0x4f76
mov edi, eax
mov ebx, 0x372295d9
add ebx, 0x1964fa27
add ebx, dword [ebp - 0x10]
mov edx, 0x6d0fd7b3
add dword [ebp - 8], 0x265e686e
mov esi, dword [ebx]
xor dword [ebp - 4], 0x4bde0dba
add esi, edx
xor dword [ebp - 0xc], ecx
mov dword [edi], esi
add edi, 4
add ebx, 4
loop 0x5087289d
add eax, 0xc5f463ee
add eax, 0x3a0cccbd
xor ebx, ebx
add ebx, eax
add eax, 0xdc727d25
add eax, 0x238d82e0
mov ecx, 0xfabe3177
add ecx, 0x55c8ce89
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401aa0
Capabilities:
Create directory

Disassembly:
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x240]
push edi
call fcn.00401ba0
add esp, 4
test eax, eax
jne 0x401b8f
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
je 0x401b8f
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
push 0x5c
push edi
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll__wstat]
mov esi, eax
add esp, 8
test esi, esi
je 0x401b67
mov eax, esi
lea ecx, [esp + 0x34]
sub eax, edi
sar eax, 1
push eax
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x40]
push edx
push eax
call ebp
add esp, 0x14
test eax, eax
jge 0x401b4f
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 2
jbe 0x401b4f
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.MSVCRT.dll__wmkdir]
add esp, 4
test eax, eax
jne 0x401b8f
cmp word [esi + 2], 0
lea eax, [esi + 2]
je 0x401b8f
push 0x5c
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x401b04
lea eax, [esp + 0x10]
push eax
push edi
call ebp
add esp, 8
test eax, eax
jge 0x401b8f
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 2
jbe 0x401b8f
push edi
call dword [sym.imp.MSVCRT.dll__wmkdir]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x22c
ret

Function at 0x402520
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x30]
push 2
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 8], eax
je 0x402585
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
sete dl
mov al, dl
pop ebx
add esp, 0x10
ret

Function at 0x4025a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov edx, dword [esp + 0x4c]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x540
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
jne 0x4025f7
add esp, 0x3c
ret 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x402608
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x3c
ret 0xc