joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431460
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
call fcn.00432830
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], str.package
jb 0x431492
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x10], esi
jb 0x43149d
mov edi, dword [edi]
push 0xa0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc], edi
push 0
push eax
mov dword [ebp - 8], 0
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
push 0
push eax
call fcn.0043b330
push 0x54
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0051e180
mov esi, dword [ebp - 0x98]
lea ecx, [ebp - 0xac]
mov edi, dword [ebp - 0xac]
add esp, 0xc
mov edx, dword [ebp - 0x9c]
cmp esi, 0x10
mov dword [ebp - 0x7c], 0x44
cmovae ecx, edi
push 0
push 0x59526d
call fcn.00425740
add esp, 8
test eax, eax
jne 0x43151a
xor ecx, ecx
jmp 0x431526
cmp esi, 0x10
lea ecx, [ebp - 0xac]
cmovae ecx, edi
cmp dword [ebp - 0x80], 0x10
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x7c]
push edx
push ecx
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4315b2
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1b7740
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4315b2
mov esi, 1
push esi
push eax
call edi
cmp eax, 0x102
ja 0x431585
je 0x43158a
jmp 0x43158c
cmp eax, 0xffffffff
jne 0x43158c
xor esi, esi
cmp esi, 1
je 0x4315b2
push 0x6f
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x2710
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4315b2
push 1
push eax
call edi
lea ecx, [ebp - 0xb8]
call fcn.0043b600
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 8
Function at 0x4315e0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x110]
mov esi, 0xcc
xor ecx, ecx
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x431630
sub edx, edi
je 0x43164f
nop dword [eax + eax]
movsx eax, byte [ebp + ecx - 0x110]
inc ecx
add esi, eax
cmp ecx, edx
jb 0x431640
push 0xa
lea eax, [ebp - 0x10e]
mov word [ebp - 0x110], 0x4343
push eax
push esi
call fcn.005298a0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x431722
push str.APPDATA
call fcn.00529af9
mov edx, eax
mov dword [ebp - 0x114], 0xf
add esp, 4
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp byte [edx], 0
jne 0x4316bf
xor ecx, ecx
jmp 0x4316cd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4316c4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.004258a0
push 0x1d
push ecx
push str.system32config_systemprofile
lea ecx, [ebp - 0x128]
call fcn.00433990
cmp eax, 0xffffffff
jne 0x431729
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x431710
inc eax
lea ecx, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
call fcn.00426030
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
push 0
call fcn.005290a3
push 0
call fcn.005290a3
int3
Function at 0x431740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5445ab
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x138], 0
call fcn.00435fc0
push 0x13
push str.._.._taskconfig.ini
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.00425b80
push 0x104
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
cmovae eax, dword [ebp - 0x134]
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x59526d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp byte [ebp - 0x11c], 0
jne 0x431807
xor ecx, ecx
jmp 0x431819
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431810
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
mov ecx, ebx
push eax
call fcn.004258a0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x431846
inc ecx
push ecx
push dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
call fcn.00426030
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x431870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5445eb
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x138], 0
call fcn.00435fc0
push 0xc
push str.._config.ini
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.00425b80
push 0x104
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
cmovae eax, dword [ebp - 0x134]
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x59526d
push 0x595f40
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x11c], 0
jne 0x431937
xor ecx, ecx
jmp 0x431949
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431940
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
mov ecx, esi
push eax
call fcn.004258a0
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x431976
inc ecx
push ecx
push dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
call fcn.00426030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4336e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544948
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00433130
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 0x10
push 0xa0
cmovae eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xd4]
push 0
push eax
mov dword [ebp - 0x18], str.hidden
mov dword [ebp - 0x14], 0
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xd4]
push 0
push eax
call fcn.0043b330
push 0x54
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0051e180
cmp dword [ebp - 0xb4], 0x10
lea ecx, [ebp - 0xc8]
mov edx, dword [ebp - 0xb8]
cmovae ecx, dword [ebp - 0xc8]
push 0
push 0x59526d
mov dword [ebp - 0x98], 0x44
call fcn.00425740
add esp, 0x14
test eax, eax
jne 0x4337a9
xor ecx, ecx
jmp 0x4337bd
cmp dword [ebp - 0xb4], 0x10
lea ecx, [ebp - 0xc8]
cmovae ecx, dword [ebp - 0xc8]
cmp dword [ebp - 0x9c], 0x10
lea edx, [ebp - 0x54]
push edx
lea edx, [ebp - 0x98]
push edx
push ecx
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0xd4]
call fcn.0043b600
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x433813
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00426030
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret

Function at 0x433830
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54497c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5a49f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x10], 0
mov ecx, dword [eax]
mov eax, dword [0x5a8d14]
cmp eax, dword [ecx + 4]
jle 0x4338d7
push 0x5a8d14
call fcn.0051b189
add esp, 4
cmp dword [0x5a8d14], 0xffffffff
jne 0x4338d7
mov dword [ebp - 4], 0
mov ecx, 0x5a8d34
push 0
push 0x59526d
mov dword [0x5a8d48], 0xf
mov dword [0x5a8d44], 0
mov byte [0x5a8d34], 0
call fcn.004258a0
push 0x5456f0
call fcn.0051b72f
push 0x5a8d14
mov dword [ebp - 4], 0xffffffff
call fcn.0051b14a
add esp, 8
cmp dword [0x5a8d44], 0
jne 0x433916
push str.assprocess1024
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x5a8d34
cmp eax, 0xb7
jne 0x43390a
push 3
push 0x596044
jmp 0x433911
push 4
push str.AUTO
call fcn.004258a0
mov esi, dword [ebp + 8]
mov ecx, esi
push 0xffffffffffffffff
push 0
push 0x5a8d34
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.004259a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x435e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544d82
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x41c], esi
mov dword [esi + 0x10], 0
jb 0x435eba
mov eax, dword [esi]
jmp 0x435ebc
mov eax, esi
mov byte [eax], 0
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0
push eax
push 0x400
mov dword [ebp - 0x414], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x400
ja 0x435f23
test eax, eax
je 0x435f23
cmp byte [ebp - 0x410], 0
jne 0x435f02
xor ecx, ecx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x435f2a
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435f10
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x435f2a
push 7
push str.c:_temp
mov ecx, esi
call fcn.004258a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
Function at 0x437f50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x43807e
cmp byte [ebx + 0x3d], 0
je 0x43807e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x437fa9
xor al, al
jmp 0x438080
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.004257d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43800f
sub eax, 1
je 0x438013
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x438066
xor bl, bl
jmp 0x438068
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x438048
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0052bd4c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x43800b
cmp byte [ebx + 0x3d], 0
je 0x438066
test esi, esi
jne 0x437fd1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00425ad0
jmp 0x437fce
mov bl, 1
cmp ecx, 0x10
jb 0x43807a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00426030
mov al, bl
jmp 0x438080
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
Function at 0x4389f0
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings]
mov eax, dword [0x59620c]
push esi
movups xmmword [ebp - 0x104], xmm0
push 0xc3
movups xmm0, xmmword [0x5961e4]
mov dword [ebp - 0xcc], eax
mov esi, ecx
lea eax, [ebp - 0xc8]
movups xmmword [ebp - 0xf4], xmm0
push 0
movups xmm0, xmmword [0x5961f4]
push eax
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [0x596204]
movq qword [ebp - 0xd4], xmm0
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x104]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x438b45
mov dword [ebp - 0x1f0], eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f4], 4
push eax
push 0
push 0
push str.ProxyEnable
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438b45
cmp dword [ebp - 0x1f0], eax
je 0x438b45
push 0xe8
push eax
lea eax, [ebp - 0x1ec]
mov dword [esi + 0x1c], 1
push eax
call fcn.0051e180
add esp, 0xc
mov dword [ebp - 0x1f8], 0xe8
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0
push str.ProxyServer
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438b45
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [esi + 4]
call fcn.00423080
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1fc]
mov dword [esi + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
Function at 0x43b740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
push 0x44
push 0
lea ebx, [esi + 0x3c]
push ebx
call fcn.0051e180
lea eax, [esi + 0x80]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 8], eax
add esp, 0xc
cmp byte [ebp + 0x10], 0
movups xmmword [eax], xmm0
mov dword [ebx], 0x44
je 0x43b7a7
mov ecx, esi
call fcn.0043b820
mov eax, dword [esi + 0x98]
or dword [esi + 0x68], 0x100
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [ebp - 4], 1
xor eax, eax
lea edi, [esi + 0xc]
cmp byte [ebp + 0xc], al
mov ecx, 0x8000000
cmovne eax, ecx
cmp dword [edi + 0x14], 0x10
mov dword [ebp + 0x10], eax
jb 0x43b7c4
mov ecx, dword [edi]
jmp 0x43b7c6
mov ecx, edi
mov edx, dword [edi + 0x10]
push 0
push 0x59526d
call fcn.00425740
add esp, 8
test eax, eax
jne 0x43b7e0
xor edi, edi
jmp 0x43b7e8
cmp dword [edi + 0x14], 0x10
jb 0x43b7e8
mov edi, dword [edi]
add esi, 0x24
cmp dword [esi + 0x14], 0x10
jb 0x43b7f3
mov esi, dword [esi]
push dword [ebp - 8]
push ebx
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43b820
Capabilities:
Create pipe
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x10], 0xc
push esi
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x90]
xorps xmm0, xmm0
push ecx
add eax, 0x94
movq qword [ebp - 0xc], xmm0
push eax
push esi
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push 0
push ecx
lea esi, [eax + 0x9c]
add eax, 0x98
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
Function at 0x43b8c0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push esi
push edi
push 0
mov dword [ebp - 0x414], eax
mov edi, ecx
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0
push eax
push 0
push 0
push 0
push dword [edi + 0x90]
call ebx
test eax, eax
je 0x43ba0c
mov eax, dword [edi + 0x80]
test eax, eax
je 0x43b94e
mov esi, 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
ja 0x43b932
je 0x43b937
jmp 0x43b939
cmp eax, 0xffffffff
jne 0x43b939
xor esi, esi
cmp esi, 1
je 0x43b94e
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x43b9e3
jmp 0x43b95c
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x43ba3c
push 0x401
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.0051e180
add esp, 0xc
mov dword [ebp - 0x410], 0
cmp esi, 0x400
mov eax, 0x400
cmova esi, eax
lea eax, [ebp - 0x410]
push 0
push eax
push esi
lea eax, [ebp - 0x408]
mov dword [ebp - 0x40c], esi
push eax
push dword [edi + 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43ba24
cmp byte [ebp - 0x408], 0
jne 0x43b9be
xor eax, eax
jmp 0x43b9d0
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b9c7
sub eax, edx
mov ecx, dword [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.00425b80
push 0
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0
push eax
push 0
push 0
push 0
push dword [edi + 0x90]
call ebx
test eax, eax
jne 0x43b910
pop edi
pop esi
mov eax, 9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051b03f
mov esp, ebp
pop ebp
ret 4

Function at 0x43ba60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push edx
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43bac3
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
test eax, eax
je 0x43bad4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0051b03f
mov esp, ebp
pop ebp
ret
Function at 0x43baf0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545526
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x154], ebx
mov edi, ecx
push 0x59526d
push 0
call fcn.0052d11f
push 0x104
push 0
push ebx
call fcn.0051e180
add esp, 0x14
mov dword [ebp - 0x150], 0
lea eax, [ebp - 0x150]
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43bd69
mov esi, dword [ebp - 0x150]
test esi, esi
je 0x43bd69
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0x104
push eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
call esi
test eax, eax
jne 0x43bd5d
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jne 0x43bbdf
xor ecx, ecx
jmp 0x43bbf1
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bbe8
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.004258a0
mov dword [ebp - 4], 0
cmp byte [edi], 0
jne 0x43bc14
xor ecx, ecx
jmp 0x43bc29
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bc20
sub ecx, edx
push ecx
push ecx
push edi
lea ecx, [ebp - 0x14c]
call fcn.00433990
test eax, eax
je 0x43bc99
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x43bc60
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.00426030
push 0x104
lea eax, [ebp - 0x11c]
inc ebx
push 0
push eax
call fcn.0051e180
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0x104
push eax
push ebx
push dword [ebp - 0x150]
call esi
test eax, eax
je 0x43bbb7
jmp 0x43bd5d
push 0x40
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.004258a0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x134]
call fcn.00425cb0
cmp dword [ebp - 0x120], 0x10
lea edx, [ebp - 0x134]
push ecx
push dword [ebp - 0x154]
cmovae edx, dword [ebp - 0x134]
sub esp, 8
call fcn.0043ba60
mov eax, dword [ebp - 0x120]
add esp, 0x10
cmp eax, 0x10
jb 0x43bd24
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00426030
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp eax, 0x10
jb 0x43bd5d
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.00426030
push dword [ebp - 0x150]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051b03f
mov esp, ebp
pop ebp
ret