joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d4b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5a7698
push 0x52e460
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5b4b3c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d547
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.0042d3f0
add esp, 4
push ebx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x42d547
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 1
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0042d577
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret

Function at 0x42d720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x414], 0
lea eax, [ecx + 4]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x42d76c
mov eax, dword [eax]
cmp dword [ebp + 0x38], 0x10
lea edx, [ebp + 0x24]
lea edi, [ebp + 0xc]
cmovae edx, dword [ebp + 0x24]
cmp dword [ebp + 0x20], 0x10
cmovae edi, dword [ebp + 0xc]
add ecx, 0x1c
cmp dword [ecx + 0x14], 0x10
jb 0x42d78d
mov ecx, dword [ecx]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x410], 0
jne 0x42d7c1
xor ecx, ecx
jmp 0x42d7d9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42d7d0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.00427720
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x42d7fd
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00427a30
mov ecx, dword [ebp + 0x38]
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
cmp ecx, 0x10
jb 0x42d824
inc ecx
push ecx
push dword [ebp + 0x24]
lea ecx, [ebp + 0x24]
call fcn.00427a30
mov eax, esi
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.0052a949
mov esp, ebp
pop ebp
ret 0x34
Function at 0x42e300
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552170
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0042e970
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e375
test al, 0x10
jne 0x42e375
mov esi, 1
jmp 0x42e377
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42e38c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433200
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x42e3b5
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00427a30
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.0052a949
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42e406
test al, 0x10
je 0x42e406
mov esi, 1
jmp 0x42e408
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x42e41d
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00427a30
mov eax, esi
pop esi
pop ebp
ret
Function at 0x42e7a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55221b
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x5b4b3c]
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
xor ebx, ebx
mov dword [ebp - 4], 1
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 8]
mov dword [ebp - 0x414], 0xf
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], ebx
mov byte [ebp - 0x428], bl
call fcn.004277e0
push 1
push 0x5a4488
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.00428790
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str._s.
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042cea0
add esp, 0x10
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e8d8
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x568], 0x10
je 0x42e8bc
lea eax, [ebp - 0x53c]
push 0x5a4490
push eax
call fcn.005379e3
add esp, 8
test eax, eax
je 0x42e8bc
lea eax, [ebp - 0x53c]
push 0x5a4494
push eax
call fcn.005379e3
add esp, 8
test eax, eax
je 0x42e8bc
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
lea eax, [ebp - 0x53c]
push eax
call fcn.0052d5e0
add esp, 8
test eax, eax
jne 0x42e8cc
lea eax, [ebp - 0x568]
push eax
push esi
call edi
test eax, eax
jne 0x42e864
jmp 0x42e8d1
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x42e8f6
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00427a30
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
cmp eax, 0x10
jb 0x42e926
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00427a30
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x42e94d
inc ecx
push ecx
push dword [ebp + 0x20]
lea ecx, [ebp + 0x20]
call fcn.00427a30
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 - 0x10]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x42ea70
Capabilities:
Accept command line arguments
Create process on windows
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552260
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
push 0x44
push 0
push eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
call fcn.0052dac0
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
movups xmmword [eax], xmm0
mov eax, dword [ebp - 0x50]
mov dword [eax], 0x44
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0042e970
lea edx, [ebp - 0x48]
mov ecx, edi
call fcn.0042e970
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 1
mov edi, eax
mov dword [ebp - 0x54], edi
cmp dword [ebp - 0x18], esi
jle 0x42eb9b
push 1
push 0x5a45b4
lea ecx, [ebp - 0x30]
call fcn.00431f00
mov edx, dword [edi + esi*4]
cmp word [edx], 0
jne 0x42eb5d
xor eax, eax
jmp 0x42eb74
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42eb62
sub eax, edi
mov edi, dword [ebp - 0x54]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x30]
call fcn.00431f00
mov eax, dword [ebp - 0x18]
dec eax
cmp esi, eax
je 0x42eb9b
push 1
push 0x5a45b4
lea ecx, [ebp - 0x30]
call fcn.00431f00
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x42eb41
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x5a45b8
call esi
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call esi
push 0x5a45b8
call esi
push dword [ebp - 0x4c]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
push eax
cmovae ecx, dword [ebp - 0x30]
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42ebfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x42ebfd
xor esi, esi
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x42ec12
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00433200
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x42ec3b
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00433200
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42ec60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5522b2
mov eax, dword fs:[0]
push eax
mov eax, 0x1114
call fcn.0052b4c0
mov eax, dword [0x5b4b3c]
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, edx
mov esi, ecx
mov dword [ebp - 0x1118], esi
mov dword [ebp - 0x111c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x1120], esi
jb 0x42ecd1
mov eax, dword [esi]
jmp 0x42ecd3
mov eax, esi
mov byte [eax], 0
push 0x1000
lea eax, [ebp - 0x1114]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x111c], 1
call fcn.0052dac0
add esp, 0xc
mov dword [ebp - 0x1118], 0
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x42ed86
cmp edi, 0xffffffff
je 0x42ed86
lea eax, [ebp - 0x1118]
push eax
push 0x1000
lea eax, [ebp - 0x1114]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42ed7f
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea eax, [ebp - 0x114]
push 0x104
push eax
push dword [ebp - 0x1114]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x42ed7f
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.00427320
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x4321e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5526e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5b4b3c]
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 0x43230e
cmp byte [ebx + 0x3d], 0
je 0x43230e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x432239
xor al, al
jmp 0x432310
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.00431fe0
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 0x43229f
sub eax, 1
je 0x4322a3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x4322f6
xor bl, bl
jmp 0x4322f8
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 0x4322d8
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0053112f
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x43229b
cmp byte [ebx + 0x3d], 0
je 0x4322f6
test esi, esi
jne 0x432261
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00432070
jmp 0x43225e
mov bl, 1
cmp ecx, 0x10
jb 0x43230a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00427a30
mov al, bl
jmp 0x432310
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.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x4335c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551ef6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b4b3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0052a95a
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00526458
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x434bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434c5d
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Install
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
test eax, eax
je 0x434c6d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
jne 0x434c5d
sub esp, 0x10
mov ecx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Client
call fcn.00434e40
add esp, 0x10
test al, al
je 0x434c5d
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x434ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0052dac0
add esp, 0xc
mov dword [ebp - 0x10c], 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoft.NETFrameworkpolicy_v4.0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434d37
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push str.30319
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x114]
test eax, eax
je 0x434d47
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
push eax
push 0x5a480c
push str.IsNetfx40SmartFrameworkSDKInstalled
call fcn.004266c0
mov ecx, eax
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434d70
sub ecx, edx
je 0x434d37
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret

Function at 0x434d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
push reloc.WS2_32.dll_bind
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434dfd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Install
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x14]
test eax, eax
je 0x434e0d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 1
jne 0x434dfd
sub esp, 0x10
mov ecx, str.SoftwareMicrosoftNET_Framework_SetupNDP_v4Full
call fcn.00434e40
add esp, 0x10
test al, al
je 0x434dfd
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x434e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x118], 0
push edi
mov dword [ebp - 0x11c], eax
xor edi, edi
mov dword [ebp - 0x120], eax
xor ebx, ebx
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x114]
push eax
push 0x20019
push edi
push ecx
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x10c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x434faa
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
push str.Version
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x114]
test eax, eax
je 0x434eeb
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push 0x5a4490
push eax
call fcn.0053831f
add esp, 0xc
test eax, eax
je 0x434faa
push esi
or esi, 0xffffffff
inc esi
cmp esi, 3
ja case.default.0x434f1e
jmp dword [esi*4 + 0x434fbc]
push eax
call fcn.00532146
mov dword [ebp - 0x11c], eax
jmp 0x434f53
push eax
call fcn.00532146
mov ebx, eax
jmp 0x434f53
push eax
call fcn.00532146
mov edi, eax
jmp 0x434f53
push eax
call fcn.00532146
mov dword [ebp - 0x120], eax
add esp, 4
lea eax, [ebp - 0x118]
push eax
push 0x5a4490
push 0
call fcn.0053831f
add esp, 0xc
test eax, eax
jne 0x434f18
mov eax, dword [ebp - 0x11c]
pop esi
cmp eax, 4
jle 0x434f8e
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a949
mov esp, ebp
pop ebp
ret
jne 0x434faa
test ebx, ebx
jg 0x434f7c
jne 0x434faa
cmp edi, 0x766f
jg 0x434f7c
jne 0x434faa
mov eax, dword [ebp - 0x120]
test eax, eax
jns 0x434f7c
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.0052a949
mov esp, ebp
pop ebp
ret

Function at 0x434fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push 0
push eax
call fcn.0052dac0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
cmp byte [ebp - 0x108], 0
jne 0x435028
xor ecx, ecx
jmp 0x43503a
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435031
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00427720
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0052a949
mov esp, ebp
pop ebp
ret
Function at 0x435890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5b4b3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x4358c6
mov eax, dword [esi]
jmp 0x4358c8
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00435060
mov edi, eax
test edi, edi
jne 0x4359b6
push 3
call fcn.00448d20
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x28], 0
sub esp, 0x14
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x44], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edi
cmp dword [ecx + 0x14], 0x10
jb 0x43592f
mov eax, dword [ecx]
jmp 0x435931
mov eax, ecx
push 0xffffffffffffffff
push 0
push esi
mov byte [eax], 0
call fcn.004277e0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x43595f
mov eax, dword [ecx]
jmp 0x435961
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004277e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.00428330
xor edi, edi
mov ecx, 0x3e8
test eax, eax
mov eax, dword [ebp - 0x14]
cmove edi, ecx
cmp eax, 0x10
jb 0x43599f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00427a30
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00448cd0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4359cb
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00427a30
mov eax, edi
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.0052a949
mov esp, ebp
pop ebp
ret