joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4358a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
jne 0x435a29
xorps xmm0, xmm0
lea edi, [esi + 0x5d130]
push edi
movlpd qword [ebp - 0x20], xmm0
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
mov dword [ebp - 0xa], 0x5c003a
mov word [ebp - 0xc], ax
xor eax, eax
push eax
push eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x435a54
mov ecx, dword [esi + 0x5d110]
mov eax, dword [esi + 0x5d114]
cmp ecx, 0xffffffff
jne 0x435914
cmp eax, ecx
je 0x43593c
cmp dword [ebp - 0x1c], eax
ja 0x43593c
jb 0x435920
cmp dword [ebp - 0x20], ecx
ja 0x43593c
mov dword [esi + 0x2470], 2
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
push 0
push 0x20
push 4
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x435a3e
cmp dword [esi + 0x2700], 0
je 0x435a29
mov eax, dword [esi + 0x26f4]
mov ecx, esi
mov dword [esi + 0x26f8], eax
call fcn.00435d30
test eax, eax
jne 0x435a29
cmp dword [esi + 0x2468], eax
ja 0x435998
mov dword [esi + 0x2468], 5
cmp dword [esi + 0x2468], 0xa
jbe 0x4359ab
mov dword [esi + 0x2468], 0xa
mov dword [esi + 0x5cfd0], 0
lea ecx, [esi + 0x26f4]
mov dword [esi + 0x5cfd4], 0
mov edx, dword [esi + 0x5d110]
mov eax, dword [esi + 0x5d114]
add edx, 0xffffffff
mov dword [esi + 0x5cfd8], edx
adc eax, 0xffffffff
mov dword [esi + 0x5cfdc], eax
lea eax, [esi + 0x5cfc8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004378c0
mov eax, dword [esi + 0x5d110]
mov cl, 0x20
mov edx, dword [esi + 0x5d114]
call fcn.00571800
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x5d110]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x2470], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x2474], eax
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x435b30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x210], 0
push 0x206
push eax
mov word [ebp - 0x20c], ax
mov esi, ecx
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x214], 0
push eax
call fcn.0053e230
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffff4a
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 0xb6
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0xb6
jne 0x435c3e
mov ecx, str._JZSTART_1E222D06_2CB2_4220_AF52_E0B7E800F5C1_CBA04DEF_39E0_45e4_854F_B3EA272DE745_JZEND_
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435bec
test dx, dx
je 0x435be8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435bec
add eax, 4
add ecx, 4
test dx, dx
jne 0x435bc6
xor eax, eax
jmp 0x435bf1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x435c3e
push 1
push eax
push 0xffffff46
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret

Function at 0x435c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push 2
push 0
push 0
mov eax, dword [esi + 0x26f8]
sub eax, dword [esi + 0x26f4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], 0
je 0x435d22
push ebx
push edi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26f8]
xor edi, edi
sub eax, dword [esi + 0x26f4]
mov ebx, 4
sar eax, 2
test eax, eax
je 0x435cf1
lea esp, [esp]
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26f4]
push 0x20
push dword [eax + edi*4]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x26f8]
inc edi
sub eax, dword [esi + 0x26f4]
add ebx, 0x20
sar eax, 2
cmp edi, eax
jb 0x435cc0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call ebx
push 0
lea eax, [ebp - 8]
push eax
push 0xb6
push str._JZSTART_1E222D06_2CB2_4220_AF52_E0B7E800F5C1_CBA04DEF_39E0_45e4_854F_B3EA272DE745_JZEND_
push dword [esi + 8]
call ebx
pop edi
pop ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x805c]
cmp dword [eax + 4], 1
jne 0x43601f
mov ebx, dword [edi]
cmp dword [esi + 0x2700], 0
je 0x4360d7
call fcn.00435b30
mov eax, dword [edi + 0x8040]
mov dword [ebp - 8], eax
push 0
mov edx, dword [eax + 8]
add edx, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 0x1c]
mov eax, ecx
mov dword [ebp - 4], ecx
sar eax, 0x1f
lea eax, [ebp - 4]
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x436071
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x436121
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436121
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x436121
mov eax, dword [ebp - 8]
add dword [eax + 0x18], ecx
mov ecx, esi
adc dword [eax + 0x1c], 0
mov eax, dword [ebp + 8]
add dword [esi + 0x5d120], eax
push eax
adc dword [esi + 0x5d124], 0
push edi
call fcn.00436130
mov ecx, esi
call fcn.00435c50
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436121
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x436121
add dword [esi + 0x5d120], eax
mov ecx, esi
push eax
adc dword [esi + 0x5d124], 0
push edi
call fcn.00436130
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43b340
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574c8b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5bd250]
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, dword [ebp + 8]
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call fcn.0053e230
mov eax, dword [ebp + 0xc]
movzx esi, ax
lea eax, [ebp - 0x90]
push esi
push str.._c:
push 0x3f
push eax
call fcn.00546433
xor eax, eax
mov dword [ebp - 0xd4], 7
add esp, 0x1c
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
cmp word [ebp - 0x90], ax
jne 0x43b3cf
xor ecx, ecx
jmp 0x43b3ef
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
jmp 0x43b3e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b3e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00420490
push 0x20
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 0
cmp dword [ebp - 0xd4], 8
lea eax, [ebp - 0xe8]
push ecx
cmovae eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xf0]
push ecx
push 0
lea ecx, [ebp - 0xec]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 1
lea eax, [ebp - 0x90]
jne 0x43b490
push dword [ebp - 0xec]
push str._08X
push 0x3f
push eax
call fcn.00546433
add esp, 0x10
cmp word [ebp - 0x90], 0
jne 0x43b473
xor ecx, ecx
jmp 0x43b561
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b480
jmp 0x43b55d
push esi
push str._c:_
push 0x3f
push eax
call fcn.00546433
add esp, 0x10
cmp word [ebp - 0x90], 0
jne 0x43b4af
xor ecx, ecx
jmp 0x43b4cf
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
jmp 0x43b4c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b4c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00420490
cmp dword [ebp - 0xd4], 8
lea ecx, [ebp - 0xd0]
push 0x20
push ecx
lea ecx, [ebp - 0xf0]
push ecx
push 0
lea ecx, [ebp - 0xec]
push ecx
push 0
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, 1
jne 0x43b577
push dword [ebp - 0xec]
lea eax, [ebp - 0x90]
push str._08X
push 0x3f
push eax
call fcn.00546433
add esp, 0x10
cmp word [ebp - 0x90], 0
jne 0x43b549
xor ecx, ecx
jmp 0x43b561
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43b552
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.00420490
mov esi, 1
jmp 0x43b579
xor esi, esi
cmp dword [ebp - 0xd4], 8
jb 0x43b590
push dword [ebp - 0xe8]
call fcn.0053ce3a
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.0053f9bc
mov esp, ebp
pop ebp
ret 8
Function at 0x43dce0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1308
call fcn.0053fec0
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x12fc], eax
push esi
push edi
mov edi, edx
test eax, eax
je 0x43dee1
test edi, edi
je 0x43dee1
test ebx, ebx
je 0x43dee1
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43dee1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x292]
push eax
call fcn.0053e230
add esp, 0xc
push 0x59a91c
call fcn.0043a3b0
push eax
push 0x5981c0
lea eax, [ebp - 0x294]
push 0x103
push eax
call fcn.00546433
add esp, 0x14
mov dword [ebp - 0x12f8], 0
lea eax, [ebp - 0x1300]
mov dword [ebp - 0x1304], 1
mov dword [ebp - 0x1300], 4
push eax
lea eax, [ebp - 0x12f8]
push eax
lea eax, [ebp - 0x1304]
push eax
push edi
lea eax, [ebp - 0x294]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43ddc2
mov dword [ebp - 0x12f8], 0
jmp 0x43ddcf
cmp dword [ebp - 0x12f8], 0x40
jae 0x43dee1
push 0x105c
lea eax, [ebp - 0x12f0]
push 0
push eax
call fcn.0053e230
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x12f0], eax
mov eax, dword [ebp + 0x14]
push 0x596370
mov dword [ebp - 0x12e8], eax
lea eax, [ebp - 0x12e4]
push 0x823
push eax
mov dword [ebp - 0x12f4], 0x1060
mov dword [ebp - 0x12ec], esi
call fcn.00546433
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x12f4]
mov edx, 0x1060
mov dword [ebp - 0x29c], eax
call fcn.00431a40
add esp, 0x18
mov dword [ebp - 0x298], eax
lea ecx, [ebp - 0x12f4]
call fcn.004319e0
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8a]
push eax
call fcn.0053e230
push dword [ebp - 0x12f8]
lea eax, [ebp - 0x8c]
push dword [ebp - 0x12fc]
push str._s_d
push 0x3f
push eax
call fcn.00546433
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x12f4]
add esp, 0x24
push 0x1060
push eax
push 3
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x294]
push eax
push SysReAllocString
call esi
inc dword [ebp - 0x12f8]
lea eax, [ebp - 0x12f8]
push 4
push eax
push 4
push edi
lea eax, [ebp - 0x294]
push eax
push SysReAllocString
call esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43df00
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
test esi, esi
je 0x43e000
test edx, edx
je 0x43e000
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x28c], ax
lea eax, [ebp - 0x28a]
push eax
call fcn.0053e230
mov eax, dword [0x5c72f0]
add esp, 0xc
test al, 1
jne 0x43df6a
or eax, 1
mov dword [0x5c72f0], eax
call fcn.0043ca50
push 0x57cdc0
call fcn.0053d012
add esp, 4
cmp dword [0x5c7324], 8
mov eax, 0x5c7310
push 0x59a91c
cmovae eax, dword [0x5c7310]
push eax
push 0x5981c0
lea eax, [ebp - 0x28c]
push 0x103
push eax
call fcn.00546433
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0053e230
push dword [ebp + 8]
lea eax, [ebp - 0x84]
push esi
push str._s_d
push 0x3f
push eax
call fcn.00546433
add esp, 0x34
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
mov ecx, 1
cmove edi, ecx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43e020
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1300
call fcn.0053fec0
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
mov eax, edx
xor esi, esi
mov dword [ebp - 0x12fc], eax
push edi
test ebx, ebx
je 0x43e28b
test eax, eax
je 0x43e28b
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x292]
push eax
call fcn.0053e230
mov eax, dword [0x5c72f0]
add esp, 0xc
test al, 1
jne 0x43e0d5
or eax, 1
mov dword [0x5c72f4], 0x59a93c
mov dword [0x5c72f0], eax
xor eax, eax
push 0x57cdc0
mov dword [0x5c7304], esi
mov dword [0x5c7308], esi
mov dword [0x5c730c], esi
mov dword [0x5c7324], 7
mov dword [0x5c7320], esi
mov word [0x5c7310], ax
mov dword [0x5c72f8], eax
mov dword [0x5c72fc], eax
mov dword [0x5c7300], eax
call fcn.0053d012
add esp, 4
cmp dword [0x5c7324], 8
mov eax, 0x5c7310
push 0x59a91c
cmovae eax, dword [0x5c7310]
push eax
push 0x5981c0
lea eax, [ebp - 0x294]
push 0x103
push eax
call fcn.00546433
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x8a]
push eax
call fcn.0053e230
push dword [ebp + 8]
lea eax, [ebp - 0x8c]
push ebx
push str._s_d
push 0x3f
push eax
call fcn.00546433
push 0x105c
lea eax, [ebp - 0x12f0]
mov dword [ebp - 0x12f8], 3
push 0
push eax
mov dword [ebp - 0x12f4], esi
call fcn.0053e230
add esp, 0x40
mov dword [ebp - 0x1300], 0x1060
lea eax, [ebp - 0x1300]
push eax
lea eax, [ebp - 0x12f4]
push eax
lea eax, [ebp - 0x12f8]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x294]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43e265
cmp dword [ebp - 0x12f8], 3
jne 0x43e265
push ecx
lea ecx, [ebp - 0x12f4]
call fcn.004319e0
add esp, 4
cmp dword [ebp - 0x12f4], 0x1060
jne 0x43e265
mov edi, dword [ebp - 0x12ec]
cmp edi, 1
jbe 0x43e265
mov esi, dword [ebp - 0x298]
lea ecx, [ebp - 0x12f4]
mov edx, 0x1060
mov dword [ebp - 0x298], 0
call fcn.00431a40
cmp esi, eax
jne 0x43e263
dec edi
lea ecx, [ebp - 0x12f4]
mov edx, 0x1060
mov dword [ebp - 0x12ec], edi
call fcn.00431a40
push ecx
lea ecx, [ebp - 0x12f4]
mov dword [ebp - 0x298], eax
call fcn.004319e0
add esp, 4
lea eax, [ebp - 0x12f4]
push 0x1060
push eax
push 3
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x294]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
xor esi, esi
push dword [ebp + 8]
mov edx, dword [ebp - 0x12fc]
mov ecx, ebx
call fcn.0043df00
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43e2a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x43e3f9
test edi, edi
je 0x43e3f9
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0053e230
mov eax, dword [0x5c72f0]
add esp, 0xc
test al, 1
jne 0x43e30a
or eax, 1
mov dword [0x5c72f0], eax
call fcn.0043ca50
push 0x57cdc0
call fcn.0053d012
add esp, 4
cmp dword [0x5c7324], 8
mov eax, 0x5c7310
push 0x59a91c
cmovae eax, dword [0x5c7310]
push eax
push 0x5981c0
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.00546433
add esp, 0x14
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 4
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x210]
cmp eax, 0x40
jbe 0x43e39a
mov eax, 0x40
mov dword [ebp - 0x210], eax
jmp 0x43e39e
test eax, eax
je 0x43e3f9
push esi
xor esi, esi
test eax, eax
je 0x43e3bb
push esi
mov edx, edi
mov ecx, ebx
call fcn.0043df00
inc esi
add esp, 4
cmp esi, dword [ebp - 0x210]
jb 0x43e3a5
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
push 4
push edi
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43e410
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5bd250]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edi
test ecx, ecx
je 0x43e4e0
cmp word [ecx], di
je 0x43e4e0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x43e4dc
xor esi, esi
cmp dword [ebp - 0x34], esi
jle 0x43e4d5
test esi, esi
je 0x43e4cf
mov edi, dword [ebx + esi*4]
test edi, edi
je 0x43e4cc
cmp word [edi], 0
je 0x43e4cc
push 1
push 0x59997c
push edi
call fcn.005489b3
add esp, 0xc
test eax, eax
je 0x43e4cc
push edi
lea ecx, [ebp - 0x2c]
call fcn.00420610
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 0
call fcn.0041bb20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041fc50
mov edi, 1
mov dword [ebp - 0x30], edi
jmp 0x43e4cf
mov edi, dword [ebp - 0x30]
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x43e472
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x43e4e2
xor eax, eax
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.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43e850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
xor eax, eax
test ebx, ebx
je 0x43e958
push 0x206
xor esi, esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push esi
push eax
call fcn.0053e230
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x210]
call fcn.0053da73
add esp, 4
test eax, eax
jne 0x43e8f0
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0053e230
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push dword [ebp - 0x210]
call fcn.0053da73
add esp, 4
test eax, eax
je 0x43e8f7
movzx esi, word [ebp - 0x210]
push esi
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x229]
call fcn.0043a4e0
cmp dword [ebp - 0x218], edi
je 0x43e93f
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
push 0x596370
push 0x102
push ebx
call fcn.00546433
add esp, 0x10
mov edi, 1
cmp dword [ebp - 0x214], 8
jb 0x43e956
push dword [ebp - 0x228]
call fcn.0053ce3a
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret
Function at 0x43fcd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2884
call fcn.0053fec0
mov eax, dword [0x5bd250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
push edi
mov dword [ebp - 0x2880], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x287c], esi
push 0x2450
push eax
mov word [ebp - 0x2878], ax
xor ebx, ebx
lea eax, [ebp - 0x2874]
push eax
call fcn.0053e230
add esp, 0xc
lea edx, [ebp - 0x2878]
mov ecx, esi
push ebx
call fcn.004324a0
add esp, 4
test eax, eax
je 0x43fea7
push 0x62f18
call fcn.0053ce93
add esp, 4
test eax, eax
je 0x43fea7
mov ecx, eax
call fcn.00431f30
mov edi, eax
test edi, edi
je 0x43fea7
push 0x1048
lea esi, [edi + 0x5d540]
push ebx
push esi
call fcn.0053e230
add esp, 0xc
push dword [ebp - 0x287c]
push 0x596370
push 0x823
push esi
call fcn.00546433
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 0x62ef0]
mov dword [edi + 0x62ecc], eax
add esp, 0x10
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x26b8], eax
lea eax, [ebp - 0x287c]
mov dword [edi + 0x2468], 1
push eax
mov dword [edi + 0x26a4], 0x43fbd0
mov dword [edi + 0x26a0], ebx
mov dword [ebp - 0x287c], ebx
call fcn.00437a50
lea eax, [ebp - 0x287c]
mov dword [ebp - 0x287c], ebx
push eax
lea ecx, [edi + 0x62ef0]
call fcn.00437a50
lea eax, [ebp - 0x287c]
mov dword [ebp - 0x287c], ebx
push eax
lea ecx, [edi + 0x62ef0]
call fcn.00437a50
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call fcn.0053e230
mov esi, dword [ebp - 0x2880]
add esp, 0xc
test esi, esi
je 0x43fe9f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0053e230
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x59aa10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor eax, eax
cmp ax, word [esi]
je 0x43fe9f
push esi
mov ecx, edi
call fcn.00411840
mov ecx, edi
call fcn.004325a0
test eax, eax
je 0x43fe9f
push ecx
mov ecx, edi
call fcn.004329e0
cmp dword [edi + 0x5d108], 7
mov eax, 1
cmove ebx, eax
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053f9bc
mov esp, ebp
pop ebp
ret