joyce8/EMBER2024-capa huggingface dataset:
Function at 0x548c9c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407244
xor eax, eax
push ebp
push 0x548d24
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x23]
xor ecx, ecx
mov edx, 0x1e
call fcn.00404c80
mov dword [ebp - 0x1f], 3
mov word [ebp - 0x13], 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x548d40
mov edx, dword [ebp - 4]
call fcn.00407740
mov eax, dword [ebp - 0x28]
call fcn.004072e8
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x23]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548d2b
lea eax, [ebp - 0x28]
call fcn.0040724c
lea eax, [ebp - 4]
call fcn.0040724c
ret

Function at 0x548e48
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x44c014]
call fcn.0044d218
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x548ea7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0xc]
call fcn.0044d300
xor ecx, ecx
mov edx, 0x548ecc
mov eax, dword [ebp - 0xc]
call fcn.0044d448
mov ecx, dword [ebp - 8]
mov edx, 0x548f5c
mov eax, dword [ebp - 0xc]
call fcn.0044de78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x548eb1
mov eax, dword [ebp - 0xc]
call fcn.00405480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x548f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 6], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x548fea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x104
call fcn.004075e8
push 0xffffffffffffffff
movzx eax, word [ebp - 2]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004072e8
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
jne 0x548fc2
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004072b0
mov eax, dword [ebp - 0xc]
call fcn.004072e8
mov edx, eax
mov eax, dword [ebp - 6]
call fcn.00407418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x548ff1
lea eax, [ebp - 0xc]
call fcn.0040724c
ret
Function at 0x548ff8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x54926d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x569918], 0
xor eax, eax
push ebp
push 0x5491ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x569914]
call fcn.0044d2d0
mov dl, 1
mov eax, dword [0x44c014]
call fcn.0044d218
mov dword [0x569914], eax
lea eax, [ebp - 0x118]
xor ecx, ecx
mov edx, 0x114
call fcn.00404c80
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x5491f5
cmp dword [ebp - 0x114], 6
jae 0x549144
mov edx, 0x80000000
mov eax, dword [0x569914]
call fcn.0044d300
mov edx, 0x549288
mov eax, dword [0x569914]
call fcn.0044e78c
test al, al
je 0x5491f5
mov edx, 0x549288
xor ecx, ecx
mov eax, dword [0x569914]
call fcn.0044d448
test al, al
je 0x5491f5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [0x569914]
call fcn.0044de78
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 4]
call fcn.00413150
mov edx, dword [ebp - 0x11c]
mov eax, 0x5492c4
call fcn.00407cc4
test eax, eax
jle 0x549106
mov byte [0x569918], 1
jmp 0x5491f5
mov edx, dword [ebp - 4]
mov eax, 0x5492ec
call fcn.00407cc4
test eax, eax
jle 0x549123
mov byte [0x569918], 2
jmp 0x5491f5
mov edx, dword [ebp - 4]
mov eax, 0x549310
call fcn.00407cc4
test eax, eax
jle 0x5491f5
mov byte [0x569918], 3
jmp 0x5491f5
mov edx, 0x80000001
mov eax, dword [0x569914]
call fcn.0044d300
mov edx, 0x549330
mov eax, dword [0x569914]
call fcn.0044e78c
test al, al
je 0x5491f5
mov edx, 0x549330
xor ecx, ecx
mov eax, dword [0x569914]
call fcn.0044d448
test al, al
je 0x5491f5
lea ecx, [ebp - 4]
mov edx, 0x5493d8
mov eax, dword [0x569914]
call fcn.0044de78
mov edx, dword [ebp - 4]
mov eax, 0x5493f4
call fcn.00407cc4
test eax, eax
jle 0x5491ab
mov byte [0x569918], 1
jmp 0x5491f5
mov edx, dword [ebp - 4]
mov eax, 0x549410
call fcn.00407cc4
test eax, eax
jle 0x5491c5
mov byte [0x569918], 2
jmp 0x5491f5
mov edx, dword [ebp - 4]
mov eax, 0x54942c
call fcn.00407cc4
test eax, eax
jle 0x5491df
mov byte [0x569918], 3
jmp 0x5491f5
mov eax, dword [ebp - 4]
mov edx, 0x549444
call fcn.00407944
jne 0x5491f5
mov byte [0x569918], 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x549209
cmp byte [0x569918], 1
je 0x54924c
cmp byte [0x569918], 4
je 0x54924c
mov al, byte [0x569918]
sub al, 2
je 0x54922a
dec al
je 0x54923c
jmp 0x54924c
cmp byte [0x569910], 0
jne 0x54924c
mov byte [0x569918], 0
jmp 0x54924c
cmp byte [0x569911], 0
jne 0x54924c
mov byte [0x569918], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x549274
lea eax, [ebp - 0x11c]
call fcn.0040724c
lea eax, [ebp - 4]
call fcn.0040724c
ret
Function at 0x54a0b8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407244
mov eax, dword [ebp - 8]
call fcn.00407244
xor eax, eax
push ebp
push 0x54a1c2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x56991b], 0
jne 0x54a1a7
mov al, byte [0x569910]
xor al, 1
or al, byte [0x56991d]
jne 0x54a1a7
push dword [0x5698fc]
push 0x54a1dc
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407824
mov eax, dword [ebp - 0xc]
call fcn.0041442c
test al, al
je 0x54a13d
mov byte [0x569910], 0
jmp 0x54a1a7
xor eax, eax
push ebp
push 0x54a19d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x56991d], 1
push 1
push 0x54a1f4
push 0x54a218
push dword [ebp - 4]
push 0x54a218
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00407824
mov eax, dword [ebp - 0x10]
call fcn.004072e8
push eax
mov eax, dword [0x569900]
call fcn.004072e8
push eax
push 0x54a21c
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54a1a7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54a1c9
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407254
ret

Function at 0x54b170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404c80
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov eax, dword [0x5633d8]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
call fcn.004072e8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.004072e8
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0xa]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x54b22c
mov eax, dword [0x5633d8]
mov eax, dword [eax]
call fcn.004c5738
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 0x14], 0
je 0x54b20b
cmp dword [ebp - 0x14], 0x103
je 0x54b20b
mov eax, dword [0x5633d8]
mov eax, dword [eax]
call fcn.004c5138
cmp dword [ebp - 0x14], 0x103
jne 0x54b224
mov eax, dword [0x5633d8]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
je 0x54b1d7
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x54b233
mov dword [ebp - 0x10], 0x2b67
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x54b9d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb3c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c4], ebx
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407244
mov eax, dword [ebp - 8]
call fcn.00407244
mov eax, dword [ebp - 0xc]
call fcn.00407244
xor eax, eax
push ebp
push 0x54bbcc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x54bb97
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x4b8]
mov eax, dword [ebp - 0xc]
call fcn.00414800
mov eax, dword [ebp - 0x4b8]
call fcn.004c7e9c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004072e8
push eax
mov ecx, dword [0x566c40]
mov dl, 1
mov eax, dword [0x42e610]
call fcn.0043a414
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x4bc]
mov ecx, 0x54bbe8
mov edx, dword [ebp - 0xc]
call fcn.00407740
mov edx, dword [ebp - 0x4bc]
mov eax, dword [ebp - 0x10]
call fcn.00439d08
mov eax, dword [ebp - 0x10]
call fcn.00405480
lea eax, [ebp - 0x4c0]
mov ecx, 0x54bbe8
mov edx, dword [ebp - 0xc]
call fcn.00407740
mov edx, dword [ebp - 0x4c0]
lea eax, [ebp - 0x264]
call fcn.00404a2c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x4b4]
call fcn.00404a2c
mov edx, 1
lea eax, [ebp - 0x264]
call fcn.00404e70
call fcn.004043c4
mov edx, 1
lea eax, [ebp - 0x4b4]
call fcn.00404e8c
call fcn.004043c4
jmp 0x54bb35
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x264]
call fcn.00404d1c
call fcn.004043c4
mov al, byte [ebp - 0x11]
sub al, 3
not al
mov byte [ebp - 0x11], al
lea edx, [ebp - 0x11]
lea eax, [ebp - 0x4b4]
call fcn.00404f9c
call fcn.004043c4
mov eax, dword [0x5633d8]
mov eax, dword [eax]
call fcn.004c5738
lea eax, [ebp - 0x264]
call fcn.00404bc8
call fcn.004043c4
test al, al
je 0x54baf9
lea eax, [ebp - 0x264]
call fcn.00404ae4
call fcn.004043c4
lea eax, [ebp - 0x4b4]
call fcn.00404ae4
call fcn.004043c4
lea eax, [ebp - 0x4c4]
mov ecx, 0x54bbe8
mov edx, dword [ebp - 0xc]
call fcn.00407740
mov eax, dword [ebp - 0x4c4]
call fcn.004072e8
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54bba1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bbd3
lea eax, [ebp - 0x4c4]
mov edx, 4
call fcn.00407254
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407254
ret
Function at 0x43ef74
Capabilities:
Encode data using xor

Disassembly:
push eax
mov eax, dword [0xef6016b6]
add bh, byte [esi + 0x16]
pop eax
cmp eax, 0xec7ea10d
cmp eax, 0xc9d4518a
mov eax, dword [0x8a3dec7e]
push ecx
aam 0xc9
sbb edx, dword cs:[ecx]
and esp, dword [edx + 0x118eb010]
push ss
xor al, byte [esi + 0x40]
sbb dl, byte [edi - 0x17]
add dword [esi + ecx + 0x12a32501], edx
inc ebp
pop esi
jbe 0x43ef80
test dword [ecx], esi
jg 0x43ef85
pop esi
mov dl, 0x3f
mov word [eax + 0x15], gs
sti
jns 0x43efaa
jo 0x43efd3
add ecx, dword [edi]
fistp dword [ebp + 0x11]
inc ebp
push eax
cmp al, 0xd5
and bl, ch
push edx
or eax, 0x5e0fc7fa
sbb esi, dword [edx + 0xa]
cmpsb byte [esi], byte es:[edi]
mov cl, 0x49
pop esp
inc ebp
cmp byte [ecx + 0xe], ah
xchg ecx, eax
or esp, eax
sub al, 0xf0
add ch, byte ds:[edi]
cmp byte [esi + edi + 0x632d3d2a], ah
xchg ebp, eax
xor eax, 0xb49d9a36
sbb esi, dword [edi + 0x53cc0059]
push ss
cmp eax, 0x53e1d7e
loopne 0x43f03c
leave
pop ds
jp 0x43f065
jmp dword [edx + 0x28bb3fd6]
mov dh, 0xbe
push ds
sub al, 0x29
or cl, dh
rcl eax, 1
xor eax, 0x7ee02f23
push ecx
sbb eax, edx
fist dword [ecx - 0x7bd7ef0]
dec ebp
test bl, cl
add dl, cl
inc edx
sub byte [ecx + 0x2b], bl
or eax, dword [eax - 0x309b68e8]
mov ecx, 0x884ad34d
xchg edi, eax
iretd
dec ebp
ror dword [edx - 0x78], cl
bound eax, qword [edi - 0x2d176be0]
push eax
insd dword es:[edi], dx
scasb al, byte es:[edi]
je 0x43f061
lahf
dec eax
invalid

Function at 0x44b8d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xb0
mov al, byte [0x65e049]
mov cl, byte [0x65e048]
xor cl, al
push esi
mov byte [0x65e048], cl
mov cl, byte [0x65e043]
or cl, 8
mov esi, dword [esp + 0xb8]
shr cl, 3
and ecx, 0xff
push 0x11
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x661970]
fadd qword [0x65e050]
fstp qword [0x661960]
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44b936
or dword [esi], 0x4000000
mov al, byte [0x65e046]
mov cl, byte [0x65e045]
xor al, cl
mov byte [0x65e046], al
or al, 0x30
shr al, 4
and eax, 0xff
mov dword [esp + 4], eax
fild dword [esp + 4]
fdivr qword [0x6619d0]
fstp qword [0x661960]
fld qword [0x65e050]
fadd qword [0x661970]
fstp qword [0x661970]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.0044b810
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
mov eax, esi
pop esi
add esp, 0xb0
ret

Function at 0x45557b
Capabilities:
Encode data using xor

Disassembly:
inc ecx
or dh, byte [eax - 0x70]
mov dh, 0x1b
add cl, byte [eax + 1]
pop ds
mov ebx, 0x8b23596b
mov al, dh
aaa
fistp dword [eax]
cmpsd dword [esi], dword es:[edi]
xor dh, byte [esi + 0x5e]
in al, dx
push 0x18c9e980
adc byte [ecx - 0x5e8be5af], al
sti
invalid

Function at 0x489914
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
cwde
push 0xbb5cde0f
push 0x209b0650
shr byte [ecx], 0xea
add ebp, eax
and ecx, esi
cdq
sbb bh, cl
invalid
Function at 0x657e8d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65e3a8
cmp edx, dword [eax]
je 0x657eaf
add eax, 8
inc ecx
cmp eax, 0x65e438
jl 0x657ea0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65e3a8]
jne 0x657fdd
mov eax, dword [0xa5ae04]
cmp eax, 1
je 0x657fb7
test eax, eax
jne 0x657ee0
cmp dword [0x65e2d4], 1
je 0x657fb7
cmp edx, 0xfc
je 0x657fdd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657f17
lea eax, [ebp - 0x1a4]
push 0x65d500
push eax
call fcn.00658870
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658d00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657f5a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658d00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65d4fc
push edi
call fcn.0065abd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65d4e0
push eax
call fcn.00658870
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658880
lea eax, [ebp - 0xa0]
push 0x65d4dc
push eax
call fcn.00658880
push dword [esi + 0x65e3ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658880
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65d4b4
push eax
call fcn.0065ab44
add esp, 0x2c
pop edi
jmp 0x657fdd
lea eax, [ebp + 8]
lea esi, [esi + 0x65e3ac]
push 0
push eax
push dword [esi]
call fcn.00658d00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001b9ee
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001b29a

Function at 0x1001b9f9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001b4d5

Function at 0x1002aebb
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002acf9
Function at 0x10075cd0
Capabilities:
Allocate or change rwx memory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1018e7e8]
mov edx, ecx
mov dword [ebp - 4], edx
push esi
mov esi, dword [0x101a5624]
push edi
sub eax, 1
je 0x10075d02
movzx eax, word [0x1018e7c4]
imul eax, eax, 0xe9b7
sub eax, dword [0x1018e810]
jmp 0x10075d19
movzx ecx, word [0x1018e7c4]
mov eax, dword [0x1018e810]
add ecx, dword [0x1018e814]
add eax, 0xffffffbe
add eax, ecx
mov dword [0x1018e810], eax
mov eax, 0xffe7
push 0x7d1
movzx edi, dx
push 0x101a5630
sub eax, edi
mov dword [0x1019025c], esi
push 0
mov dword [ebp - 8], edi
mov word [0x1018e7c4], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, 0x78
mov esi, eax
sub cl, byte [0x1018e7c6]
mov al, cl
mov byte [0x1018e7c6], cl
movzx edx, cl
movzx ecx, al
cmp word [0x1018e842], cx
ja 0x10075d87
movzx ecx, al
mov eax, dword [0x1018e810]
add ecx, esi
add eax, 0xffffff63
mov word [0x1018e820], si
add eax, ecx
mov dword [0x1018e810], eax
lea eax, [edx + 6]
add word [0x1018e7c4], ax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x507b
push dword [0x1019025c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [0x1018e7e8], 0x1664
mov edx, 0x2d00
mov eax, dword [0x1018e814]
cmove eax, dword [0x1018e810]
add dx, word [0x1018e7c4]
mov dword [0x1018e814], eax
add dx, dx
movzx eax, byte [0x1018e7c6]
sub dx, ax
movzx eax, byte [0x1018e7c6]
movzx edx, dx
cmp dword [0x1018e814], eax
ja 0x10075e09
mov ecx, dword [0x1018e810]
add eax, esi
add ecx, 0xffffff63
mov dword [str.WWHK9], esi
add eax, ecx
mov dword [0x1018e810], eax
imul eax, edi, 0x1649
mov ecx, esi
sub ecx, eax
sub ecx, edx
mov edx, dword [0x1018e7f4]
add ecx, 0x19
mov word [0x1018e7c4], cx
mov ecx, 0x1018e7dc
nop word [eax + eax]
cmp esi, edx
je 0x10075e54
sub esi, dword [ecx]
lea eax, [edi + 2]
add eax, esi
mov word [0x1018e7c4], ax
cmp esi, dword [0x1018e7ec]
je 0x10075e54
add ecx, 4
cmp ecx, 0x1018e870
jl 0x10075e30
push 0x1018fba0
push 0x7d1
mov byte [0x1018e7c6], 0x85
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov esi, dword [ebp - 4]
mov edx, 0x1018e85c
mov di, word [0x1018e7c4]
nop word [eax + eax]
cmp eax, dword [0x1018e7ec]
je 0x10075ea6
add dword [edx], esi
sub edx, 8
movzx ecx, di
lea eax, [ecx + esi]
lea eax, [eax*2 + 0x5a78]
sub eax, ecx
add eax, esi
cmp edx, 0x1018e7d8
jg 0x10075e80
push dword [0x1019025c]
mov dx, word [0x1018e7c4]
mov ecx, 0x1018e7dc
mov edi, dword [ebp - 8]
nop dword [eax + eax]
cmp eax, dword [0x1018e7f4]
je 0x10075ee2
sub eax, dword [ecx]
lea edx, [edi + 2]
add edx, eax
cmp eax, dword [0x1018e7ec]
je 0x10075ee2
add ecx, 4
cmp ecx, 0x1018e870
jl 0x10075ec0
movzx eax, ax
mov dword [ebp - 8], eax
sub ax, dx
add ax, di
cmp dword [0x1018e7e8], 0x1664
movzx ecx, ax
mov word [0x1018e7c4], ax
lea edx, [ecx + 0x4a]
jne 0x10075f12
mov eax, dword [ebp - 8]
mov word [0x1018e7c4], ax
movzx ecx, ax
mov al, 0x78
sub al, dl
mov byte [0x1018e7c6], al
movzx eax, cx
lea ecx, [esi + 0x3c]
add ecx, eax
ret
Function at 0x401270
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20119
push 0
push ecx
push 0x80000002
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401336
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x40132a
cmp dword [ebp - 0xc], 1
mov ecx, edi
mov eax, 0xd
cmovne esi, eax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4012d0
sub ecx, edx
sar ecx, 1
jne 0x4012f7
push dword [ebp - 4]
mov esi, 0xd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401300
sub ecx, edx
sar ecx, 1
cmp word [edi + ecx*2 - 2], 0x5c
je 0x40132a
push 0x42fea8
push 0x200
push edi
call fcn.0041c596
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4020c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x4020f2
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
sub esp, 0xc
call fcn.00402470
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x40216d
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x402113
push 0
mov dword [ecx], 1
call fcn.00402aa0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x18
cmp eax, 3
jne 0x40212e
push 1
call fcn.00402aa0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x18
cmp eax, 5
jne 0x40214e
cmp dword [ecx], 0
je 0x402164
push 0
call fcn.00402aa0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x18
cmp eax, 0x18
jne 0x40216d
cmp dword [ebp + 0x10], 1
je 0x402164
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 0x18
Function at 0x402aa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [0x43b00c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov edi, ecx
mov esi, edi
neg esi
lea eax, [edi - 0x3b8]
sbb esi, esi
and esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402ba9
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402ba9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x402b9e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x402b9e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x402b9e
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00402bc0
push 1
push 0xffffffffffffffeb
push dword [edi + 8]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp + 8], 0
lea eax, [esp + 0x10]
je 0x402b71
push 1
push eax
lea ecx, [edi + 8]
call fcn.00402c90
push 0
push 0xffffffffffffffeb
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00416148
mov esp, ebp
pop ebp
ret 4
push ecx
push eax
push dword [esi + 4]
lea ecx, [edi + 8]
call fcn.00402c60
push 0
push 0xffffffffffffffeb
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00416148
mov esp, ebp
pop ebp
ret 4
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.00416148
mov esp, ebp
pop ebp
ret 4

Function at 0x403650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4036c1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40368f
cmp eax, 2
jne 0x4036ab
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4036bb
test ecx, ecx
je 0x4036b6
test cl, 1
jne 0x4036ab
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4036bb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc