joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4510b0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x4510cc
cmp dword [esi + 4], 0
je 0x4510f9
test byte [ebx + 0x55], 1
jne 0x4510eb
mov eax, ebx
call fcn.0044f498
test eax, eax
jne 0x4510eb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x451209
mov edx, esi
mov eax, ebx
call fcn.00450ab8
jmp 0x451209
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x451202
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453108
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0044c7b0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004510b0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00453108
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451209
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458518
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a1048]
cmp byte [eax + 0xc], 0
je 0x458685
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45867e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a557c], 0
jne 0x45856c
push 0x45868c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x458694
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a557c], eax
cmp dword [0x497808], 0
jne 0x458667
push 0x4586a4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x497808], eax
cmp dword [0x497808], 0
je 0x458667
push 0x4586b0
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5580], eax
push 0x4586c0
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5584], eax
push 0x4586d4
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5588], eax
push 0x4586ec
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a558c], eax
push 0x458704
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5590], eax
push 0x458718
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5594], eax
push 0x458730
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a5598], eax
push 0x458748
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a559c], eax
push 0x458764
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a55a0], eax
push 0x458770
mov eax, dword [0x497808]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a55a4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458685
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45e25c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45e2b0]
test si, 4
je 0x45e271
or bl, 1
test si, 8
je 0x45e27b
or bl, 4
test si, 1
je 0x45e285
or bl, 8
test si, 2
je 0x45e28f
or bl, 0x10
test si, 0x10
je 0x45e299
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e2a8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e2b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45e2f0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e2ce
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45e2dd
or bl, 4
test esi, 0x20000000
je 0x45e2e8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4659a4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4659b6
add esp, 0xfffffff0
call fcn.0040435c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004228b8
mov eax, dword [0x4a0c54]
mov dword [eax + 4], ebx
mov dword [eax], 0x465d48
mov eax, dword [0x4a0c64]
mov dword [eax + 4], ebx
mov dword [eax], 0x465d54
mov eax, ebx
call fcn.00465d60
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x4617f8
push eax
push 0
push 0
mov eax, dword [0x4a0dec]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4266a8]
call fcn.00427efc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4266a8]
call fcn.00427efc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4266a8]
call fcn.00427efc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004661d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4660a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4660a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4660a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465af3
call fcn.004043b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x465e8c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466037
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x466018
mov dl, 1
mov eax, dword [0x417a90]
call fcn.00403fc8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e64
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466007
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00458874
test al, al
je 0x465ffa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x466048
lea eax, [ebp - 0x254]
call fcn.0040a1e4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465ffa
xor eax, eax
push ebp
push 0x465ff3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x466080
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465fdc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x465fdc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004050d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ffa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x465efd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c308
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46603e
lea eax, [ebp - 0x260]
call fcn.00404e64
ret

Function at 0x4669b0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a55b4]
cmp byte [eax + 0xad], 0
jne 0x466a21
cmp dword [0x4a55cc], 0
jne 0x4669e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46696c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a55cc], eax
cmp dword [0x4a55c8], 0
jne 0x4669fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a55c8], eax
cmp dword [0x4a55d0], 0
jne 0x466a21
push esp
push 0
push 0
push 0x466910
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a55d0], eax
pop edx
ret
Function at 0x466c24
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466c3b
add esp, 0xfffffff0
call fcn.0040435c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004228b8
mov eax, dword [0x4a0dc8]
cmp word [eax + 2], 0
jne 0x466c63
mov eax, dword [0x4a0dc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004686ec
mov eax, dword [0x4a0ea8]
cmp word [eax + 2], 0
jne 0x466c7d
mov eax, dword [0x4a0ea8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004688f8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417424]
call fcn.00403fc8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4271b8]
call fcn.0042eaa0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466e34
mov eax, dword [0x4a0cc4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ee74
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x468fb8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a0cc4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dab4
test eax, eax
je 0x466d84
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409b88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dae8
test eax, eax
je 0x466d98
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004050d4
mov byte [ebx + 0xd4], 0
push ebx
push 0x468234
call fcn.00423a34
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a0b74]
cmp byte [eax], 0
jne 0x466de9
mov eax, ebx
call fcn.00466f78
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00469194
mov eax, ebx
call fcn.00469cf4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466e29
call fcn.004043b4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4671f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a55b4]
cmp dword [eax + 0x30], 0
je 0x4672a2
cmp dword [ebx + 0x94], 0
jne 0x46729c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467188
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46729c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x467262
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46729c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419d48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467271
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x467fbc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x467ff1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f54
jmp 0x467ffe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404eb8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469378
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4693e6
mov eax, esi
call fcn.004534a8
test al, al
je 0x4693e6
mov eax, dword [ebx + 0x84]
call fcn.00453108
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4693e6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4693da
push 0
mov eax, dword [ebx + 0x84]
call fcn.00453108
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044b418
jmp 0x4693e6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004691b4
pop esi
pop ebx
ret

Function at 0x488398
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4a564c], 0
jne 0x4883bb
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48830c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a564c], eax
ret
Function at 0x1000b6d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000b6f4
xor eax, eax
jmp 0x1000b774
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000b70b
xor eax, eax
jmp 0x1000b774
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x1000b757
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x1000b757
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x1000b72e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x1000b763
xor eax, eax
jmp 0x1000b774
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x1000b771
xor eax, eax
jmp 0x1000b774
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000ec70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040adb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1005400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10029400
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [0x10054ecc]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.utilsTool.exe
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.10017690
add esp, 4
test eax, eax
jne 0x1000ed16
xor eax, eax
jmp 0x1000edc7
lea ecx, [ebp - 0x21c]
call fcn.1000d690
mov dword [ebp - 4], 0
push str.RunConfigCenter
push str.pluginCfgProviderEx.dll
push str.__dll_s___entry_s
lea ecx, [ebp - 0x21c]
push ecx
call fcn.1000e1a0
add esp, 0x10
push 1
push 0
lea ecx, [ebp - 0x21c]
call fcn.10009080
push eax
lea edx, [ebp - 0x218]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
push eax
push str.Start_configcenter_by_rundll._hRet_d
call fcn.1000f5b0
add esp, 8
cmp dword [ebp - 0x220], 0x20
jbe 0x1000ed99
mov dword [ebp - 0x224], 1
jmp 0x1000eda3
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10008bc0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001867a
mov esp, ebp
pop ebp
ret
Function at 0x10010830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x1005400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x62c]
push 1
push eax
call fcn.10027df0
add esp, 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push 0x10046b7c
push dword [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10029400
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ConfigCenter.log.on
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x208
mov dword [0x10054f00], eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10029400
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str._cfgcenter.log
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10010930
sub eax, edx
lea ecx, [edi + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000b4d0
mov edx, dword [ebp - 0x62c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010974
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001867a
mov esp, ebp
pop ebp
ret
Function at 0x10010c20
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x10010c84
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x10010c76
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10010c76
push edx
call fcn.10009ac0
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x10010c6f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x10010c83
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.1000b4d0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10010cea
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x10010cea
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10010cd1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x10010cea
jg 0x10010ce2
cmp dword [ebp - 8], 0x40000000
jbe 0x10010cea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x10010f30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x10010f54
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x10010fc0
push 0
push 0
call fcn.1002da78
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x10012530
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 1
mov eax, dword [esi + 0x1c]
push 1
push 0
push 0
push 0xcf0000
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xe0], eax
test eax, eax
jne 0x10012568
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x10012590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1001269a
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100125b6
xor ecx, ecx
jmp 0x100125d0
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100125c0
sub ecx, ebx
sar ecx, 1
pop ebx
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000b4d0
mov edi, dword [ebp + 8]
test edi, edi
je 0x100125fe
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100125e6
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1000b4d0
push dword [0x10054f4c]
mov ecx, esi
call fcn.100124b0
test ax, ax
jne 0x10012625
push 0x10046c5c
call fcn.1000f5b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push dword [0x10054f4c]
mov ecx, esi
call fcn.10012530
test eax, eax
jne 0x1001264b
push 0x10046c6c
call fcn.1000f5b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [esi + 0x78], 0
mov dword [esi + 0x20], eax
jne 0x10012675
push 0
push 0
push esi
push 0x10013270
push 0
push 0
call fcn.1002da78
add esp, 0x18
mov dword [esi + 0x78], eax
cmp dword [esi + 0xd8], 0
jne 0x1001269a
push 0
push 0
push esi
push 0x10012870
push 0
push 0
call fcn.1002da78
add esp, 0x18
mov dword [esi + 0xd8], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8