joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484034
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48416d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x443de4]
call fcn.00444fe8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x484143
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004450d0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040724c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x484188
call fcn.00407520
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044534c
test al, al
je 0x48412d
lea ecx, [ebp - 4]
mov edx, 0x4841fc
mov eax, dword [ebp - 0xc]
call fcn.00445c48
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041b0d4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x484126
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x484214
mov eax, dword [ebp - 8]
push eax
call fcn.0040bc74
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x54ac00]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48412d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48414a
mov eax, dword [ebp - 0xc]
call fcn.00405310
ret

Function at 0x484278
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4842bf
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4842a2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4842b3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4842bf
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x491bfc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x553240], 0
je 0x491d3d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x54dacc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x491d3d
mov eax, dword [0x553244]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x553240]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x491d0c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x553240]
call fcn.00434d78
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x491d04
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x491d04
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x491d04
mov eax, dword [ebp - 0x14]
call fcn.0049d5d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x491d04
push ebp
call fcn.00491bb8
pop ecx
test al, al
jne 0x491d04
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040559c
test al, al
je 0x491d04
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040559c
cmp byte [ebp - 1], 0
je 0x491d04
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040ae34
test al, al
je 0x491d04
mov edx, dword [ebp - 0x14]
mov eax, dword [0x553244]
call fcn.00491314
inc edi
dec ebx
jne 0x491c61
mov eax, dword [0x553244]
cmp dword [eax + 8], 0
jle 0x491d24
mov eax, dword [0x553244]
call fcn.004913cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x491d3d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00491a1c
pop ecx
test al, al
jne 0x491d3d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a17c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040ae1c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004941c4
test ebx, ebx
jne 0x49a1cf
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00499ff8
mov ebx, eax
test ebx, ebx
je 0x49a2c5
cmp esi, ebx
je 0x49a1f8
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x49a20d
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x49a245
add eax, 0xffffff5f
sub eax, 2
jb 0x49a25d
dec eax
sub eax, 2
jb 0x49a271
dec eax
sub eax, 2
jb 0x49a267
jmp 0x49a27b
add eax, 0xfffffdff
sub eax, 2
jb 0x49a25d
dec eax
sub eax, 2
jb 0x49a271
dec eax
sub eax, 2
jb 0x49a267
jmp 0x49a27b
mov byte [esp + 0x120], 0
jmp 0x49a283
mov byte [esp + 0x120], 2
jmp 0x49a283
mov byte [esp + 0x120], 1
jmp 0x49a283
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0046ddc8
mov esi, eax
call fcn.00490ab4
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00495b74
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x49a2c7
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4b4dc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040703c
xor eax, eax
push ebp
push 0x4b4f55
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4b4f23
xor edx, edx
push ebp
push 0x4b4f1c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004070a8
mov eax, dword [ebp - 8]
test eax, eax
je 0x4b4e2f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4b4e2f
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00406780
test eax, eax
je 0x4b4e38
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4b4ef1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4b4ee0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004070a8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4b4e9a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4b4e9a
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00406780
test eax, eax
je 0x4b4ea3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004070e0
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004043d0
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4ee7
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x54d524]
mov dl, 1
mov eax, dword [0x40d978]
call fcn.0041843c
call fcn.00405de8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4f5c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040704c
ret

Function at 0x4b790c
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040703c
xor eax, eax
push ebp
push 0x4b798a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004070e0
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x4b7955
mov eax, dword [ebx + 4]
call fcn.004070e0
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceW
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7991
lea eax, [ebp - 4]
call fcn.00407044
ret
Function at 0x4b8a08
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b8bb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.004045ec
cmp word [ebx + 0xaa], 0
je 0x4b8a51
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x4b8a65
lea esi, [ebp - 0xc]
jmp 0x4b8a67
xor esi, esi
cmp dword [ebx + 0x88], 0
jne 0x4b8a74
xor edi, edi
jmp 0x4b8a81
mov eax, dword [ebx + 0x88]
call fcn.004070e0
mov edi, eax
mov eax, dword [ebx + 0x84]
call fcn.004070e0
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004b8104
mov eax, dword [ebp - 0x14]
call fcn.004070e0
push eax
push esi
mov eax, dword [ebx + 0x7c]
call fcn.004070e0
push eax
mov eax, dword [ebp - 4]
call fcn.004070e0
push eax
mov eax, ebx
call fcn.004b824c
push eax
mov eax, ebx
call fcn.004b8220
push eax
mov eax, ebx
call fcn.004b81d8
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004b7fac
mov eax, dword [ebp - 0x18]
call fcn.004070e0
push eax
mov eax, dword [ebx + 8]
call fcn.004070e0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x98], eax
cmp dword [ebp - 0x10], 0
jne 0x4b8b0d
call fcn.0041aa50
xor edx, edx
push ebp
push 0x4b8b86
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4b8b4b
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xb2], 0
je 0x4b8b41
mov edx, ebx
mov eax, dword [ebx + 0xb4]
call dword [ebx + 0xb0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b8b6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8b8d
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x4b8bc0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xba], 0
je 0x4b8bec
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xbc]
call dword [esi + 0xb8]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004070e0
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b8c11
call fcn.0041aa50
xor eax, eax
push ebp
push 0x4b8c48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x4b8c31
call fcn.0041aa50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8c4f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x506444
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx edi, word [edx]
add edi, edi
movzx esi, cl
mov ebp, esi
shr ebp, 7
or edi, ebp
cmp edi, 0xffff
jbe 0x506470
call fcn.004051d0
mov word [edx], di
test bl, bl
je 0x50647c
xor word [edx], 0x1021
add esi, esi
and esi, 0xff
cmp esi, 0xff
jbe 0x506491
call fcn.004051d0
mov ecx, esi
dec eax
jne 0x50644d
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x9b2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009b21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9b207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b206a
add dl, dl
jne 0x9b2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b20dc
xor eax, eax
add dl, dl
jne 0x9b2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9b217d
add dl, dl
jne 0x9b20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9b20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9b2075
mov eax, 1
add dl, dl
jne 0x9b20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9b20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b20e1
sub eax, ebx
mov ebx, 1
jne 0x9b2128
mov ecx, 1
add dl, dl
jne 0x9b210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9b213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9b214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9b2136
cmp eax, 0x7d00
jae 0x9b216d
cmp eax, 0x500
jb 0x9b2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b2075
cmp eax, 0x7f
ja 0x9b2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9b2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9b219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9b2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4027cc
Capabilities:
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor ebx, ebx
xor edi, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x58ce993
jg 0x4027fc
inc edi
cmp edi, 0x1f6502e2
jl 0x4027e2
cmp dword [0x43919c], 0x400
jne 0x40284c
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push ebx
push ebx
lea eax, [ebp - 0x800]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push ebx
call fcn.004035e0
push ebx
push ebx
call fcn.0040361a
push ebx
call fcn.004038e1
push ebx
call fcn.004038f0
add esp, 0x14
xor edi, edi
cmp edi, 0xd0fe
jge 0x40285d
push ebx
call dword [sym.imp.USER32.dll_GetCaretPos]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bc6e
jg 0x402876
inc edi
cmp edi, 0xe52f
jl 0x40284e
mov eax, dword [0x431ec4]
mov dword [0x43919c], eax
call fcn.0040254c
mov esi, 0x3078f
cmp dword [0x43919c], 0x51f
jne 0x4028a4
push ebx
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec esi
jne 0x40288a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x4046bf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431344]
jne 0x4046c9
repz ret
jmp fcn.004081bc
Function at 0x408bdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431344]
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.00405d67
and dword [ebp - 0x14], 0
cmp dword [0x434084], 0
mov dword [ebp - 0x18], eax
jne 0x408c8e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408d36
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408d36
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x434084], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x434088], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43408c], eax
call edi
push eax
call esi
mov dword [0x434094], eax
test eax, eax
je 0x408c8e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x434090], eax
mov eax, dword [0x434090]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408ce7
cmp dword [0x434094], ecx
je 0x408ce7
push eax
call esi
push dword [0x434094]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408ce7
test ebx, ebx
je 0x408ce7
call edi
test eax, eax
je 0x408cde
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408cde
test byte [ebp - 8], 1
jne 0x408ce7
or dword [ebp + 0x10], 0x200000
jmp 0x408d1a
mov eax, dword [0x434088]
cmp eax, dword [ebp - 0x18]
je 0x408d1a
push eax
call esi
test eax, eax
je 0x408d1a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408d1a
mov eax, dword [0x43408c]
cmp eax, dword [ebp - 0x18]
je 0x408d1a
push eax
call esi
test eax, eax
je 0x408d1a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x434084]
call esi
test eax, eax
je 0x408d36
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408d38
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004046bf
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x24947980
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3b110706
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0x50e4e84a
sub eax, 0x50a4cbe4
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x7e30aebb
sub dword [ebp - 0x28], 0x2fde6970
mov dword [ebp - 0x24], 0xfdbd4e80
sub dword [ebp - 0x24], 0xcb8a023b
mov dword [ebp - 0x20], 0x969c0ee3
sub dword [ebp - 0x20], 0x4a4fcab5
mov dword [ebp - 0x1c], 0x6c36c6da
sub dword [ebp - 0x1c], 0x6c36c6da
lea eax, [ebp - 0x28]
push eax
mov eax, 0xaf154229
add eax, 0x512aee2b
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x83c75905
sub dword [ebp - 0x28], 0xf54efaf
mov dword [ebp - 0x24], 0x59f7a2d2
sub dword [ebp - 0x24], 0x188b415d
mov dword [ebp - 0x20], 0xbd29f85f
sub dword [ebp - 0x20], 0x59ba8bf3
mov dword [ebp - 0x1c], 0xe4b04565
sub dword [ebp - 0x1c], 0xe4b04565
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x74ee8c06
add eax, 0x8b51a426
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x34b76
push 0
call eax
mov ecx, 0x40f1
xor edi, edi
add edi, eax
mov edx, 0x407000
add edx, dword [ebp - 0x18]
mov esi, 0xc24a41e0
add esi, 0x921841d6
sub dword [ebp - 8], 0xd92e1de5
mov ebx, dword [edx]
mov dword [ebp - 0xc], 0xc9c4eae3
add ebx, esi
add dword [ebp - 8], 0x63bbfc72
mov dword [edi], ebx
xor dword [ebp - 4], 0x97958728
add edi, 4
add edx, 0x61d3c7bc
sub edx, 0x61d3c7b8
loop 0x401d7e
add eax, 0xf697
xor ebx, ebx
add ebx, eax
add eax, 0x78a40ade
sub eax, 0x78a40ad9
mov ecx, 0xd93e0369
sub ecx, 0xd8fe0369
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x62d14058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.62d141a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x62d1407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62d1406a
add dl, dl
jne 0x62d14089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62d140dc
xor eax, eax
add dl, dl
jne 0x62d14096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x62d1417d
add dl, dl
jne 0x62d140a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62d140b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62d140bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62d140c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x62d140d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x62d14075
mov eax, 1
add dl, dl
jne 0x62d140ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x62d140f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62d140e1
sub eax, ebx
mov ebx, 1
jne 0x62d14128
mov ecx, 1
add dl, dl
jne 0x62d1410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62d14119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62d14105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62d14075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x62d1413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x62d1414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x62d14136
cmp eax, 0x7d00
jae 0x62d1416d
cmp eax, 0x500
jb 0x62d14168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62d14075
cmp eax, 0x7f
ja 0x62d14170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62d14075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x62d1419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x62d14075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10