joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ad3d8]
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.0040b44f
and dword [ebp - 0x14], 0
cmp dword [0x4b03ac], 0
mov dword [ebp - 0x18], eax
jne 0x411bce
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c76
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x411c76
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x4b03ac], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x4b03b0], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x4b03b4], eax
call edi
push eax
call esi
mov dword [0x4b03bc], eax
test eax, eax
je 0x411bce
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x4b03b8], eax
mov eax, dword [0x4b03b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411c27
cmp dword [0x4b03bc], ecx
je 0x411c27
push eax
call esi
push dword [0x4b03bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411c27
test ebx, ebx
je 0x411c27
call edi
test eax, eax
je 0x411c1e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411c1e
test byte [ebp - 8], 1
jne 0x411c27
or dword [ebp + 0x10], 0x200000
jmp 0x411c5a
mov eax, dword [0x4b03b0]
cmp eax, dword [ebp - 0x18]
je 0x411c5a
push eax
call esi
test eax, eax
je 0x411c5a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c5a
mov eax, dword [0x4b03b4]
cmp eax, dword [ebp - 0x18]
je 0x411c5a
push eax
call esi
test eax, eax
je 0x411c5a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b03ac]
call esi
test eax, eax
je 0x411c76
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086f1
leave
ret
Function at 0x4a83a0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x8350f8], 0x37
jne 0x4a8440
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404138
push 0x404198
push 0x4041b8
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x8350fc]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x4b515c]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x4a8650
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x8350f8]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x4b515c]
cmp eax, ebx
jbe 0x4a8846
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4a8686
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x8350f8], 0x1c
jne 0x4a869d
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [edi + 4]
mov edx, dword [0x4ae700]
mov eax, dword [0x4ae704]
mov esi, dword [edi]
mov ebp, dword [0x4ae708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4ae70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4a86da
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x83407c], ebx
mov eax, dword [esp + 0x18]
add dword [0x83407c], eax
mov edx, dword [0x83407c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x8350f8], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x4a8774
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x8350f8], 0x979
mov dword [0x834080], 0xff6b3619
mov dword [0x834084], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4a87c8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x4a86d8
cmp dword [0x8350f8], 0x8d4
jne 0x4a87ff
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x8350f8], 0x17
jne 0x4a8835
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x4a8680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x406300
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x8102db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045c4
call fcn.00406f61
push 4
mov dword [esp + 0x18], 0
call fcn.00407d20
mov edi, eax
add esp, 4
test edi, edi
je 0x406374
push ebx
call fcn.00406e39
mov dword [edi], eax
call fcn.00406bf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f22
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406368
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f4a
pop ebx
jmp 0x406376
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408791
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813658]
jne 0x40879b
repz ret
jmp fcn.0040d1fc
Function at 0x80ecd0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0xb9b120], 0x37
jne 0x80ed76
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404138
push 0x404190
push 0x4041d0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9b124]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81b184]
mov byte [ecx + esi], al
add esp, 0x80c
ret
Function at 0x80ef90
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9b120]
sub esp, 0x484
push ebx
mov ebx, dword [0x81b184]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x80f186
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jmp 0x80efc6
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [0xb9b120], 0x1c
jne 0x80efdd
lea eax, [esp + 0x44]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [ebx + 4]
mov edx, dword [0x814708]
mov eax, dword [0x81470c]
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x814710]
mov dword [esp + 0x34], edx
mov edx, dword [0x814714]
mov ebx, 0xc6ef3720
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], 0x20
jmp 0x80f022
xor esi, esi
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x38]
lea edx, [ebx + edi]
xor ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [0xb9a0a4], esi
mov eax, dword [esp + 0x1c]
add dword [0xb9a0a4], eax
mov eax, dword [0xb9a0a4]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x40]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
cmp dword [0xb9b120], 0x1be
mov eax, dword [esp + 0x18]
lea ebp, [ebx + eax]
jne 0x80f0b6
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, dword [esp + 0x18]
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0xb9b120], 0x979
mov dword [0xb9a0a8], 0xff6b3619
mov dword [0xb9a0ac], 0xffffffff
jne 0x80f10a
mov edx, dword [esp + 0x3c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea eax, [esp + 0x94]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor esi, ebp
xor eax, esi
sub edi, eax
add ebx, 0x61c88647
dec dword [esp + 0x24]
mov dword [esp + 0x14], eax
jne 0x80f020
cmp dword [0xb9b120], 0x8d4
jne 0x80f13f
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], edx
cmp dword [0xb9b120], 0x17
jne 0x80f175
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x80efc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret
Function at 0x401a88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
pushal
cmp byte [0x404020], 0
jne 0x401a9d
call fcn.004015cb
mov edi, edx
mov dword [ebp - 4], ecx
push edx
push 0
push 0x404b01
push ecx
push edx
push dword [0x4048a0]
call sub.kernel32.dll_ReadFile
pop edx
cmp dword [0x404b01], 0
je 0x401b39
dec dword [0x404b01]
cld
mov ecx, dword [ebp - 4]
mov al, 0xa
repne scasb al, byte es:[edi]
jne 0x401ae2
dec dword [0x404b01]
sub edi, 2
cmp edi, edx
jae 0x401b36
mov edi, edx
jmp 0x401b36
mov edi, edx
add edi, dword [ebp - 4]
dec edi
mov byte [edi], 0
lea eax, [ebp - 8]
push eax
push dword [0x4048a0]
call sub.kernel32.dll_GetConsoleMode
push 0
push dword [0x4048a0]
call sub.kernel32.dll_SetConsoleMode
push 0
push 0x4047a2
push 1
lea eax, [ebp - 0xc]
push eax
push dword [0x4048a0]
call sub.kernel32.dll_ReadFile
mov al, byte [ebp - 0xc]
cmp al, 0xa
jne 0x401b07
push dword [ebp - 8]
push dword [0x4048a0]
call sub.kernel32.dll_SetConsoleMode
jmp 0x401b39
mov byte [edi], 0
popal
mov eax, dword [0x404b01]
leave
ret
Function at 0x40d690
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572d75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x240
push esi
push edi
push 0x27
mov edi, ecx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push str.S29P0bRgAzKRk8iDj0ITFz8MDLDsf5HBkkqHSo
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
call fcn.0042b6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push str.YlQ4wMDIXPeUASqB0xf1EDE
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call fcn.0042b6f0
push 0x104
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x30]
mov ecx, esp
push eax
call fcn.0042c650
lea ecx, [ebp - 0x14]
call fcn.004430f0
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40d77b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x40d7ac
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0
push 0x58a90c
push dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov dword [edi + 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x40d7e2
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d7d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d82d
push ecx
push edx
call fcn.00547d61
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x40d818
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d80e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d82d
push ecx
push edx
call fcn.00547d61
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0054cd4f
int3
Function at 0x410190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573105
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ecx + 0x2c]
push ebx
push esi
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x30]
push 0x17
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
mov dword [ebp - 4], 0
test eax, eax
setne bl
inc ebx
mov dword [ebp - 0x14], ebx
call fcn.0042cbc0
mov ecx, eax
test ecx, ecx
je 0x410319
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
call fcn.0042cbc0
mov ecx, eax
test ecx, ecx
je 0x410323
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x18]
mov edi, 0xc8
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [esi + 0x50]
cmp edi, 0xc8
cmovne edi, ecx
cmp dword [eax + 8], 0
je 0x4102a9
push ebx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4102a9
cmp byte [0x5bbd3b], 0
je 0x4102a9
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetPhysicalCursorPos]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
call fcn.004618f0
test al, al
je 0x4102a9
push ecx
mov ecx, dword [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x18], ebx
lea ecx, [ecx - 0x10]
call fcn.0042c560
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.00416080
mov ebx, dword [ebp - 0x14]
test al, al
je 0x4102a9
cmp edi, 0x1b7740
mov eax, 0x1b7740
cmovne edi, eax
push edi
push 0
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x4102d1
mov ecx, 0xc8
cmp eax, 1
jne 0x410220
mov edi, ecx
jmp 0x410220
mov edx, dword [ebp - 0x20]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4102ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x410306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0042d130
push 0x80004005
call fcn.0042d130
int3
Function at 0x4136d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x573715
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp byte [0x5c16a0], 0
push esi
push edi
mov edi, ecx
jne 0x41374f
mov esi, dword [ebp + 8]
push 8
mov byte [0x5c16a0], 1
call fcn.00547e47
add esp, 4
mov dword [ebp + 8], eax
mov dword [eax], edi
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x422e10
push 0
push 0
call fcn.00553fa9
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x413766
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042b810
cmp dword [ebp - 0x14], 0
jne 0x413761
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0054e90e
push 6
mov dword [ebp - 0x14], 0
call fcn.005310e5
int3
Function at 0x4143b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 4]
mov byte [eax + 0x98], 1
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x3a98
mov dword [esp + 0xc], 0
call fcn.0042b940
mov eax, dword [esi]
mov eax, dword [eax]
mov byte [eax + 0x98], 0
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.0051ece0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41cde0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574795
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x48
push esi
push edi
push 0x27
mov dword [ebp - 0x28], ecx
xorps xmm0, xmm0
push str.a1J5sNDg9OH0AcRMwtRUNwI6wdRsi9KkAErIBw
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
call fcn.0042b6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.WmRNNMSkQDLEUvlFw
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.0042b6f0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
sub esp, 0x18
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 4
mov ecx, esp
mov esi, 3
push eax
call fcn.0042c650
lea ecx, [ebp - 0x1c]
call fcn.004430f0
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x1c]
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41cece
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41cf36
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.0042c650
lea ecx, [ebp - 0x20]
call fcn.004430f0
add esp, 0x18
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41cf20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
test eax, eax
push dword [ebp - 0x18]
mov ecx, 3
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x110], esi
cmp ecx, 8
jb 0x41cf75
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cf6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfc0
push ecx
push edx
call fcn.00547d61
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41cfab
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41cfa1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cfc0
push ecx
push edx
call fcn.00547d61
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054cd4f
int3
Function at 0x41efb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f01f
mov eax, dword [esp + 8]
cmp eax, 3
je 0x41efef
cmp eax, 4
je 0x41efef
cmp eax, 0xb
jne 0x41f01f
cmp dword [esp + 4], 4
jne 0x41f01f
lea eax, [esp + 4]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f01f
mov al, 1
pop esi
add esp, 8
ret 4
xor al, al
pop esi
add esp, 8
ret 4

Function at 0x4226d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574cc5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ecx + 4]
push 4
call fcn.00547e47
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x422de0
push 0
push 0
call fcn.00553fa9
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop esi
test eax, eax
je 0x42274a
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042b810
cmp dword [ebp - 0x14], 0
jne 0x422745
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0054e90e
push 6
mov dword [ebp - 0x14], 0
call fcn.005310e5
int3