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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4bcae9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4bcaf8
push 0
push edx
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bcac3
push 0
push 0x4bcb00
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x4bcac3
push 0
push 0x4bcb10
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bcb20
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bcb2c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4bcac3
call fcn.004bb3e0
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4bc9d6
cmp eax, dword [esp]
pop edx
pop eax
je 0x4bcac3
lea eax, [ebp - 0x404]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4c6de8]
call fcn.00404358
lea eax, [ebp - 0x408]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x408]
call fcn.0040932c
test al, al
jne 0x4bcac3
cmp dword [esi + 0x388], 0
jle 0x4bca3a
dec dword [esi + 0x388]
jmp 0x4bca5f
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x40c]
call fcn.004ba410
test al, al
je 0x4bcac3
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x404]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 4]
call fcn.0040e020
test eax, eax
jne 0x4bcac3
lea eax, [ebp - 0x414]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x414]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcaf0
lea eax, [ebp - 0x414]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4bcca4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4bce74
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4bce84
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x4bcd50
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x41c]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x418]
add eax, 0x28
push eax
mov eax, dword [ebp - 0x41c]
add eax, 0x190
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0
push 0
push 0
push 2
call sub.user32.dll_mouse_event
push 0
push 0
push 0
push 0
push 4
call sub.user32.dll_mouse_event
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetCursorPos
push 0
push 0x4bce84
push 0
push edi
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4bce4e
lea eax, [ebp - 0x40c]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 4]
mov edx, dword [0x4c6de8]
call fcn.00404358
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x420]
call fcn.0040932c
test al, al
jne 0x4bce4e
cmp dword [esi + 0x388], 0
jle 0x4bcdc5
dec dword [esi + 0x388]
jmp 0x4bcdea
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x424]
call fcn.004bac00
test al, al
je 0x4bce4e
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x40c]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 4]
call fcn.0040e020
test eax, eax
jne 0x4bce4e
lea eax, [ebp - 0x42c]
push eax
mov ecx, 0x46
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004047e0
mov eax, dword [ebp - 0x42c]
push eax
push 0x3ff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bce7b
lea eax, [ebp - 0x42c]
mov edx, 4
call fcn.004042e4
lea eax, [ebp - 4]
call fcn.004042c0
ret
Function at 0x4bce98
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x86
push 0
push 0
dec ecx
jne 0x4bcea0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4bd14d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4bd15c
push 0
push edx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bd16c
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 0
push 0x4bd180
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
je 0x4bd122
call fcn.004bb3e0
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4bcf0a
cmp eax, dword [esp]
pop edx
pop eax
je 0x4bd122
lea eax, [ebp - 0x410]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
push 0x4bd1a0
lea edx, [ebp - 0x414]
mov eax, 0x1f3ba8
call fcn.00408e24
push dword [ebp - 0x414]
push 0x4bd1b4
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404640
lea eax, [ebp - 8]
mov edx, dword [0x4c6de8]
call fcn.00404358
push 0x4bd1c4
lea edx, [ebp - 0x418]
mov eax, 0x57e0b7c
call fcn.00408e24
push dword [ebp - 0x418]
push 0x4bd1e8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404640
lea eax, [ebp - 0x41c]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x41c]
call fcn.0040932c
test al, al
jne 0x4bd122
cmp dword [esi + 0x388], 0
jle 0x4bcfc8
dec dword [esi + 0x388]
jmp 0x4bcff1
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x420]
call fcn.004bac00
test al, al
je 0x4bd122
lea eax, [ebp - 0x424]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x424]
mov eax, dword [ebp - 4]
call fcn.0040e020
test eax, eax
jg 0x4bd122
lea eax, [ebp - 0x428]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
call fcn.0040e020
test eax, eax
jg 0x4bd122
lea eax, [ebp - 0x42c]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
call fcn.0040e020
test eax, eax
jg 0x4bd122
mov dword [ebp - 0x10], 6
push 0x4bd1f0
push 0xff
push 0xc
push ebx
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
call fcn.00404580
mov esi, eax
test esi, esi
jle 0x4bd0bb
mov edi, 1
push 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edi - 1]
push eax
push 0x102
push ebx
call sub.user32.dll_SendMessageA
inc edi
dec esi
jne 0x4bd0a1
lea eax, [ebp - 0x410]
push eax
push 0x3ff
push 0xd
push ebx
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x430]
lea edx, [ebp - 0x410]
mov ecx, 0x400
call fcn.00404530
mov eax, dword [ebp - 0x430]
mov edx, dword [ebp - 4]
call fcn.004046cc
je 0x4bd0fa
dec dword [ebp - 0x10]
jne 0x4bd07c
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
push 0xc8
call sub.kernel32.dll_Sleep_1
push 0
push 0xd
push pe_nt_image_headers32
push ebx
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd154
lea eax, [ebp - 0x430]
mov edx, 8
call fcn.004042e4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042e4
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c090]
jne 0x401abf
repz ret
jmp fcn.00402ab8

Function at 0x408fde
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.004073a9
and dword [ebp - 4], 0
cmp dword [0x4605cc], 0
mov ebx, eax
jne 0x40908f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409140
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409140
push eax
call fcn.00407337
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4605cc], eax
call esi
push eax
call fcn.00407337
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4605d0], eax
call esi
push eax
call fcn.00407337
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4605d4], eax
call esi
push eax
call fcn.00407337
pop ecx
mov dword [0x4605dc], eax
test eax, eax
je 0x40908f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407337
pop ecx
mov dword [0x4605d8], eax
mov eax, dword [0x4605d8]
cmp eax, ebx
je 0x4090e7
cmp dword [0x4605dc], ebx
je 0x4090e7
push eax
call fcn.004073b2
push dword [0x4605dc]
mov esi, eax
call fcn.004073b2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4090e7
test edi, edi
je 0x4090e7
call esi
test eax, eax
je 0x4090de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4090de
test byte [ebp - 0xc], 1
jne 0x4090e7
or dword [ebp + 0x10], 0x200000
jmp 0x409120
mov eax, dword [0x4605d0]
cmp eax, ebx
je 0x409120
push eax
call fcn.004073b2
pop ecx
test eax, eax
je 0x409120
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409120
mov eax, dword [0x4605d4]
cmp eax, ebx
je 0x409120
push eax
call fcn.004073b2
pop ecx
test eax, eax
je 0x409120
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4605cc]
call fcn.004073b2
pop ecx
test eax, eax
je 0x409140
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409142
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40915c
mov ecx, 0x48cd2232
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x5e1d6a96
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402350
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x118
push ebp
push esi
push edi
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
xor ebp, ebp
call fcn.004054d2
mov esi, eax
test esi, esi
je 0x4024a2
push ebx
push esi
call fcn.004052e8
add esp, 4
mov ebx, eax
push ebx
push esi
push ebp
push edi
call fcn.004054d8
test eax, eax
je 0x402498
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.VarFileInfoTranslation
push ebx
call fcn.004054cc
test eax, eax
je 0x402498
mov eax, dword [esp + 0x18]
mov cx, word [eax]
mov dx, word [eax + 2]
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [esp + 0x10], cx
mov word [esp + 0x12], dx
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
shr ecx, 2
xor esi, esi
test ecx, ecx
jbe 0x4023f1
lea ebx, [ebx]
cmp word [edx], ax
je 0x4024ae
inc esi
add edx, 4
cmp esi, ecx
jb 0x4023e0
push 1
lea edx, [esp + 0x14]
push edx
call edi
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
call fcn.004024d0
add esp, 0xc
test eax, eax
jne 0x402445
mov ecx, dword [esp + 0x14]
push 1
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push 0
call fcn.004024d0
add esp, 0xc
test eax, eax
jne 0x402445
mov eax, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push 9
call fcn.004024d0
add esp, 0xc
movzx edx, word [esp + 0x12]
movzx eax, word [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x2c]
push str.StringFileInfo_04x_04xFileVersion
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
call fcn.004054cc
test eax, eax
je 0x402498
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x12c]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
call fcn.004052e2
add esp, 4
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
add esp, 0x118
ret
mov ax, word [edx]
mov cx, word [edx + 2]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
jmp 0x402445
Function at 0x4026d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x25c
push ebx
push ebp
push esi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, eax
lea eax, [esp + 0x68]
push eax
push reloc.USER32.dll_EmptyClipboard
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [esi]
xor ebx, ebx
cmp al, bl
mov byte [esp + 0x168], bl
je 0x402735
push ebx
push ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.MSVCRT.dll__splitpath]
push ebx
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18c]
push edx
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x28
mov ecx, dword [0x407194]
mov eax, dword [esp + 0x26c]
mov edx, dword [esp + 0x270]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x168]
push ecx
mov byte [esi], bl
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x20], 0x406648
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x40662c
mov dword [esp + 0x48], 0x80204
mov word [esp + 0x4c], bx
mov word [esp + 0x4e], bx
mov dword [esp + 0x50], 0x406628
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
cmp edi, ebx
mov esi, eax
je 0x4027d1
mov dx, word [esp + 0x48]
mov word [edi], dx
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret
Function at 0x4027f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x25c
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
lea eax, [esp + 0x68]
push eax
push reloc.USER32.dll_EmptyClipboard
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [esi]
xor ebx, ebx
cmp al, bl
mov byte [esp + 0x168], bl
je 0x402855
push ebx
push ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.MSVCRT.dll__splitpath]
push ebx
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18c]
push edx
call dword [sym.imp.MSVCRT.dll__makepath]
add esp, 0x28
mov ecx, dword [0x407194]
mov eax, dword [esp + 0x26c]
mov edx, dword [esp + 0x270]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x68]
push ecx
mov byte [esi], bl
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x20], 0x4065f8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x4065e4
mov dword [esp + 0x48], 6
mov word [esp + 0x4c], bx
mov word [esp + 0x4e], bx
mov dword [esp + 0x50], 0x4065dc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x25c
ret

Function at 0x402900
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [0x40f1a8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xe
push eax
call edi
mov esi, eax
test esi, esi
jle 0x402994
push ebx
push ebp
inc esi
push esi
call fcn.004052e8
mov ecx, dword [0x40f1a8]
add esp, 4
mov ebx, eax
push ebx
push esi
push 0xd
push ecx
call edi
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov edi, eax
mov eax, dword [0x40f1a8]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x402982
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call fcn.004052e2
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x4029a0
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push ecx
mov eax, dword [0x40f1a8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
xor ebp, ebp
push ebp
push ebp
push 0xe
push eax
call ebx
mov esi, eax
test esi, esi
jle 0x402a24
push edi
inc esi
push esi
call fcn.004052e8
mov ecx, dword [0x40f1a8]
add esp, 4
mov edi, eax
push edi
push esi
push 0xd
push ecx
call ebx
mov edx, dword [esp + 0x18]
push ebp
push reloc.MSVCRT.dll___set_app_type
push 2
push ebp
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402a1a
push ebp
lea eax, [esp + 0x14]
push eax
dec esi
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402a13
mov ebp, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004052e2
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x40274e
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
xor ebx, ebx
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp ebx, 0x58ce993
jg 0x40277e
inc ebx
cmp ebx, 0x1f6502e2
jl 0x402764
cmp dword [0x42f364], 0x400
jne 0x4027fb
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push str.gapozakivovi
push esi
call fcn.00402b08
push esi
push esi
call fcn.004029c9
push esi
push esi
call fcn.004029c9
add esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004028a0
fstp st(0)
push esi
call fcn.00402d41
push esi
call fcn.00402d50
add esp, 0x10
xor ebx, ebx
cmp ebx, 0xd0fe
jge 0x40280c
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0x58bc6e
jg 0x402826
inc ebx
cmp ebx, 0xe52f
jl 0x4027fd
mov eax, dword [0x428304]
mov dword [0x42f364], eax
call fcn.004024cc
mov edi, 0x3078f
cmp dword [0x42f364], 0x51f
jne 0x402854
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x40283a
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x406c63
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427d50]
jne 0x406c6d
repz ret
jmp fcn.004092a7
Function at 0x408f3c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427d50]
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.004059ec
and dword [ebp - 0x14], 0
cmp dword [0x429f24], 0
mov dword [ebp - 0x18], eax
jne 0x408fef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409097
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409097
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x429f24], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x429f28], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x429f2c], eax
call edi
push eax
call esi
mov dword [0x429f34], eax
test eax, eax
je 0x408fef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x429f30], eax
mov eax, dword [0x429f30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409048
cmp dword [0x429f34], ecx
je 0x409048
push eax
call esi
push dword [0x429f34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409048
test ebx, ebx
je 0x409048
call edi
test eax, eax
je 0x40903f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40903f
test byte [ebp - 8], 1
jne 0x409048
or dword [ebp + 0x10], 0x200000
jmp 0x40907b
mov eax, dword [0x429f28]
cmp eax, dword [ebp - 0x18]
je 0x40907b
push eax
call esi
test eax, eax
je 0x40907b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40907b
mov eax, dword [0x429f2c]
cmp eax, dword [ebp - 0x18]
je 0x40907b
push eax
call esi
test eax, eax
je 0x40907b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x429f24]
call esi
test eax, eax
je 0x409097
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409099
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c63
leave
ret
Function at 0x403164
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x491020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031dc
xor eax, eax
push ebp
push 0x4031d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403218
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x491020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x491020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49304c], 0
je 0x403ff1
cmp word [0x493220], 0xd7b2
jne 0x403fb9
cmp dword [0x493228], 0
jbe 0x403fb9
mov eax, 0x49321c
call dword [0x493238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49106c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404018
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x491030], 0
jne 0x40400d
push 0
push 0x491064
push 0x49106c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret