joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a780
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59747b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov edi, 0xf
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x40], ebx
mov dword [esi], vtable.Download.0
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebx
mov dword [esp + 0x38], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x98], edi
mov dword [esi + 0x94], ebx
mov byte [esi + 0x84], bl
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xa0], bl
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], ebx
mov byte [esi + 0xbc], bl
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xf8], edi
mov dword [esi + 0xf4], ebx
mov byte [esi + 0xe4], bl
mov byte [esi + 0xfc], bl
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], ebx
mov byte [esi + 0x104], bl
mov eax, dword [esp + 0x40]
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x128], eax
mov dword [esi + 0x144], edi
mov dword [esi + 0x140], ebx
mov byte [esi + 0x130], bl
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
lea ecx, [esi + 0x154]
mov byte [esp + 0x38], 9
call fcn.0040bbb0
mov dword [esi + 0x188], edi
mov dword [esi + 0x184], ebx
mov byte [esi + 0x174], bl
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x18c], ecx
mov dword [esi + 0x190], edx
mov dword [esi + 0x194], 0xffffffff
mov byte [esp + 0x38], 0xb
cmp dword [0x6187a8], ebx
jne 0x43a920
call fcn.00466360
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00463ee0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x618794
mov byte [esp + 0x44], 0xc
call fcn.0040b880
cmp dword [esp + 0x2c], 0x10
jb 0x43a920
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x43ab50
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5974ae
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x18c], 0
je 0x43ac92
xor edi, edi
cmp byte [esi + 0x20], 0
je 0x43ac92
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00439ff0
test al, al
jne 0x43abb7
cmp edi, dword [esi + 0x18c]
jge 0x43abb7
push 0x64
add edi, 0x64
call ebx
cmp byte [esi + 0x20], 0
jne 0x43ab97
cmp byte [esi + 0x20], 0
je 0x43ac92
cmp byte [esi + 0xfc], 0
je 0x43ac87
cmp dword [esi + 0xf4], 0
setne al
test al, al
jne 0x43ac92
mov eax, dword [esi + 0x18c]
cmp edi, eax
jl 0x43ac92
cdq
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0040ec70
push eax
lea ecx, [esp + 0x3c]
push str.disconnected_by_timeout
push ecx
mov dword [esp + 0x84], 0
call fcn.0040c620
push 0x5a35b8
push eax
lea edx, [esp + 0x30]
mov bl, 1
push edx
mov byte [esp + 0x90], bl
call fcn.0040c6e0
add esp, 0x24
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x78], 2
call fcn.0040b880
lea ecx, [esp + 0x10]
call fcn.0040b300
lea ecx, [esp + 0x2c]
call fcn.0040b300
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0040b300
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
mov byte [esi + 0x21], bl
call edx
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jmp 0x43abda
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x60
ret

Function at 0x43b9a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x140], 0
je 0x43b9cd
push edi
lea edi, [esi + 0x12c]
push edi
call fcn.0043dd00
add esp, 4
test al, al
je 0x43b9cc
push 1
push edi
call fcn.0043e650
add esp, 8
pop edi
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x43acb0
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x18c], 0
mov dword [esi + 0x150], eax
jne 0x43ba00
cmp dword [esi + 0x190], 0
je 0x43ba07
mov ecx, esi
call fcn.0043bef0
pop esi
pop ecx
ret
Function at 0x43c120
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
lea ecx, [esi + 0xe0]
mov byte [esi + 0xfc], 1
mov byte [esi + 0x21], 0
mov dword [esi + 0x124], 0
call fcn.00418ae0
lea ecx, [esi + 0x24]
call fcn.00418ae0
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x100]
call fcn.0040b880
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 0
je 0x43c17a
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x12c]
call fcn.0040b880
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0043a070
cmp dword [esi + 0x140], 0
je 0x43c1af
push edi
lea edi, [esi + 0x12c]
push edi
call fcn.0043dd00
add esp, 4
test al, al
je 0x43c1ae
push 1
push edi
call fcn.0043e650
add esp, 8
pop edi
lea edx, [esp + 4]
push edx
push 0
push esi
push 0x43b800
push 0
push 0
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [esi + 0x18c], 0
mov dword [esi + 0x150], eax
jne 0x43c1e2
cmp dword [esi + 0x190], 0
je 0x43c1e9
mov ecx, esi
call fcn.0043bef0
mov al, 1
pop esi
pop ecx
ret 0xc

Function at 0x43cfc0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa00
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x9fc], eax
push esi
push edi
push 0
push 2
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x43d0dc
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43d0dc
push 0x3e8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x23c]
push edx
call sub.MSVCR90.dll_wcstombs
mov esi, dword [esp + 0xa18]
add esp, 0xc
mov ecx, esi
lea eax, [esp + 0x234]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43d050
test dl, dl
je 0x43d04c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43d050
add eax, 2
add ecx, 2
test dl, dl
jne 0x43d030
xor eax, eax
jmp 0x43d055
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43d072
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x9fc]
xor ecx, esp
call fcn.0058ecc6
add esp, 0xa00
ret
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x43d0dc
push 0x3e8
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x624]
push edx
call sub.MSVCR90.dll_wcstombs
add esp, 0xc
mov ecx, esi
lea eax, [esp + 0x61c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43d0c4
test dl, dl
je 0x43d0c0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43d0c4
add eax, 2
add ecx, 2
test dl, dl
jne 0x43d0a4
xor eax, eax
jmp 0x43d0c9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43d059
lea eax, [esp + 8]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43d081
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa04]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0058ecc6
add esp, 0xa00
ret
Function at 0x43d1e0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 8], 0
je 0x43d22c
push esi
mov esi, dword [esp + 8]
push edi
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call edi
pop edi
pop esi
ret
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x43d5e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x10014
call fcn.0058ee00
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x10010], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10024]
push edi
mov edi, dword [esp + 0x1002c]
push 0x208
push 0
mov dword [esp + 0x20], 0x104
call sub.MSVCR90.dll_realloc
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.0043d560
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push connect
push ebx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x43d66a
test ebx, ebx
je 0x43d663
push ebx
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
jmp 0x43d72a
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.0043d560
mov edi, dword [esp + 0x1c]
add esp, 8
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push edi
call esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d6b0
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43d663
push edi
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
jmp 0x43d72a
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x14]
push edx
push 0xffff
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test bl, bl
je 0x43d700
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43d70b
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call edi
test eax, eax
mov eax, dword [esp + 0x1c]
setne bl
cmp eax, dword [esp + 0x10]
je 0x43d700
xor bl, bl
cmp dword [esp + 0x10], 0
je 0x43d70b
test bl, bl
jne 0x43d6b6
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebp
push esi
call ebp
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43d728
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x10020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0058ecc6
add esp, 0x10014
ret
Function at 0x43d750
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.0043d560
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43d7e5
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.0043d560
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add esp, 8
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push esi
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43d7f9
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43d7f2
push esi
call sub.MSVCR90.dll_free
add esp, 4
xor eax, eax
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 4]
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0xc]
test esi, esi
je 0x43d816
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x43d820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
push ebx
push esi
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0043d560
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 8]
push edx
push 0x20019
push ebx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43d877
cmp esi, ebx
je 0x43d86d
push esi
call sub.MSVCR90.dll_free
add esp, 4
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0x14
ret
mov edx, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.0043d560
push 0x800
push ebx
call sub.MSVCR90.dll_realloc
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
add esp, 0x10
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x28], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43d8ef
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x43d8d7
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp edi, ebx
je 0x43d8e4
push edi
call sub.MSVCR90.dll_free
add esp, 4
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
push esi
call sub.MSVCR90.dll_free
add esp, 4
test edi, edi
je 0x43d916
push edi
call sub.MSVCR90.dll_free
add esp, 4
mov edx, ebp
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0x43d930
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0043d560
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0
push 2
push 0
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43d992
test esi, esi
je 0x43d98b
push esi
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x20]
push ebx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0043d560
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add esp, 8
push 4
lea ecx, [esp + 0x2c]
push ecx
push 4
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [esp + 8]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43d9dd
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov al, bl
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x43d9f0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x18
mov ecx, dword [esp + 0x20]
push ebp
push esi
lea eax, [esp + 0x10]
push eax
xor ebp, ebp
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.0043d560
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add esp, 8
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push ebp
push 2
push ebp
push ebp
push ebp
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43da4a
cmp esi, ebp
je 0x43da42
push esi
call sub.MSVCR90.dll_free
add esp, 4
pop esi
xor al, al
pop ebp
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
push ebx
push edi
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0043d560
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call fcn.0043d560
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [eax + eax]
push ecx
push esi
push 1
push ebp
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [esp + 0x10]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
je 0x43dab2
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp edi, ebp
je 0x43dabf
push edi
call sub.MSVCR90.dll_free
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x43dad0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x597858
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43db91
push 0x7d0
push eax
mov dword [esp + 0x24], 0x3e8
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push 0x3e8
push esi
push 0
push ecx
mov dword [esp + 0x38], 0
call edi
test eax, eax
jne 0x43db79
mov edx, dword [esp + 0x14]
push esi
push edx
call fcn.0043dad0
add esp, 8
test al, al
je 0x43dbb2
mov eax, dword [esp + 0x14]
push 0x3e8
push esi
push 0
push eax
call edi
test eax, eax
je 0x43db54
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43db91
push esi
call sub.MSVCR90.dll_free
add esp, 4
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test esi, esi
je 0x43dbbf
push esi
call sub.MSVCR90.dll_free
add esp, 4
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

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

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
push ebx
push esi
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.0043d560
mov esi, dword [esp + 0x10]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
test esi, esi
je 0x43dd45
push esi
call sub.MSVCR90.dll_free
add esp, 4
pop esi
mov al, bl
pop ebx
add esp, 8
ret
Function at 0x43dd50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x4c
mov ecx, dword [esp + 0x50]
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.0043d560
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0043d560
push 0x3c
lea ecx, [esp + 0x30]
push edi
push ecx
call sub.MSVCR90.dll_memset
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
add esp, 0x1c
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], 0x44c
mov dword [esp + 0x2c], 0x5a2f34
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43ddfe
push ebp
mov ebp, dword [esp + 0x58]
cmp esi, edi
je 0x43dde7
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp ebx, edi
je 0x43ddf4
push ebx
call sub.MSVCR90.dll_free
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x4c
ret
cmp esi, edi
je 0x43de0b
push esi
call sub.MSVCR90.dll_free
add esp, 4
cmp ebx, edi
je 0x43de18
push ebx
call sub.MSVCR90.dll_free
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x4c
ret

Function at 0x43dea0
Capabilities:
Query service status

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x34]
push ebx
push edi
lea eax, [esp + 0xc]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.0043d560
add esp, 8
push 4
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
jne 0x43deea
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x43dee2
push eax
call sub.MSVCR90.dll_free
add esp, 4
pop edi
xor al, al
pop ebx
add esp, 0x30
ret
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 4
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x43df0b
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp ebp, ebx
jmp 0x43df33
lea edx, [esp + 0x10]
push edx
push 0x24
lea eax, [esp + 0x24]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
test ebx, ebx
jne 0x43df48
test ebp, ebp
je 0x43df3e
push ebp
call sub.MSVCR90.dll_free
add esp, 4
pop esi
pop ebp
pop edi
xor al, al
pop ebx
add esp, 0x30
ret
cmp dword [esp + 0x20], 4
sete bl
test ebp, ebp
je 0x43df5d
push ebp
call sub.MSVCR90.dll_free
add esp, 4
pop esi
pop ebp
pop edi
mov al, bl
pop ebx
add esp, 0x30
ret
Function at 0x43eb30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x597973
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
test byte [0x620780], 1
jne 0x43eb8c
or dword [0x620780], 1
push 0x59db80
mov dword [0x62077c], 0xf
mov dword [0x620778], 0
mov byte [0x620768], 0
call fcn.0058effd
add esp, 4
cmp dword [0x620778], 0
jne 0x43ec0a
push 0x208
push 0
mov dword [esp + 0x14], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
push 1
push 0x28
push esi
push 0
mov dword [esp + 0x44], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0043e5b0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x620764
mov byte [esp + 0x40], 1
call fcn.0040b880
cmp dword [esp + 0x28], 0x10
jb 0x43ebfd
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
je 0x43ec0a
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620764
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret

Function at 0x43ec20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5979a6
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
mov eax, dword [0x6204e0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
test byte [0x6207a0], 1
jne 0x43ec7a
or dword [0x6207a0], 1
push 0x59dbb0
mov dword [0x62079c], 0xf
mov dword [0x620798], ebx
mov byte [0x620788], bl
call fcn.0058effd
add esp, 4
cmp dword [0x620798], ebx
jne 0x43ed2d
push 0x208
push ebx
mov dword [esp + 0x18], 0x104
call sub.MSVCR90.dll_realloc
mov esi, eax
add esp, 8
mov dword [esp + 0xc], esi
push 1
push 0x1c
push esi
push ebx
mov dword [esp + 0x64], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043e5b0
push str.Media_Get_LLCMediaGet2_
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x68], 1
call fcn.0040c6e0
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x620784
mov byte [esp + 0x60], 2
call fcn.0040b880
cmp dword [esp + 0x2c], 0x10
jb 0x43ecfc
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jb 0x43ed20
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp esi, ebx
je 0x43ed2d
push esi
call sub.MSVCR90.dll_free
add esp, 4
mov eax, 0x620784
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x4c
ret