joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431350
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.00432690
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], str.package
jb 0x431382
mov esi, dword [esi]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x10], esi
jb 0x43138d
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.0051de60
add esp, 0xc
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
push 0
push eax
call fcn.0043b070
push 0x54
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0051de60
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 0x43140a
xor ecx, ecx
jmp 0x431416
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 0x4314a2
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 0x4314a2
mov esi, 1
push esi
push eax
call edi
cmp eax, 0x102
ja 0x431475
je 0x43147a
jmp 0x43147c
cmp eax, 0xffffffff
jne 0x43147c
xor esi, esi
cmp esi, 1
je 0x4314a2
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 0x4314a2
push 1
push eax
call edi
lea ecx, [ebp - 0xb8]
call fcn.0043b340
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0051ad3f
mov esp, ebp
pop ebp
ret 8

Function at 0x4314d0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5a49f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0051de60
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
mov esi, 0xcc
xor ecx, ecx
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x431520
sub edx, edi
je 0x43153f
nop dword [eax + eax]
movsx eax, byte [ebp + ecx - 0x108]
inc ecx
add esi, eax
cmp ecx, edx
jb 0x431530
push 0xa
lea eax, [ebp - 0x106]
mov word [ebp - 0x108], 0x4343
push eax
push esi
call fcn.00529551
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
cmp eax, 0xb7
je 0x43158a
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0051ad3f
mov esp, ebp
pop ebp
ret
push 0
call fcn.00528d54
int3
Function at 0x4315a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54424b
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.00435d00
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.0051de60
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 0x431667
xor ecx, ecx
jmp 0x431679
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431670
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 0x4316a6
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.0051ad3f
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4316d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54428b
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.00435d00
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.0051de60
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 0x595f10
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 0x431797
xor ecx, ecx
jmp 0x4317a9
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4317a0
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 0x4317d6
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.0051ad3f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433540
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5445e8
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.00432f90
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.0051de60
add esp, 0xc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xd4]
push 0
push eax
call fcn.0043b070
push 0x54
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0051de60
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 0x433609
xor ecx, ecx
jmp 0x43361d
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.0043b340
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x433673
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.0051ad3f
mov esp, ebp
pop ebp
ret

Function at 0x435b90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5449f2
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 0x435bfa
mov eax, dword [esi]
jmp 0x435bfc
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 0x435c63
test eax, eax
je 0x435c63
cmp byte [ebp - 0x410], 0
jne 0x435c42
xor ecx, ecx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x435c6a
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435c50
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x435c6a
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.0051ad3f
mov esp, ebp
pop ebp
ret
Function at 0x437c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544ca8
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 0x437dbe
cmp byte [ebx + 0x3d], 0
je 0x437dbe
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x437ce9
xor al, al
jmp 0x437dc0
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 0x437d4f
sub eax, 1
je 0x437d53
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x437da6
xor bl, bl
jmp 0x437da8
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 0x437d88
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0052b9fc
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x437d4b
cmp byte [ebx + 0x3d], 0
je 0x437da6
test esi, esi
jne 0x437d11
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00425ad0
jmp 0x437d0e
mov bl, 1
cmp ecx, 0x10
jb 0x437dba
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00426030
mov al, bl
jmp 0x437dc0
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.0051ad3f
mov esp, ebp
pop ebp
ret
Function at 0x438730
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 [0x5961bc]
push esi
movups xmmword [ebp - 0x104], xmm0
push 0xc3
movups xmm0, xmmword [0x596194]
mov dword [ebp - 0xcc], eax
mov esi, ecx
lea eax, [ebp - 0xc8]
movups xmmword [ebp - 0xf4], xmm0
push 0
movups xmm0, xmmword [0x5961a4]
push eax
movups xmmword [ebp - 0xe4], xmm0
movq xmm0, qword [0x5961b4]
movq qword [ebp - 0xd4], xmm0
call fcn.0051de60
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 0x438885
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 0x438885
cmp dword [ebp - 0x1f0], eax
je 0x438885
push 0xe8
push eax
lea eax, [ebp - 0x1ec]
mov dword [esi + 0x1c], 1
push eax
call fcn.0051de60
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 0x438885
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.0051ad3f
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.0051ad3f
mov esp, ebp
pop ebp
ret
Function at 0x43b480
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.0051de60
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 0x43b4e7
mov ecx, esi
call fcn.0043b560
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 0x43b504
mov ecx, dword [edi]
jmp 0x43b506
mov ecx, edi
mov edx, dword [edi + 0x10]
push 0
push 0x59526d
call fcn.00425740
add esp, 8
test eax, eax
jne 0x43b520
xor edi, edi
jmp 0x43b528
cmp dword [edi + 0x14], 0x10
jb 0x43b528
mov edi, dword [edi]
add esi, 0x24
cmp dword [esi + 0x14], 0x10
jb 0x43b533
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 0x43b560
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.0051ad3f
mov esp, ebp
pop ebp
ret
Function at 0x43b600
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 0x43b74c
mov eax, dword [edi + 0x80]
test eax, eax
je 0x43b68e
mov esi, 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
ja 0x43b672
je 0x43b677
jmp 0x43b679
cmp eax, 0xffffffff
jne 0x43b679
xor esi, esi
cmp esi, 1
je 0x43b68e
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x43b723
jmp 0x43b69c
mov esi, dword [ebp - 0x40c]
test esi, esi
je 0x43b77c
push 0x401
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.0051de60
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 0x43b764
cmp byte [ebp - 0x408], 0
jne 0x43b6fe
xor eax, eax
jmp 0x43b710
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b707
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 0x43b650
pop edi
pop esi
mov eax, 9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ad3f
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.0051ad3f
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.0051ad3f
mov esp, ebp
pop ebp
ret 4

Function at 0x43b7a0
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 0x43b803
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 0x43b814
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051ad3f
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.0051ad3f
mov esp, ebp
pop ebp
ret
Function at 0x43b830
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545196
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.0052cdcf
push 0x104
push 0
push ebx
call fcn.0051de60
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 0x43baa9
mov esi, dword [ebp - 0x150]
test esi, esi
je 0x43baa9
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.0051de60
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 0x43ba9d
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jne 0x43b91f
xor ecx, ecx
jmp 0x43b931
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b928
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 0x43b954
xor ecx, ecx
jmp 0x43b969
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b960
sub ecx, edx
push ecx
push ecx
push edi
lea ecx, [ebp - 0x14c]
call fcn.004336d0
test eax, eax
je 0x43b9d9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x43b9a0
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.0051de60
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0x104
push eax
push ebx
push dword [ebp - 0x150]
call esi
test eax, eax
je 0x43b8f7
jmp 0x43ba9d
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.0043b7a0
mov eax, dword [ebp - 0x120]
add esp, 0x10
cmp eax, 0x10
jb 0x43ba64
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 0x43ba9d
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.0051ad3f
mov esp, ebp
pop ebp
ret