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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x14b97ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x14b97cd
mov dl, 1
mov eax, dword [0x1492688]
call fcn.014837bc
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.014847f4
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x14b97b6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.014d861c
test al, al
je 0x14b97aa
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x14b9800
lea eax, [ebp - 0x25c]
call fcn.0148b6f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x14b97aa
xor eax, eax
push ebp
push 0x14b97a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x14b9838
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x14b978c
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.01484a4c
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x14b978c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.01484a4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14b97aa
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x14b9699
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dl, 1
call fcn.014971b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14b97f6
lea eax, [ebp - 0x268]
call fcn.014847f4
ret
Function at 0x14ba240
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x152575c]
cmp byte [eax + 0x95], 0
jne 0x14ba2b7
cmp dword [0x1525778], 0
jne 0x14ba275
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x14ba1fc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x1525778], eax
cmp dword [0x1525774], 0
jne 0x14ba290
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x1525774], eax
cmp dword [0x152577c], 0
jne 0x14ba2b7
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x14ba19c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x152577c], eax
pop ecx
pop ebp
ret

Function at 0x14ba380
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.014ba318
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x14ba3a1
xor eax, eax
call fcn.014ba350
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x14ba3bb
mov al, 1
call fcn.014ba350
mov esp, ebp
pop ebp
ret

Function at 0x14ba9d4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x152575c]
cmp dword [eax + 0x24], 0
je 0x14baa9b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x14baa92
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x14ba954
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp dword [eax + 8], 0
je 0x14baa92
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x14baa4f
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x14baa92
mov dword [ebp - 0xc], eax
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.01493f1c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x14baa64
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov esp, ebp
pop ebp
ret

Function at 0x14bb620
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x14bb665
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.014848dc
jmp 0x14bb673
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.01484848
mov esp, ebp
pop ebp
ret
Function at 0x14bc6fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x14bc743
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.014d3384
test al, al
je 0x14bc743
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.014d2ec0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x14bc743
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.014d2ec0
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x14bf2dc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.014847f4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x14bf335
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.01484a4c
mov esp, ebp
pop ebp
ret
Function at 0x14c8464
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne byte [ebp - 0x1d]
cmp dword [0x15257cc], 0
sete al
or al, byte [ebp - 0x1d]
jne 0x14c85b3
mov eax, dword [0x15257d0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x15257cc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x14c8582
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x15257cc]
call fcn.01493f1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x14c8576
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x14c8576
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x14c8576
mov eax, dword [ebp - 0x14]
call fcn.014d2ec0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x14c8576
push ebp
call fcn.014c8418
pop ecx
test al, al
jne 0x14c8576
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x14c8532
mov eax, dword [ebp - 0x14]
call fcn.014d10d8
dec eax
jle 0x14c8576
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.01483a1c
cmp byte [ebp - 1], 0
je 0x14c8576
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x14c8576
mov edx, dword [ebp - 0x14]
mov eax, dword [0x15257d0]
call fcn.014c798c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x14c84c4
mov eax, dword [0x15257d0]
cmp dword [eax + 8], 0
jle 0x14c859a
mov eax, dword [0x15257d0]
call fcn.014c7a38
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x14c85b3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.014c8254
pop ecx
test al, al
jne 0x14c85b3
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 0x14cfc34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x84
jg 0x14cfc68
je 0x14cfccb
sub eax, 7
je 0x14cfc89
dec eax
je 0x14cfcb9
sub eax, 0x17
je 0x14cfd8d
jmp 0x14cfdd7
add eax, 0xffffff00
sub eax, 9
jb 0x14cfd78
add eax, 0xffffff09
sub eax, 0xb
jb 0x14cfd31
jmp 0x14cfdd7
mov eax, dword [ebp - 0x14]
call fcn.014b16ac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x14cfe44
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x14cfe4f
jmp 0x14cfe44
mov eax, dword [ebp - 0x14]
test byte [eax + 0x44], 0x20
jne 0x14cfe4f
jmp 0x14cfe44
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.014cc6f0
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xffffffff
jne 0x14cfe4f
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.01489394
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.014caa40
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.014cfab8
test eax, eax
je 0x14cfe4f
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
jmp 0x14cfe4f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.014cfb74
test al, al
je 0x14cfe44
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x14cfe4f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
call fcn.014d2ec0
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x14cfe4f
mov eax, dword [ebp - 0x14]
call fcn.014cba80
test al, al
jne 0x14cfe4f
jmp 0x14cfe44
mov eax, dword [ebp - 0x14]
call fcn.014d2ec0
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x14cfe44
cmp dword [0x1522a30], 0
je 0x14cfe44
mov eax, dword [0x1522a30]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x14cfe44
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x1522a30]
call fcn.014cc5a4
jmp 0x14cfe44
mov eax, dword [0x1525794]
cmp byte [eax + 0x20], 0
je 0x14cfe44
mov eax, dword [0x1525794]
cmp dword [eax + 0x1c], 0
je 0x14cfe44
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x1525794]
cmp eax, dword [edx + 0x1c]
jne 0x14cfe44
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.014b15c8
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffb7
call fcn.01483a1c
jmp 0x14cfe4f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.014cc6f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x14d0490
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e8], 0
je 0x14d04b1
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x14d04e6
mov eax, dword [ebp - 4]
test byte [eax + 0x45], 1
jne 0x14d04d6
mov eax, dword [ebp - 4]
call fcn.014cef48
test eax, eax
jne 0x14d04d6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x14d0610
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.014d000c
jmp 0x14d0610
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x14d0609
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.014d2ec0
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.014cc5a4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.014d0490
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.014d2ec0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14d0610
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x14d827c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x1524050]
cmp byte [eax + 8], 0
je 0x14d83ee
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x14d83e7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x15257d8], 0
jne 0x14d82d5
push 0x14d83f4
call sub.kernel32.dll_GetModuleHandleA_1
mov dword [ebp - 4], eax
push 0x14d83fc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257d8], eax
cmp dword [0x1522a90], 0
jne 0x14d83d0
push 0x14d840c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x1522a90], eax
cmp dword [0x1522a90], 0
je 0x14d83d0
push 0x14d8418
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257dc], eax
push 0x14d8428
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257e0], eax
push 0x14d843c
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257e4], eax
push 0x14d8454
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257e8], eax
push 0x14d846c
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257ec], eax
push 0x14d8480
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257f0], eax
push 0x14d8498
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257f4], eax
push 0x14d84b0
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257f8], eax
push 0x14d84cc
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x15257fc], eax
push 0x14d84d8
mov eax, dword [0x1522a90]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x1525800], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14d83ee
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x14e3488
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.014e3144
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.01484c60
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x14e34f0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x1523e08]
mov dl, 1
mov eax, dword [0x14e3054]
call fcn.0148e1f0
call fcn.014840cc
mov esp, ebp
pop ebp
ret 8
Function at 0x14fb0ec
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
xor edx, edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x14fb1c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x401
lea eax, [ebp - 0x405]
push eax
push 0x14fb1d4
call sub.kernel32.dll_GetEnvironmentVariableA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x405]
mov ecx, 0x401
call fcn.01484a4c
push 0x401
lea eax, [ebp - 0x405]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x410]
call fcn.014fb33c
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
call fcn.0148ae00
cld
clc
invalid
push dword [ebp - 0x40c]
push 0x14fb1e4
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x405]
call fcn.0148b18c
push dword [ebp - 0x414]
push 0x14fb1e4
mov eax, dword [ebp - 4]
push dword [eax]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.01484b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14fb1ce
lea eax, [ebp - 0x414]
mov edx, 3
call fcn.01484818
ret

Function at 0x14fb6e0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
push ebx
lea edi, [0x152347c]
mov esi, eax
mov ecx, edx
mov ax, 0x9858
or ecx, ecx
je 0x14fb70b
xor ebx, ebx
mov bl, al
lodsb al, byte [esi]
xor bl, al
shl bx, 1
add ebx, edi
mov bx, word [ebx]
xor bl, ah
mov ax, bx
loop 0x14fb6f5
movzx eax, ax
pop ebx
pop edi
pop esi
ret
Function at 0x14fbd54
Capabilities:
Clear file content
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.01484c50
xor eax, eax
push ebp
push 0x14fbef2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x14fbed4
cmp dword [ebp - 4], 0xffffffff
je 0x14fbed4
cmp dword [ebp - 0xc], 0
je 0x14fbed4
cmp dword [0x15272c0], 0
je 0x14fbde8
mov edx, dword [0x14fb00c]
mov eax, 5
call fcn.014856b8
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 5]
mov edx, dword [ebp - 0x10]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
inc eax
mov edx, dword [ebp - 0xc]
call fcn.01484848
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x7406
mov eax, dword [0x15272c0]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
call sub.user32.dll_PostMessageA
cmp dword [ebp - 4], 0xffffffff
je 0x14fbed4
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetLocalTime
lea eax, [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
movzx eax, word [ebp - 0x22]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
movzx eax, word [ebp - 0x1e]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
movzx eax, word [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
movzx eax, word [ebp - 0x1a]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
movzx eax, word [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
lea edx, [ebp - 0x58]
mov ecx, 5
mov eax, 0x14fbf08
call fcn.0148b77c
push dword [ebp - 0x28]
push 0x14fbf30
xor eax, eax
mov al, byte [ebp - 5]
push dword [eax*4 + 0x1523780]
push 0x14fbf3c
push dword [ebp - 0xc]
push 0x14fbf48
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.01484b5c
mov eax, dword [ebp - 0xc]
call fcn.01484a9c
push eax
lea eax, [ebp - 0xc]
call fcn.01484c6c
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
call fcn.0148ab78
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FlushFileBuffers
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x1523790]
jbe 0x14fbed4
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0148abb0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14fbef9
lea eax, [ebp - 0x28]
call fcn.014847f4
lea eax, [ebp - 0xc]
call fcn.014847f4
ret
Function at 0x14fc264
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0xa
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x15254dc]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x15254dc]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x15254dc]
push eax
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.01482f9c
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov eax, dword [ebp - 0x18]
call fcn.014830f8
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.014fb734
mov eax, dword [ebp - 0x14]
call fcn.01489344
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeResource
mov esp, ebp
pop ebp
ret

Function at 0x14ff1a8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x14ff1cd
cmp dword [esp + 4], 5
jb 0x14ff1cd
mov al, 1
jmp 0x14ff1cf
xor eax, eax
add esp, 0x94
ret