joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov eax, dword [ebx]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x426935
test edi, edi
je 0x4268eb
cmp word [edi], 0
je 0x4268eb
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x4268a5
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.00429880
push 0x505998
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
add esp, 0xc
lea ecx, [ebx + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
add esp, 0xc
push 0x4fb6d8
push 0x50258c
push esi
call fcn.00405280
add esp, 0xc
push edi
jmp 0x42691c
cmp byte [esi + 0x128], 0
lea edi, [esi + 0x18]
jne 0x4268fa
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.00429880
push 0x505998
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x18]
je 0x4269a5
test edi, edi
je 0x42696a
cmp word [edi], 0
je 0x42696a
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x426956
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push 0
call fcn.00429880
push 0x5059a8
jmp 0x4268b3
cmp byte [esi + 0x128], 0
je 0x426978
add esi, 0x18
jmp 0x42697b
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push 0x5059a8
call fcn.004062d0
lea ecx, [esi + 4]
push ecx
push 0x50258c
push eax
call fcn.00405280
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
pop edi
mov dword [ebx], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4269c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push 0
push edi
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x426aa7
test edi, edi
je 0x426a63
cmp word [edi], 0
je 0x426a63
cmp byte [esi + 0x128], 0
push ebx
lea ebx, [esi + 0x18]
jne 0x426a01
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.00429880
push 0x5059c0
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
lea ecx, [ebx + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
push 0x5059d8
push 0x50258c
push esi
call fcn.00405280
push edi
push 0x50258c
push esi
call fcn.00405280
push 0x5059e0
push 0x50258c
push esi
call fcn.00405280
add esp, 0x3c
xor al, al
pop ebx
pop edi
pop esi
pop ebp
ret 0x14
cmp byte [esi + 0x128], 0
lea edi, [esi + 0x18]
jne 0x426a72
mov edi, dword [esi + 0x14]
mov ecx, dword [ebp + 8]
push eax
call fcn.00429880
push 0x5059c0
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
lea ecx, [edi + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebp
ret 0x14
pop edi
mov al, 1
pop esi
pop ebp
ret 0x14
Function at 0x426ab0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x519220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov esi, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x130], ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
test edi, edi
je 0x426ba2
cmp byte [ebp + 0xc], 0
jne 0x426b05
cmp edi, 2
je 0x426ba2
cmp edi, 5
jne 0x426bd6
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x128]
call fcn.00403ec0
push 0x4fb6d8
lea eax, [ebp - 0x128]
push 0x50258c
push eax
call fcn.00405280
push ebx
lea eax, [ebp - 0x128]
push 0x50258c
push eax
call fcn.00405280
add esp, 0x18
lea ecx, [ebp - 0x11c]
cmp byte [ebp - 0xc], 0
lea edx, [edi - 1]
cmove ecx, dword [ebp - 0x120]
push 0
push ecx
add ecx, 4
call fcn.004377d0
add esp, 8
push ebx
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
mov dword [ebp - 0x128], vtable.t_str.0
test edi, edi
jne 0x426bb7
cmp byte [ebp - 0xc], al
jne 0x426ba2
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x426ba2
push eax
call fcn.0049c7b1
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebp - 0xc], 0
jne 0x426bd6
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
cmp eax, ecx
je 0x426bd6
push eax
call fcn.0049c7b1
add esp, 4
cmp byte [esi + 0x128], 0
lea ebx, [esi + 0x18]
jne 0x426be5
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebp - 0x12c]
push edi
call fcn.00429880
push 0x5059e8
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
lea ecx, [ebx + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
push 0x4fb6d8
push 0x50258c
push esi
call fcn.00405280
push dword [ebp - 0x130]
push 0x50258c
push esi
call fcn.00405280
mov ecx, dword [ebp - 4]
add esp, 0x30
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.0048f1b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427ce0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
push eax
mov edi, edx
mov dword [ebp - 8], 0
xor bl, bl
mov dword [ebp - 0x10], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x427d20
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push eax
call fcn.004af1b3
add esp, 4
mov esi, eax
push esi
push dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x427d7b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x4fb6d8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x427d7b
mov ecx, dword [ebp - 8]
mov bl, 1
movzx eax, word [ecx + 0xa]
mov word [edi], ax
movzx eax, word [ecx + 8]
mov word [edi + 2], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 4], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 6], ax
test esi, esi
je 0x427d88
push esi
call fcn.0049c7b1
add esp, 4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e773b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x519220]
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 esi, edx
mov edi, ecx
mov dword [ebp - 0x144], edi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00403e10
push str.MACHINE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x140]
call fcn.004262d0
push 1
push 0
push 0
push esi
push edi
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.00426590
test al, al
je 0x4337cf
push 0x105
lea ecx, [ebx + 8]
mov dword [ebx + 0x120], 0x105
call fcn.00406110
cmp byte [ebx + 0x11c], 0
lea eax, [ebx + 0xc]
jne 0x43370d
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x148], 0
push ecx
add eax, 4
mov dword [ebp - 0x14c], 0x208
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x433790
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
mov ecx, dword [ebp - 0x144]
cmove edi, dword [ebp - 0x12c]
push eax
call fcn.00429880
push 0x505998
mov esi, eax
push 0x50258c
push esi
call fcn.00405280
lea ecx, [edi + 4]
push ecx
push 0x50258c
push esi
call fcn.00405280
mov edi, dword [ebp - 0x144]
add esp, 0x18
jmp 0x4337c8
cmp dword [ebp - 0x148], 1
je 0x4337df
cmp byte [ebp - 0x18], 0
lea esi, [ebp - 0x128]
push 0x5059a8
cmove esi, dword [ebp - 0x12c]
mov ecx, edi
call fcn.004062d0
lea edx, [esi + 4]
push edx
push 0x50258c
push eax
call fcn.00405280
add esp, 0xc
mov ecx, ebx
call fcn.00404080
push 0x506314
mov ecx, edi
call fcn.004062d0
xor bl, bl
jmp 0x4337e8
mov ecx, ebx
call fcn.004048d0
mov bl, 1
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x433803
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x433836
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x433836
push eax
call fcn.0049c7b1
add esp, 4
mov al, bl
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.0048f1b0
mov esp, ebp
pop ebp
ret
Function at 0x434250
Capabilities:
Create process on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ebp + 0x18], 0
mov eax, ecx
push esi
mov esi, edx
mov dword [ebp - 0xc], eax
je 0x434416
mov eax, dword [ebp + 0xc]
mov ecx, 0x502554
push ebx
test eax, eax
push edi
mov edi, ecx
cmovne edi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434290
sub ecx, edx
mov edx, edi
sar ecx, 1
lea ebx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4342a4
sub edx, ebx
mov ebx, dword [ebp - 8]
sar edx, 1
lea eax, [ebx + 2]
mov dword [ebp + 0x18], eax
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4342c0
sub ebx, dword [ebp + 0x18]
sar ebx, 1
lea eax, [ebx + edx]
add eax, ecx
lea ebx, [eax*2 + 0x1e]
test esi, esi
je 0x4342fa
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4342e5
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebx - 0x18]
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
add eax, 0x18
mov dword [ebp + 0x18], ecx
push ebx
shr ecx, 1
push ecx
push eax
call fcn.004ba9d2
mov edx, dword [ebp - 4]
lea ecx, [ebx + 2]
add esp, 0xc
lea eax, [edx + 0x18]
mov dword [edx], eax
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x434330
sub ebx, ecx
mov ecx, dword [ebp + 0x18]
sar ebx, 1
lea eax, [ebx*2 + 2]
lea ebx, [edx + 0x18]
sub ecx, eax
add ebx, eax
mov dword [ebp + 0x18], ecx
test esi, esi
je 0x434393
mov eax, ecx
push esi
shr eax, 1
push eax
push ebx
call fcn.004ba9d2
mov eax, dword [ebp - 4]
lea ecx, [esi + 2]
add esp, 0xc
mov dword [eax + 8], ebx
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434370
sub esi, ecx
sar esi, 1
lea ebx, [ebx + esi*2]
lea eax, [esi*2 + 2]
add ebx, 2
mov esi, dword [ebp + 0x18]
sub esi, eax
jmp 0x43439d
mov esi, dword [ebp + 0x18]
mov dword [edx + 8], 0
test edi, edi
je 0x4343cb
mov eax, esi
push edi
shr eax, 1
push eax
push ebx
call fcn.004ba9d2
add esp, 0xc
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4343b3
sub edi, ecx
sar edi, 1
lea eax, [edi*2 + 2]
jmp 0x4343d0
mov eax, 1
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edi + 0xc], ebx
add ebx, eax
test ecx, ecx
je 0x4343ee
sub esi, eax
push ecx
shr esi, 1
push esi
push ebx
call fcn.004ba9d2
add esp, 0xc
mov eax, dword [ebp - 0xc]
push edi
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x14]
push 0
push 0x4341d0
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
call fcn.004e23ef
add esp, 0xc
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435180
Capabilities:
Create thread
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7a96
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x519220]
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 esi, ecx
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x144], esi
call fcn.00403e10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
mov dword [esi + 0x124], 0
call fcn.00403e10
mov byte [ebp - 0x13c], 0
mov dword [ebp - 0x140], 0
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.0041b750
test al, al
je 0x43534b
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
mov ecx, 0x502554
cmove eax, dword [ebp - 0x12c]
add eax, 4
cmovne ecx, eax
mov dword [ebp - 0x138], ecx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435230
sub ecx, edx
sar ecx, 1
mov dword [esi + 4], ecx
lea ebx, [ecx + 1]
push ebx
lea ecx, [esi + 8]
call fcn.00406110
cmp byte [esi + 0x11c], 0
lea ecx, [esi + 0xc]
jne 0x43525d
mov ecx, dword [esi + 8]
lea eax, [ebx + ebx]
add ecx, 4
push eax
push dword [ebp - 0x138]
push ecx
call fcn.00490e80
push 0x4fb6d8
push 0x50258c
push esi
call fcn.00405280
push 0x5062fc
push 0x50258c
push esi
call fcn.00405280
push 0x234
call fcn.0048ed6f
add esp, 0x28
mov dword [ebp - 0x138], eax
push 0x50643c
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00434da0
cmp byte [0x53080e], 0
mov dword [esi + 0x128], eax
jne 0x4352d0
cmp byte [0x53281a], 0
je 0x4352d0
mov al, 1
jmp 0x4352d2
xor al, al
test al, al
je 0x43534b
cmp dword [0x51a7f8], 0
je 0x435335
push 0xc
call fcn.004af1b3
mov edi, eax
add esp, 4
mov dword [edi], 0x4359c0
mov dword [edi + 4], esi
cmp dword [0x51a7f8], 0
jne 0x435301
xor eax, eax
jmp 0x43530d
push dword [0x51a800]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 8], eax
test eax, eax
je 0x435328
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
push 0
push 0x4601e0
jmp 0x43533d
push edi
call fcn.0049c7b1
add esp, 4
xor eax, eax
jmp 0x435345
push esi
push 0
push 0x4359c0
call fcn.004e23ef
add esp, 0xc
mov dword [esi + 0x124], eax
lea ecx, [ebp - 0x140]
call fcn.004287f0
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43537f
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x43537f
push eax
call fcn.0049c7b1
add esp, 4
mov eax, esi
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.0048f1b0
mov esp, ebp
pop ebp
ret
Function at 0x438940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7e39
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x519220]
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
mov dword [ebp - 0x150], edi
mov dword [edi + 4], fcn.004af1b3
mov dword [edi + 8], fcn.004e1c5f
mov dword [edi + 0xc], fcn.0049c7b1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x8000
mov dword [edi], vtable.t_heap.0
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
mov dword [edi + 0x18], 0
mov byte [edi + 0x1c], 1
lea esi, [edi + 0x20]
mov dword [ebp - 4], 0
mov dword [ebp - 0x158], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0043a850
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 7
mov word [edi + 0x28], ax
mov dword [edi + 0x40], eax
mov dword [ebp - 4], 1
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], 1
cmp dword [edi + 0x40], eax
jne 0x438ab6
lea ecx, [ebp - 0x14c]
call fcn.00439980
mov byte [ebp - 4], 2
cmp dword [ebp - 0x148], 0
je 0x438a8d
cmp byte [ebp - 0x30], 0
lea eax, [ebp - 0x140]
cmove eax, dword [ebp - 0x144]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438a8d
shr eax, 4
not al
and al, 1
je 0x438a8d
cmp byte [ebp - 0x30], 0
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x28]
cmove eax, dword [ebp - 0x144]
add eax, 4
push eax
call fcn.0043a080
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00449ce0
lea ecx, [ebp - 0x28]
call fcn.0041e8e0
cmp byte [ebp - 0x30], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x438ab6
mov eax, dword [ebp - 0x144]
lea ecx, [ebp - 0x140]
cmp eax, ecx
je 0x438ab6
push eax
call fcn.0049c7b1
add esp, 4
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.0048f1b0
mov esp, ebp
pop ebp
ret
Function at 0x4394a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7edb
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x519220]
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
cmp byte [0x53080e], 0
je 0x4394e1
xor eax, eax
jmp 0x43966a
call fcn.00419430
test al, al
jne 0x4394da
call fcn.004339a0
test al, al
je 0x4394da
call fcn.00428580
test al, al
je 0x43951b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.CheckSig1
push eax
call fcn.004435d0
mov ecx, eax
call fcn.00443750
mov ecx, eax
call fcn.00444130
sub esp, 0x10
lea ecx, [ebp - 0x134]
push 0
push esi
call fcn.0040f6f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x128]
cmp byte [ebp - 0x18], 0
cmove eax, dword [ebp - 0x12c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43963a
shr eax, 4
not al
and al, 1
je 0x43963a
call fcn.00428400
cmp byte [0x5360bd], 0
jne 0x43960f
push 0x114
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.00491400
push 0x114
lea eax, [ebp - 0x35c]
push 0
push eax
call fcn.00491400
add esp, 0x18
lea edx, [ebp - 0x35c]
lea ecx, [ebp - 0x248]
call fcn.004186b0
mov eax, dword [ebp - 0x244]
cmp eax, 6
ja 0x4395e1
jne 0x439608
mov ecx, dword [ebp - 0x240]
cmp ecx, 2
jb 0x439608
movzx eax, byte [0x5360bc]
cmp ecx, 3
mov edx, 1
cmovae eax, edx
mov byte [0x5360bc], al
jmp 0x4395e8
mov byte [0x5360bc], 1
mov eax, dword [ebp - 0x358]
cmp eax, 0xa
jae 0x439601
cmp eax, 6
jne 0x439608
cmp dword [ebp - 0x354], 3
jb 0x439608
mov byte [0x5360bc], 1
mov byte [0x5360bd], 1
cmp byte [0x5360bc], 0
mov edx, edi
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
je 0x43962e
call fcn.00439290
add esp, 8
mov esi, eax
jmp 0x43963f
call fcn.00438db0
add esp, 8
mov esi, eax
jmp 0x43963f
mov esi, 1
cmp byte [ebp - 0x18], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x439668
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x439668
push eax
call fcn.0049c7b1
add esp, 4
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.0048f1b0
mov esp, ebp
pop ebp
ret
Function at 0x43c410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8231
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x519220]
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
mov dword [ebp - 0x448], edi
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
mov dword [ebp - 4], eax
call fcn.0043bdd0
cmp eax, 2
jne 0x43c5fc
push 0x3e
xor eax, eax
mov dword [ebp - 0x430], 0
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
call fcn.0043a1c0
push 4
push str.http
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 1
call fcn.0043dfd0
push 0xb
push str.UserChoice
lea ecx, [ebp - 0x440]
call fcn.0043dfd0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push ecx
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x458]
push eax
push SysReAllocString
call fcn.0043bb90
mov esi, dword [ebp - 0x458]
test eax, eax
jne 0x43c5e2
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00491400
add esp, 0xc
mov dword [ebp - 0x44c], 0x400
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push str.Progid
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43c5e2
mov eax, dword [ebp - 0x448]
cmp eax, 1
je 0x43c577
cmp eax, 2
jne 0x43c5e2
mov eax, dword [ebp - 0x44c]
test eax, eax
je 0x43c5d9
test al, 1
jne 0x43c5e2
shr eax, 1
cmp word [ebp + eax*2 - 0x412], 0
jne 0x43c5e2
xor eax, eax
cmp ax, word [ebp - 0x410]
je 0x43c5e2
lea edx, [ebp - 0x410]
lea ecx, [ebp - 0x428]
call fcn.0043cd30
mov byte [ebp - 0x441], al
test esi, esi
je 0x43c5bf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0041e8e0
cmp byte [ebp - 0x441], 0
jne 0x43c60c
jmp 0x43c5fc
xor eax, eax
mov word [ebp - 0x410], ax
test esi, esi
je 0x43c5ed
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 0
call fcn.0041e8e0
mov edx, str.http
lea ecx, [ebp - 0x428]
call fcn.0043cd30
cmp byte [ebp + 8], 0
jne 0x43c62f
sub esp, 0x18
lea eax, [ebp - 0x428]
mov ecx, esp
push eax
call fcn.0043dd20
mov ecx, edi
call fcn.0043be80
add esp, 0x18
jmp 0x43c671
movups xmm0, xmmword [ebp - 0x428]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov word [ebp - 0x428], ax
movq xmm0, qword [ebp - 0x418]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
lea ecx, [ebp - 0x428]
call fcn.0041e8e0
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.0048f1b0
mov esp, ebp
pop ebp
ret