joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x483e36
mov eax, ebx
call fcn.004848ac
cmp dword [ebx + 0x3c], 0
je 0x483e2f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x483ea7
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x483e99
cmp dword [ebx + 8], 0
je 0x483e58
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x483e6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x483e99
cmp dword [ebx + 8], 0
je 0x483e4b
cmp eax, 3
je 0x483e7d
dec eax
jne 0x483e4b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x483e4b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x483e4b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x483ec5
cmp dword [ebx + 0x10], 0xcc
je 0x483ec5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00483ed0
pop ebx
ret

Function at 0x49b814
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403dd4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x49b82d
test al, 0x10
jne 0x49b831
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x49e120
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x49e159
mov eax, dword [0x4bc3c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x49e14c
push ebx
push 0x49e160
call fcn.0042cc38
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x49e180
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e120
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49e1f2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x49e1c6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403b48
jmp 0x49e1cd
mov eax, ebx
call fcn.00403994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e1f9
cmp dword [ebp - 8], 0
je 0x49e1e9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret
Function at 0x49e200
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e2de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e120
xor edx, edx
push ebp
push 0x49e2c1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x49e28a
mov edx, ebx
mov eax, dword [0x416cd8]
call fcn.0041b12c
test al, al
je 0x49e27a
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041b000
call fcn.0040348c
jmp 0x49e2c8
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x49e245
lea edx, [ebp - 8]
mov eax, dword [0x4bc20c]
call fcn.00404c9c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4063e0]
call fcn.00409ab0
call fcn.004033ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e2c8
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e2e5
lea eax, [ebp - 8]
call fcn.00403994
ret

Function at 0x49e2ec
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e120
xor eax, eax
push ebp
push 0x49e344
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e34b
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret

Function at 0x49e354
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e120
xor edx, edx
push ebp
push 0x49e3a9
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e3b0
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret
Function at 0x49e420
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e120
xor eax, eax
push ebp
push 0x49e495
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e0d8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041b100
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x49e47f
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e49c
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret

Function at 0x49e4a4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049e120
xor eax, eax
push ebp
push 0x49e519
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049e0d8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x49e503
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e520
mov eax, dword [ebp - 4]
call fcn.0049e0f4
ret
Function at 0x49f948
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49fadf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f418
mov eax, dword [ebp - 0x204]
lea edx, [esi + 1]
call fcn.0040a318
cmp al, 2
jne 0x49f98e
dec esi
mov eax, ebx
call fcn.0049f72c
test al, al
je 0x49fa7f
test esi, esi
jge 0x49f9a3
xor esi, esi
lea edi, [esi + 1]
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f418
mov eax, dword [ebp - 0x204]
call fcn.00403c10
cmp edi, eax
jge 0x49f9ea
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f418
mov eax, dword [ebp - 0x204]
mov al, byte [eax + edi - 1]
mov edx, dword [0x4bc540]
and eax, 0xff
bt dword [edx], eax
jae 0x49f9ea
inc edi
mov eax, dword [ebx + 0x138]
cmp esi, eax
jl 0x49f9f8
mov esi, eax
mov edi, esi
mov ecx, edi
mov edx, edi
mov eax, ebx
call fcn.0049f924
cmp edi, esi
je 0x49fa77
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x200]
mov byte [eax], 0
inc eax
dec edx
jne 0x49fa1e
mov byte [ebp - 0x1f0], 0x81
mov byte [ebp - 0x1db], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push 0x25
push pe_nt_image_headers32
mov eax, ebx
call fcn.0042644c
push eax
call sub.user32.dll_SendMessageA
push 1
push 0x25
push 0x101
mov eax, ebx
call fcn.0042644c
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
mov dword [ebx + 0x140], esi
jmp 0x49fac6
test esi, esi
jge 0x49fa85
xor esi, esi
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f418
mov eax, dword [ebp - 0x204]
call fcn.00403c10
cmp esi, eax
jl 0x49fabb
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f418
mov eax, dword [ebp - 0x204]
call fcn.00403c10
mov esi, eax
mov ecx, esi
mov edx, esi
mov eax, ebx
call fcn.0049f924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fae6
lea eax, [ebp - 0x204]
call fcn.00403994
ret
Function at 0x4a2b54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x118]
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4a2cda
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x150]
mov eax, dword [ebx + 0x10]
call fcn.004183bc
cmp byte [ebp + 8], 0
je 0x4a2bad
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
call fcn.0041828c
jmp 0x4a2bbb
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
call fcn.0041828c
mov eax, dword [ebx + 0x10]
call fcn.004183b4
dec eax
jle 0x4a2c01
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
call fcn.00418284
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov edi, dword [ebx + 0x10]
mov eax, edi
call fcn.004183b4
push eax
push 0x12200
call sub.gdi32.dll_ExtCreatePen
mov edx, eax
mov eax, edi
call fcn.0041834c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax - 8]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x28]
call dword [ebx + 0x24]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + esi*4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
shr ecx, 1
add edx, ecx
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, esi
xor eax, 1
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov edx, dword [edx + eax*4]
mov dword [ebp - 0x14], edx
add eax, 2
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x18], eax
lea eax, [esi + 2]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea eax, [esi + ebx]
mov edx, dword [ebp - 0xc]
mov dword [edi + eax*4], edx
mov eax, esi
xor eax, 1
mov edx, eax
add edx, ebx
mov ecx, dword [ebp - 0x14]
mov dword [edi + edx*4], ecx
add ebx, 2
lea edx, [esi + ebx]
mov ecx, dword [ebp - 0xc]
mov dword [edi + edx*4], ecx
add eax, ebx
mov edx, dword [ebp - 0x18]
mov dword [edi + eax*4], edx
add ebx, 2
inc dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 0x28]
call dword [ecx + 0x24]
mov edx, dword [ebp - 4]
add eax, dword [edx]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jle 0x4a2c63
shr ebx, 2
push ebx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 0xc]
push eax
push edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
call fcn.00418fe0
push eax
call sub.gdi32.dll_PolyPolyline
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ee80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x662470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x66246c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x662470], edx
cmp eax, 0x26f
jl 0x40ee88
mov dword [0x578000], 0x270
ret

Function at 0x40eec0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x662474]
mov ebx, dword [eax*4 + 0x662470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x662aa4]
mov dword [eax*4 + 0x662470], edx
cmp eax, 0xe2
jl 0x40eec8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x662474]
mov ebx, dword [eax*4 + 0x662470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x6620e4]
mov dword [eax*4 + 0x662470], edx
cmp eax, 0x26e
jl 0x40ef18
mov edx, dword [0x662470]
mov ecx, dword [0x662e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x662aa0]
mov dword [0x662e2c], eax
mov dword [0x578000], 0
pop ebx
ret

Function at 0x40efa0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x578000]
add dword [0x578000], 1
mov eax, dword [0x661020]
cmp eax, dword [0x577750]
jne 0x40efc3
cmp ebx, 0x271
jb 0x40efe4
mov eax, dword [0x661020]
call fcn.0040ee80
not dword [0x661020]
mov eax, dword [0x661020]
mov dword [0x577750], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f000
call fcn.0040eec0
xor ebx, ebx
mov dword [0x578000], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x662470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x410b50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x577490]
cmp ax, 0xcb
je 0x410c5c
cmp ax, 0xcc
je 0x410c5c
lea esi, [esi]
mov edx, dword [0x663070]
test edx, edx
je 0x410b85
mov eax, dword [0x662f20]
call edx
mov ebx, eax
jmp 0x410b8a
mov ebx, 0x662f24
cmp word [0x662f10], 0
jle 0x410bb0
mov eax, 0x662ef0
call fcn.00410e10
mov eax, ebx
call fcn.00410710
mov eax, ebx
call fcn.00410780
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x410bd2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x410bcd
mov edx, edi
mov eax, ebx
call fcn.0040fb80
jmp 0x410bd0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x410bb8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x662f10], 0
jle 0x410c5c
mov edx, 0x662e30
mov eax, ebx
call fcn.0040fcc0
mov edi, eax
test edi, edi
je 0x410c2c
mov eax, dword [0x662ec4]
mov dword [edi + 0xc], eax
cmp dword [0x662ec4], 0
je 0x410c20
mov eax, dword [0x662ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x662ec4], eax
nop
sub word [0x662f10], 1
cmp word [0x662f10], 0
sete bl
mov eax, 0x662ef0
call fcn.00410e30
test bl, bl
je 0x410c5c
mov eax, 0x662ef0
call fcn.00410e00
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x413370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00413350
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41349a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b750
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x4133ff
mov edx, 0x6622f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x413451
call sub.kernel32.dll_GetLastError
call fcn.00404240
lea eax, [ebp - 0x10]
call fcn.0040a330
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a7d0
mov edx, dword [ebp - 0x14]
mov ecx, 0x594364
lea eax, [ebp - 0x10]
call fcn.0040a660
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040b020
jmp 0x4134e8
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x41346a
cmp eax, ecx
je 0x413474
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b750
cmp byte [0x577710], 0
jne 0x4134e8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bcf0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b0b0
lea esi, [esi]
jmp 0x4134e8
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b750
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x4134be
mov eax, 0x6622f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x577710], 0
jne 0x4134e8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bcf0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b0b0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00413350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413900
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x662260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413ae0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x662260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004037b0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x577510], eax
mov ebx, eax
jmp 0x413aa3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413988
cmp byte [ebx], 0
je 0x413aac
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413a03
mov al, byte [ebx]
cmp al, 1
jb 0x4139f8
sub al, 0x20
jbe 0x4139c8
sub al, 2
je 0x4139dc
jmp 0x4139f8
mov al, byte [ebp - 0x114]
test al, al
je 0x413a08
add dword [ebp - 0x110], 1
jmp 0x413a00
cmp byte [ebx + 1], 0x22
je 0x4139f3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413a00
add ebx, 1
jmp 0x413a00
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4139b8
test dword [ebp - 0x10c], 0xffffffff
je 0x413a9c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413ae0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x662260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413a93
mov al, byte [ebx]
cmp al, 1
jb 0x413a88
sub al, 0x20
jbe 0x413a58
sub al, 2
je 0x413a6c
jmp 0x413a88
mov al, byte [ebp - 0x114]
test al, al
je 0x413a98
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413a90
cmp byte [ebx + 1], 0x22
je 0x413a83
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413a90
add ebx, 1
jmp 0x413a90
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413a48
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41398b
mov ebx, dword [ebp - 0x10c]
mov dword [0x662250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x662260
call fcn.00410990
mov eax, dword [0x662260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x427830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x108]
mov dword [ebp - 4], eax
mov dword [ebp - 0x108], 0
xor eax, eax
push fcn.00427820
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
push 1
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
xor cx, cx
mov edx, 0xff
call fcn.00409550
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 4]
call fcn.00449980
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00427820
mov esp, ebp
pop ebp
ret
Function at 0x4278e0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
mov edx, 0x60d7a0
lea eax, [ebp - 0x18]
call fcn.0040e770
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004278c0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, str.Parametr
call fcn.00408b60
mov edx, dword [0x665d00]
lea eax, [ebp - 0x14]
call fcn.00408b60
lea eax, [ebp - 0x10]
mov edx, str.Parametr
call fcn.00408b60
mov edx, dword [0x665d04]
lea eax, [ebp - 0xc]
call fcn.00408b60
mov byte [ebp - 8], 0
add byte [ebp - 8], 1
mov edx, 1
mov eax, 0x65aee8
call fcn.0056e860
mov dword [ebp - 4], eax
xor eax, eax
push fcn.004278b0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x80000001
call fcn.0056e820
mov al, byte [ebp - 8]
cmp al, 1
jl 0x4279b4
sub al, 1
je 0x427990
sub al, 1
je 0x4279a4
jmp 0x4279b4
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
call fcn.0056ea90
jmp 0x4279b4
mov eax, dword [ebp - 4]
mov cl, 1
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
call fcn.0056ea90
nop
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1c]
call fcn.0056ec70
mov eax, dword [ebp - 0x1c]
movzx edx, byte [ebp - 8]
mov edx, dword [ebp + edx*8 - 0x1c]
call fcn.00409720
test eax, eax
je 0x4279f4
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp + eax*8 - 0x1c]
movzx eax, byte [ebp - 8]
mov edx, dword [ebp + eax*8 - 0x20]
mov eax, dword [ebp - 4]
call fcn.0056ee30
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004278b0
cmp byte [ebp - 8], 2
jl 0x427948
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004278c0
mov esp, ebp
pop ebp
ret