joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431ca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x431ca9
cmp dword [ebp + 0xc], 0
je 0x431cbc
mov dword [ebp - 0x10], 1
jmp 0x431cc3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x431cd6
mov eax, 0xd
jmp 0x431d33
xor edx, edx
jne 0x431cad
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004bb901
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x431ce7
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x432800
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0xc], ecx
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 8]
push eax
push 0x5231d0
push 0x5231e8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43285a
jmp 0x43289d
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43286d
jmp 0x43289d
push 0x52320c
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push str.three_end
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor ecx, ecx
jne 0x43280c
mov esp, ebp
pop ebp
ret
Function at 0x433520
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.0049ed70
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x214]
push eax
call fcn.004bb901
add esp, 4
test eax, eax
jne 0x433576
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [ebp - 0x214]
push edx
call fcn.004bb901
add esp, 4
cmp eax, 2
jb 0x433611
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x214]
cmp ecx, 0x3a
jne 0x433611
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
mov eax, 2
imul ecx, eax, 0
mov edx, 2
imul eax, edx, 0
mov cx, word [ebp + ecx - 0x214]
mov word [ebp + eax - 8], cx
mov edx, 2
shl edx, 0
mov eax, 0x3a
mov word [ebp + edx - 8], ax
mov ecx, 2
shl ecx, 1
mov edx, 0x5c
mov word [ebp + ecx - 8], dx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
je 0x433611
push 0
push 0
push 0x465
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esp, ebp
pop ebp
ret

Function at 0x436010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00437170
mov ecx, eax
call fcn.00405310
push eax
push 0x523878
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004042d0
mov esp, ebp
pop ebp
ret

Function at 0x4368f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00436f70
mov ecx, eax
call fcn.00405310
push eax
push 0x523a80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004042d0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4369c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
mov byte [ebp - 1], al
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 1]
call fcn.00437350
mov ecx, eax
call fcn.00405310
push eax
push 0x523a8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004042d0
sub esp, 0x28
mov ecx, esp
push 0
call fcn.0042dd60
push 0
push 0
push str.click_feedgroup
call fcn.0042fd00
mov ecx, eax
call fcn.0040b7c0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x438360
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00418600
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x40]
call edx
cmp dword [ebp - 0xc], 1
jne 0x4384fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x68], 0
je 0x4384fd
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419eb0
mov ecx, dword [ebp - 4]
call fcn.00437d20
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf4]
call ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4383f5
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x84]
call edx
test eax, eax
je 0x4384fd
mov dword [ebp - 0xc], 2
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
je 0x438415
mov dword [ebp - 0x14], 1
jmp 0x43841c
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x438455
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
jne 0x438455
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 0
push 1
push 0
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x43847b
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x58], 0
je 0x43847b
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5c], 0
jne 0x43847b
mov eax, dword [ebp - 4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5c], 1
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x438497
mov dword [ebp - 0x18], 1
jmp 0x43849e
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x4384d7
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
jne 0x4384d7
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x60], 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], 0
push 1
push 1
push 0x3401
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00419cc0
jmp 0x4384fd
mov eax, dword [ebp - 4]
cmp dword [eax + 0x60], 0
je 0x4384fd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x5c], 0
jne 0x4384fd
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x5c], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x43d4a0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x558438]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x43d574
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049ed70
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
call fcn.0043d6f0
test eax, eax
jne 0x43d53f
push 1
push 0x2a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x20c], 0
jne 0x43d526
push str.C:Program_Files
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004bad95
add esp, 0xc
push 0x526284
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004bad95
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [eax + 0x2c]
test eax, eax
je 0x43d561
push 0x32
call fcn.0044b750
add esp, 4
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x10]
push esi
call fcn.004bae6a
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046d3b6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43d6f0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x558438]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43d7a1
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0049ed70
add esp, 0xc
mov dword [ebp - 0x214], 1
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push str.Setup_Path
push str.SOFTWAREAnything
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43d7a1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43d7a1
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.004bae6a
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3b6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046d3b6
mov esp, ebp
pop ebp
ret 8
Function at 0x43d920
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514648
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x558438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x43d961
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x18]
call fcn.0044a4a0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0044a850
test eax, eax
jne 0x43d989
xor esi, esi
jmp 0x43d9ba
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.curlnet.dll
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
lea ecx, [ebp - 0x18]
call fcn.0044a890
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
lea ecx, [ebp - 0x18]
call fcn.0044a4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43d9e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514686
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x558438]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.0044a4a0
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.0044a850
test eax, eax
jne 0x43da4b
xor edi, edi
jmp 0x43db2f
call fcn.00405110
mov ecx, eax
test ecx, ecx
je 0x43db5a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.0044aa50
test eax, eax
jne 0x43da8b
xor edi, edi
jmp 0x43db0d
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0049ed70
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x52623c
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.004ef760
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
add esp, 4
lea esi, [edx + 2]
mov edi, eax
lea ecx, [ecx + 0x2ac]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x43dae0
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00405ba0
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43db2f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.0044a4c0
mov eax, edi
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.0046d3b6
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404a70
int3
Function at 0x43de00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5146c0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x558438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
push 1
push eax
call dword [ecx + 0x10]
cmp dword [ebp + 0xc], 1
jne 0x43decf
lea ecx, [esi + 0x10c]
call fcn.004472b0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404b30
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.00404b30
add eax, 0x10
add esp, 8
mov dword [ebp + 8], eax
push 0xd
push str.FileList.xml
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00404710
mov esi, dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43deb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x43decf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43dfc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514701
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x558438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x43e16a
push ebx
lea ecx, [ebp + 0xc]
call fcn.00404140
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or esi, 0xffffffff
test eax, eax
je 0x43e129
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x43e038
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x43e04e
call fcn.00405110
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x43e17e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x10], 1
lea esi, [eax + 0x10]
mov eax, dword [edi + 4]
mov dword [ebp + 8], esi
mov dword [ebp - 0x14], eax
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x18], edi
lea edx, [edi + 1]
test edx, edx
js 0x43e188
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43e094
push edx
lea ecx, [ebp + 8]
call fcn.004057d0
mov esi, dword [ebp + 8]
add edi, edi
push edi
push dword [ebp - 0x14]
push edi
push esi
call fcn.0043e6f0
lea ecx, [edi + esi]
add esp, 0x10
test ecx, ecx
jne 0x43e0bd
call fcn.004bac84
mov dword [eax], 0x16
call fcn.004bab5d
jmp 0x43e0c6
mov ax, word [0x521fb4]
mov word [ecx], ax
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, dword [esi - 8]
jg 0x43e188
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp + 0xc]
call fcn.00404410
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e110
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp + 0xc]
call fcn.00404710
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e14b
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0044d570
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43e16a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00404a70
push 0x80070057
call fcn.00404a70
int3
Function at 0x43e1a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x43e206
push esi
mov esi, dword [edx + 4]
test esi, esi
je 0x43e205
mov eax, esi
push ebx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e1c0
sub eax, ebx
sar eax, 1
je 0x43e204
mov ebx, dword [edx + 0xc]
mov ecx, ebx
lea eax, [ecx + 2]
mov dword [ebp + 0xc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e1e0
sub ecx, dword [ebp + 0xc]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push dword [edx + 0x10]
push dword [edx + 8]
push esi
push dword [edx]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
pop esi
pop ebp
ret 8
Function at 0x43f450
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x43f4b4
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x43f4a6
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x43f4a6
push edx
call fcn.00404b30
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x43f49f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x43f4b3
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00405ba0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f51a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x43f51a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43f501
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x43f51a
jg 0x43f512
cmp dword [ebp - 8], 0x40000000
jbe 0x43f51a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43fb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5149f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x558438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x43fbba
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43fbd2
push dword [esi + 0x40]
call fcn.00403290
add esp, 4
lea ecx, [esi + 0x44]
call fcn.00414130
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fbf7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43fc20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43fc40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514a10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x558438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x43fca1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43fcb9
push dword [esi + 0x40]
call fcn.00403290
add esp, 4
lea ecx, [esi + 0x44]
call fcn.00414130
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fcde
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43fd07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x43fd18
push 0x6c
push esi
call fcn.0046ca78
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4