joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468af6
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x178]
mov bx, word [ebp + 8]
mov edi, eax
push 2
movzx edx, bx
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x468b37
test edi, edi
js 0x468b37
cmp al, 0x20
je 0x468b2c
cmp bx, 0x71
jne 0x468b37
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x190]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x492b1b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov edx, 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
cmp eax, edx
ja 0x492cc4
je 0x492cee
cmp eax, 0xa1
jb 0x492d31
cmp eax, 0xa2
jbe 0x492cee
cmp eax, 0xa3
jbe 0x492d31
cmp eax, 0xa5
jbe 0x492cee
cmp eax, 0xa6
jbe 0x492d31
cmp eax, 0xa8
jbe 0x492cee
cmp eax, 0x100
jne 0x492d31
cmp dword [esi + 0xc0], 0xffffffff
je 0x492cee
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x492cec
mov eax, dword [edi + 8]
sub eax, 0x21
je 0x492c4c
sub eax, 1
jne 0x492cec
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xbc]
add eax, ecx
lea edi, [ecx + 1]
jmp 0x492bff
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x492c05
mov eax, dword [esi + 0xbc]
inc edi
add eax, dword [esi + 0xc0]
cmp edi, eax
jl 0x492bd5
jmp 0x492c44
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00434c41
mov edx, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [edx + 0x270]
and dword [esi + 0x24c], 0
xor eax, eax
inc eax
jmp 0x492d57
mov ecx, dword [esi + 0xc0]
lea edi, [ecx - 1]
add edi, dword [esi + 0xbc]
cmp edi, ecx
jle 0x492c44
mov eax, edi
cdq
idiv dword [esi + 0xbc]
mov eax, dword [esi]
mov ecx, edx
mov dword [ebp + 8], ecx
push ecx
mov ecx, esi
call dword [eax + 0x27c]
test eax, eax
jne 0x492c87
dec edi
cmp edi, dword [esi + 0xc0]
jg 0x492c5f
jmp 0x492c44
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esi + 0x24c], 1
call dword [eax + 0x214]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x210]
mov ecx, eax
call fcn.00434c41
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0xc0]
call dword [eax + 0x270]
jmp 0x492c3d
cmp eax, 0x200
jb 0x492d31
cmp eax, 0x202
jbe 0x492cee
cmp eax, 0x203
jbe 0x492d31
cmp eax, 0x205
jbe 0x492cee
add eax, 0xfffffdf9
cmp eax, 1
ja 0x492d31
jmp 0x492cee
xor ecx, ecx
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x492d0e
cmp dword [eax + 0x20], 0
je 0x492d0e
push edi
push ecx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x492d2f
cmp dword [eax + 0x20], 0
je 0x492d2f
push edi
push 0
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
cmp dword [edi + 4], 0x203
jne 0x492d4f
lea eax, [esi + 0x2250]
test eax, eax
je 0x492d47
mov ecx, dword [eax + 0x20]
cmp dword [edi], ecx
je 0x492c44
push edi
mov ecx, esi
call fcn.0048b632
pop edi
pop esi
pop ebp
ret 4
Function at 0x49820e
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x49825c
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0055aa00
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x498251
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x49823f
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00427961
int3

Function at 0x499b59
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5d1e6c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.00434804
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0042c315
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x499bd1
cmp esi, 3
jne 0x499bc0
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x499bd1
xor eax, eax
jmp 0x499c26
cmp esi, 0xa
jl 0x499bdb
cmp esi, 0x11
jle 0x499be0
cmp esi, 4
jne 0x499c24
test edi, 0x800
je 0x499bed
push 2
pop eax
jmp 0x499c26
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x499c24
mov eax, esi
sub eax, 4
je 0x499c71
sub eax, 9
je 0x499c5d
sub eax, 1
je 0x499c4d
dec eax
sub eax, 1
je 0x499c39
sub eax, 1
je 0x499c71
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055026c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x499c26
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x499c26
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x499c26
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x499c26
Function at 0x4ae4df
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x5767e6
call fcn.00550d9d
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.00480e31
test eax, eax
je 0x4ae680
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.0048210f
test eax, eax
je 0x4ae522
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00426ad5
push eax
lea ecx, [ebp - 0x18]
call fcn.00403ff0
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00403c30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00403600
call fcn.00426ad5
push eax
lea ecx, [ebp - 0x14]
call fcn.00403ff0
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403c30
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x58f4a4
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00403600
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4ae5ba
lea ecx, [edi - 0x10]
call fcn.00404020
lea ecx, [esi - 0x10]
jmp 0x4ae67b
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00449e76
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.004371ba
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.004375e7
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.004372ca
lea ecx, [ebp - 0x40]
call fcn.00449f2b
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.0047e322
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.00404020
lea ecx, [esi - 0x10]
call fcn.00404020
xor eax, eax
inc eax
jmp 0x4ae682
call fcn.00404020
xor eax, eax
call fcn.00550cfb
ret 8
Function at 0x4faaf5
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x57a322
call fcn.00550d66
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403ed0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x5aea80
call fcn.00403070
cmp eax, 0xffffffff
jne 0x4fabda
push 0
push 0x589a18
lea ecx, [ebp - 0x278]
call fcn.00403070
cmp eax, 0xffffffff
jne 0x4fabda
push 0
push 0x5aead0
lea ecx, [ebp - 0x278]
call fcn.00403070
cmp eax, 0xffffffff
jne 0x4fabda
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403ed0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4fabb6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00404020
jmp 0x4fac09
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00403a20
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00404020
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4fac00
mov ebx, dword [ebp - 0x274]
jmp 0x4fac09
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00404020
mov eax, ebx
call fcn.00550d10
ret
Function at 0x507556
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x507575
or ecx, 0xffffffff
jmp 0x50757b
mov ecx, dword [0x5d17ac]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5d1a44
call fcn.00437a50
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x50761f
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x50761f
test edi, edi
je 0x5075d0
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5d17f8
call fcn.00437a50
pop ecx
pop ecx
mov ebx, eax
jmp 0x5075d2
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x50762a
test ebx, ebx
je 0x50760b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x50761f
cmp dword [ebp - 4], 0
je 0x50760b
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x507621
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x50761f
test edi, edi
je 0x50761f
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x50761f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x50761f
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x507621
Function at 0x5093fd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5dc334]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5db214]
cmp eax, dword [edx + 4]
jg 0x5094c7
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x509507
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x5094be
cmp dword [eax + 0x20], 0
je 0x5094be
test eax, eax
je 0x50944b
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x5094be
mov eax, dword [edi + 4]
sub eax, 1
je 0x509492
sub eax, 1
je 0x509468
sub eax, 1
jne 0x5094be
mov esi, 0x428e
jmp 0x509497
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x509497
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x509497
add esi, 3
jmp 0x509497
mov esi, 0x3ea0
push esi
call fcn.00427b89
test eax, eax
je 0x509507
push esi
push eax
mov ecx, 0x5db210
call fcn.00403730
test eax, eax
je 0x509507
mov eax, dword [0x5db210]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x5094c0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov esi, 0x5db214
push esi
call fcn.005509b9
cmp dword [0x5db214], 0xffffffff
pop ecx
jne 0x509425
call fcn.00426ad5
push eax
mov ecx, 0x5db210
call fcn.00403ff0
push 0x57e62a
call fcn.00550521
push esi
call fcn.0055097a
pop ecx
pop ecx
jmp 0x509425
call fcn.00427961
int3
Function at 0x52c507
Capabilities:
Get common file path

Disassembly:
push 0x124
mov eax, 0x57c74c
call fcn.00550d66
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.0053bebe
push 0x1c4
call fcn.00426758
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x52c54a
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0053c4cf
jmp 0x52c54c
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0053b30a
call fcn.0043153a
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.0055aa00
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x52c769
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x52c763
xor esi, esi
mov dword [ebp - 0x124], esi
cmp dword [ebx + 4], eax
jle 0x52c763
call fcn.00426ad5
push eax
lea ecx, [ebp - 0x118]
call fcn.00403ff0
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x52c741
push 0x58c46c
mov esi, 0x58c470
lea ecx, [ebp - 0x118]
push esi
call fcn.004252e0
push esi
push 0x5ae9b0
lea ecx, [ebp - 0x118]
call fcn.004252e0
push esi
push 0x58c46c
lea ecx, [ebp - 0x118]
call fcn.004252e0
call fcn.00426ad5
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403ff0
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x52c66d
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push str.10__Ts
push eax
call fcn.00403a00
add esp, 0xc
jmp 0x52c69f
jge 0x52c68d
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__Ts
push eax
call fcn.00403a00
add esp, 0x10
jmp 0x52c69f
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403db0
push 0x1c4
call fcn.00426758
pop ecx
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x52c6c9
mov ecx, eax
call fcn.004e2b83
mov ecx, eax
mov dword [ebp - 0x120], eax
jmp 0x52c6d1
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x11c]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x124]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x124]
mov ecx, ebx
call fcn.0043375e
mov ecx, dword [ebp - 0x120]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.0053b30a
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00404020
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00404020
inc esi
mov dword [ebp - 0x124], esi
cmp esi, dword [ebx + 4]
jl 0x52c5c2
call fcn.00550d10
ret
call fcn.00550659
int3

Function at 0x56a3ce
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0056a08e
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425004]
jne 0x40100a
repz ret
jmp fcn.00401681

Function at 0x40421b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425004]
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.00402d5c
and dword [ebp - 0x14], 0
cmp dword [0x4272f0], 0
mov dword [ebp - 0x18], eax
jne 0x4042ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404376
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404376
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4272f0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4272f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4272f8], eax
call edi
push eax
call esi
mov dword [0x427300], eax
test eax, eax
je 0x4042ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4272fc], eax
mov eax, dword [0x4272fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404327
cmp dword [0x427300], ecx
je 0x404327
push eax
call esi
push dword [0x427300]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404327
test ebx, ebx
je 0x404327
call edi
test eax, eax
je 0x40431e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40431e
test byte [ebp - 8], 1
jne 0x404327
or dword [ebp + 0x10], 0x200000
jmp 0x40435a
mov eax, dword [0x4272f4]
cmp eax, dword [ebp - 0x18]
je 0x40435a
push eax
call esi
test eax, eax
je 0x40435a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40435a
mov eax, dword [0x4272f8]
cmp eax, dword [ebp - 0x18]
je 0x40435a
push eax
call esi
test eax, eax
je 0x40435a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4272f0]
call esi
test eax, eax
je 0x404376
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404378
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x420e70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
mov eax, dword [0x425004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xc28], eax
cmp esi, 0x182
jne 0x420eaa
lea ecx, [ebp - 0xc20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x420ec8
cmp esi, 0x19f
jne 0x420ec8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor edi, edi
test esi, esi
jle 0x420f71
push ebx
mov ebx, dword [ebp - 0xc28]
lea esp, [esp]
lea esi, [ebp - 0xc24]
mov dword [ebp - 0xc24], 0
call fcn.00420e60
mov dl, byte [ebp - 0xc24]
mov eax, dword [ebp - 0xc28]
mov esi, dword [ebp + 0xc]
xor byte [eax + edi], dl
cmp esi, 0xf
jne 0x420f67
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0xc04]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.wepetejef
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.wujokinozalucawisuhej
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
push str.naxoj
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, esi
jl 0x420ee0
pop ebx
pop edi
cmp esi, 0x2d
pop esi
jne 0x420f8c
mov dword [0x2772020], 0xa62e7790
mov dword [0x2772024], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x420fa0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x2772014]
push esi
push edi
mov edi, dword [0x2771d34]
mov esi, eax
cmp eax, 0x5dd
jne 0x420fc2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x425db8]
call fcn.00420e30
cmp dword [0x2772014], 0x2f
jne 0x420fdd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push edi
call fcn.00420e70
add esp, 8
cmp dword [0x2772014], 0x568
pop edi
pop esi
jne 0x421007
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret
Function at 0x411023
Capabilities:
Terminate process

Disassembly:
jmp 0x412170
jmp fcn.00413130
cmp ecx, dword [0x418004]
jne 0x41217a
repz ret
jmp 0x4110be
Function at 0x10005c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov bl, byte [esp + 0x51]
mov dword [esp + 0x3c], 0x1477575
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x6e722d91
mov byte [esp + 0x3b], 0xed
mov bh, byte [esp + 0x3b]
xor bh, 0xe7
mov byte [esp + 0x23], bh
mov word [esp + 0x52], 0x1df
mov esi, dword [ebp + 0xc]
mov di, word [esp + 0x52]
mov dword [0x1002d1a8], esi
mov esi, dword [ebp + 8]
mov dword [0x1002d1a4], esi
mov esi, dword [esp + 0x3c]
add esi, 0xfeb88a8b
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov byte [esp + 0x13], bl
mov word [esp + 0x10], di
jmp 0x10005d3f
mov word [esp + 0x52], 0xe187
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x3c]
xor eax, 0x1477574
mov dword [esp + 0x4c], 0x5544f0fe
add eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
jmp 0x10005d3f
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x41dca7f9
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub ecx, 0x5569e355
sbb eax, 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
jb 0x10005cd4
jmp 0x10005d5f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x2b]
mov byte [eax + ecx], dl
jmp 0x10005ce6
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x31d0b7ee
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x51], 0xfa
cmp eax, ecx
je 0x10005d01
mov al, byte [esp + 0x13]
xor al, 0x34
mov ecx, dword [0x1002d1a8]
mov byte [esp + 0x51], al
mov edx, dword [esp + 0x24]
mov al, byte [ecx + edx]
mov ah, byte [esp + 0x23]
mov byte [esp + 0x2b], al
mov al, 0x2d
mov bl, byte [esp + 0x13]
mov byte [esp + 7], al
mov al, bl
mov bh, byte [esp + 7]
mov byte [esp + 6], ah
mul bh
mov byte [esp + 0x51], al
mov ecx, dword [0x1002d1a4]
mov dword [esp + 0x2c], ecx
mov al, byte [esp + 6]
cmp al, 0x88
ja 0x10005d5f
jmp 0x10005d2e