joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ec04
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44edaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ed90
mov dl, 1
mov eax, dword [0x4119ec]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ed7f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0043cc38
test al, al
je 0x44ed72
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44edc0
lea eax, [ebp - 0x254]
call fcn.00408968
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44ed72
xor eax, eax
push ebp
push 0x44ed6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44edf8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44ed54
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44ed54
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ed72
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ec75
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004154c8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44edb6
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x44f6e4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x455bdc]
cmp byte [eax + 0xa5], 0
jne 0x44f755
cmp dword [0x455bf4], 0
jne 0x44f716
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f6a0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x455bf4], eax
cmp dword [0x455bf0], 0
jne 0x44f731
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x455bf0], eax
cmp dword [0x455bf8], 0
jne 0x44f755
push esp
push 0
push 0
push 0x44f644
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x455bf8], eax
pop edx
ret
Function at 0x44f84c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44f863
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004192d8
mov eax, dword [0x453f94]
cmp word [eax + 2], 0
jne 0x44f88b
mov eax, dword [0x453f94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450ea4
mov eax, dword [0x454044]
cmp word [eax + 2], 0
jne 0x44f8a5
mov eax, dword [0x454044]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045109c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4115d0]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4115d0]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b80c]
call fcn.00422b84
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44fa2c
mov eax, dword [0x453ebc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422f54
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45163c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x453ebc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c038
test eax, eax
je 0x44f99a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040835c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c060
test eax, eax
je 0x44f9ae
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x453db0]
cmp byte [eax], 0
jne 0x44f9e2
mov eax, ebx
call fcn.0044fb54
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00451818
mov eax, ebx
call fcn.004521dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fa22
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fdd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455bdc]
cmp dword [eax + 0x30], 0
je 0x44fe7e
cmp dword [ebx + 0x94], 0
jne 0x44fe78
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44fd64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44fe78
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44fe3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44fe78
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413938
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44fe4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4509e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450a15
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x450a22
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4519f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451a35
mov eax, esi
call fcn.004382f8
test al, al
je 0x451a35
mov eax, dword [ebx + 0x84]
call fcn.00438020
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451a35
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438020
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4023f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0040d300
add esp, 0xc
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
je 0x4024d6
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
lea edi, [ebp - 0x224]
xor al, al
mov ecx, 0x208
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x2c]
shr ecx, 1
add ecx, 1
cmp ecx, 0x103
jbe 0x40246e
mov dword [ebp - 0x10], 0x103
jmp 0x40247d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x2c]
shr eax, 1
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, eax
call fcn.00402e10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0x60776c6b
jne 0x4024c9
cmp dword [ebp - 0x18], 0x316d
jne 0x4024c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
jmp 0x4024d8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x402430
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4024e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402507
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x402507
xor eax, eax
jmp 0x402637
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0x4550
je 0x402525
xor eax, eax
jmp 0x402637
mov eax, dword [ebp - 0x18]
add eax, 0x18
mov dword [ebp - 0x20], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x60]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
jmp 0x40258d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
jae 0x4025ce
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.00402f10
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0xc]
jne 0x4025cc
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp + 0x10]
jne 0x4025cc
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x4025ce
jmp 0x402572
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x18]
jne 0x4025dd
xor eax, eax
jmp 0x402637
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax + 0x64]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004023c0
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x402634
cmp dword [ebp + 0x14], 0
je 0x402634
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x402e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402e31
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi]
xor dl, dl
movzx esi, word [edi]
mov cl, 0xa5
mov byte [esp + 0x17], al
mov al, 0x6f
mov byte [esp + 0x24], 0x91
mov bl, 0x75
test si, si
je 0x402ed5
mov ecx, 0x756f91a5
mov dword [esp + 0x1c], 0xfcc996a6
mov eax, esi
mov ebp, ecx
mov edx, 0xfcc996a6
mov dword [esp + 0x18], eax
nop word [eax + eax]
xor esi, esi
movzx eax, ax
and ecx, 0x1ffffff
lea edi, [edi + 2]
shld esi, ecx, 7
shrd ebp, edx, 0x19
shl ecx, 7
shr edx, 0x19
or ecx, ebp
or esi, edx
cdq
xor ecx, eax
xor edx, esi
mov ebx, ecx
mov eax, edx
shrd ebx, eax, 0x18
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov ebp, ecx
mov dword [esp + 0x28], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x16], al
movzx eax, word [edi]
mov dword [esp + 0x24], esi
mov esi, eax
mov dword [esp + 0x18], esi
test ax, ax
jne 0x402e70
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x16]
mov dh, byte [esp + 0x17]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x28], dh
mov byte [esp + 0x29], dl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2b], cl
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2d], bl
mov edx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402f2f
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [edi]
xor bh, bh
mov byte [esp + 0xf], bl
mov cl, 0xa5
mov byte [esp + 0x10], 0x91
mov al, 0x75
mov byte [esp + 0x14], 0x6f
test bl, bl
je 0x402fbb
mov ecx, 0x756f91a5
mov dword [esp + 0x24], 0xfcc996a6
mov eax, ecx
mov edx, 0xfcc996a6
nop dword [eax]
xor esi, esi
lea edi, [edi + 1]
shrd eax, edx, 0x19
and ecx, 0x1ffffff
mov bh, bl
shld esi, ecx, 7
shr edx, 0x19
or esi, edx
shl ecx, 7
or ecx, eax
movsx eax, bl
mov bl, byte [edi]
cdq
xor ecx, eax
xor edx, esi
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x18
mov eax, edx
mov dword [esp + 0x18], esi
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov dword [esp + 0x14], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, ecx
mov dword [esp + 0x10], esi
test bl, bl
jne 0x402f60
mov bl, byte [esp + 0xf]
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov byte [esp + 0x1a], cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bh
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4054a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword fs:[0x18]
mov edx, 0x62
push ebx
mov dword [esp + 8], 0
push ebp
mov eax, dword [eax + 0x30]
push esi
push edi
mov dword [esp + 0x18], ecx
lea ecx, [edx - 0x5b]
mov eax, dword [eax + 0x10]
push 0x1ea
push 0x5415743
mov esi, dword [eax + 0x44]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp ecx, 3
jl 0x4055b1
xor edi, edi
test ecx, ecx
jle 0x4055b1
lea ebx, [edi + 0x7f]
mov byte [esp + 0x1f], 0x23
mov byte [esp + 0x20], 0x63
mov byte [esp + 0x21], 0x4e
mov byte [esp + 0x22], 0x63
mov byte [esp + 0x23], 0x39
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x25], 0x6d
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x27], 0x10
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], 0x63
mov al, byte [esp + 0x1f]
mov byte [esp + 0x2b], 0
cmp byte [esp + 0x2b], 0
jne 0x405570
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x1f]
movzx eax, al
sub eax, 0x63
imul eax, eax, 0x25
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + ecx + 0x1f], dl
inc ecx
cmp ecx, 0xc
jb 0x405550
lea ebx, [edi*4]
mov edx, 0x72
add ebx, ebp
push 0xc3ac
push 0x2c92576c
lea ecx, [edx - 0x71]
mov esi, dword [ebx]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x1f]
push ecx
push esi
call eax
test eax, eax
je 0x4055bb
inc edi
mov ebx, 0x7f
cmp edi, dword [esp + 0x14]
jl 0x405500
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebp, dword [esp + 0x18]
mov byte [ebp + 0x30], 1
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 5]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b110
add esp, 4
mov dword [ebp + 0x2c], eax
test eax, eax
je 0x4055b1
mov edi, eax
lea ecx, [esi + esi]
mov edx, 0x29
xor al, al
rep stosb byte es:[edi], al
mov esi, dword [ebx + 4]
lea ecx, [edx - 0x28]
mov edi, dword [ebp + 0x2c]
push 0x8b80
push 0x1ce7576c
call fcn.004027f0
add esp, 8
push esi
push edi
call eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret
Function at 0x405f20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
nop dword [eax]
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405f6d
push 0xc8
call fcn.0040b110
add esp, 4
test eax, eax
je 0x405f66
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x405f68
xor eax, eax
mov dword [0x455ee4], eax
test byte [eax + 0x10], 1
je 0x405f7f
cmp dword [ebp + 0x98], 1
sete cl
jmp 0x405f81
mov cl, 1
mov eax, dword [eax + 0x10]
shr eax, 1
test al, 1
je 0x405f96
cmp dword [ebp + 0x9c], 2
sete al
jmp 0x405f98
mov al, 1
test cl, cl
je 0x405fa0
test al, al
jne 0x405fc3
mov edx, 0x54
push 0xf2e5
push 0xcfcf7053
lea ecx, [edx - 0x53]
call fcn.004027f0
add esp, 8
push 0xa
call eax
jmp 0x405f30
xor eax, eax
mov ecx, dword [eax + 0x413638]
cmp ecx, 0xffffffff
je 0x405fd8
test ecx, ecx
jne 0x40606a
add eax, 0x110
cmp eax, 0x42680
jl 0x405fc5
mov esi, dword [0x455c80]
mov eax, dword [0x455c84]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x40602b
nop dword [eax]
push 0
push dword [esi]
call edi
mov edx, 0x54
push 0xf2e5
push 0xcfcf7053
lea ecx, [edx - 0x53]
call fcn.004027f0
add esp, 8
push 0xa
call eax
add esi, 4
cmp esi, ebx
jne 0x406000
push 0
push dword [ebp + 0x20]
call edi
push 0
push dword [ebp + 0x24]
call edi
push 0
push dword [ebp + 0x28]
call edi
mov esi, dword [ebp + 0x1c]
mov edx, 0x47
push 0x80ca
push 0x5fe86543
lea ecx, [edx - 0x46]
call fcn.004027f0
add esp, 8
push esi
call eax
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x54
push 0xf2e5
push 0xcfcf7053
lea ecx, [edx - 0x53]
call fcn.004027f0
add esp, 8
push 0x64
call eax
jmp 0x405fc3
Function at 0x40aac0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x455ee0]
push ebp
mov ebp, ecx
test eax, eax
jne 0x40ab2e
push edi
push 0x427
call fcn.0040b110
mov edi, eax
add esp, 4
mov dword [0x455ee0], edi
test edi, edi
jne 0x40aaeb
pop edi
pop ebp
pop ecx
ret
push ebx
push esi
mov ebx, 0x40e0e0
mov dword [esp + 0x10], 0x22
xor esi, esi
sub ebx, edi
nop
mov eax, esi
lea ecx, [edi + esi]
xor edx, edx
inc esi
div dword [esp + 0x10]
mov al, byte [edx + 0x40e0b0]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp esi, 0x427
jb 0x40ab00
pop esi
pop ebx
mov eax, edi
mov dword [ebp + 0xc4], 0x427
pop edi
pop ebp
pop ecx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x16481630
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1ad30a17
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40ebb3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00409daf
mov dword [ebp - 0x14], eax
cmp dword [0x81607c], esi
jne 0x40eca6
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ec33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40ed86
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40ed86
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ed86
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x81607c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x816080], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x816084], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x81608c], eax
test eax, eax
je 0x40eca3
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x816088], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40eccb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ecbe
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ece0
push 4
pop eax
jmp 0x40ed88
cmp dword [ebp - 0x14], esi
je 0x40ece0
push dword [0x81607c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ecc5
mov eax, dword [0x816088]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ed3e
cmp dword [0x81608c], edi
je 0x40ed3e
push eax
call ebx
push dword [0x81608c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ed3e
test eax, eax
je 0x40ed3e
call ecx
test eax, eax
je 0x40ed33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ed33
test byte [ebp - 8], 1
jne 0x40ed3e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40ed6e
mov eax, dword [0x816080]
cmp eax, edi
je 0x40ed6b
push eax
call ebx
test eax, eax
je 0x40ed6b
call eax
mov esi, eax
test esi, esi
je 0x40ed6b
mov eax, dword [0x816084]
cmp eax, edi
je 0x40ed6b
push eax
call ebx
test eax, eax
je 0x40ed6b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x81607c]
call ebx
test eax, eax
je 0x40ed86
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40ed88
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043a8
mov esp, ebp
pop ebp
ret