joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d160
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x800], eax
test esi, esi
je 0x42d1ea
push 0x800
lea eax, [esp + 4]
push 0
push eax
call fcn.0044efc0
mov ecx, dword [esi]
mov eax, dword [ecx + 0x20]
add esp, 0xc
push 0x400
lea edx, [esp + 4]
push edx
push esi
call eax
cmp word [esp], 0
je 0x42d1ea
lea ecx, [esp]
push ecx
push 1
push 0
mov dword [0x488c38], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x488c38], eax
test eax, eax
je 0x42d1ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42d1ea
xor eax, eax
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret
mov ecx, dword [esp + 0x800]
xor ecx, esp
mov eax, 1
call fcn.0044efac
add esp, 0x804
ret

Function at 0x42d550
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42d570
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x42d584
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x42d5b0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x42d5c6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42d5d3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x42dc50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x42dcc6
xor eax, eax
cmp ecx, edi
je 0x42dcb4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x42dcd4
cmp ecx, edi
je 0x42dd72
push ecx
jmp 0x42dd6c
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x42dd3c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.0042dc50
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x42dd8b
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x42dd00
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42dd4f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x42dd72
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044efac
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x42dd74
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044efac
mov esp, ebp
pop ebp
ret 4
Function at 0x42f510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x46a520
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x486d80]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x42f592
call fcn.0042d3c0
mov edi, eax
jmp 0x42f674
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42f5ab
call fcn.0042d3c0
jmp 0x42f66b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x42f5c6
call fcn.0042d3c0
jmp 0x42f66b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x42f5fc
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x42f5ea
lea ecx, [ebp]
call fcn.0042dbf0
lea ecx, [ebp - 0x20]
call fcn.0042db90
mov eax, 0x8007000e
jmp 0x42f686
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042e340
mov dword [ebp - 4], 1
jmp 0x42f628
mov eax, dword [ebp]
test eax, eax
jne 0x42f636
mov edi, 0x8007000e
jmp 0x42f66d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x42f64f
call fcn.0042d3c0
jmp 0x42f66b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042f2e0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x42f684
lea ecx, [ebp]
call fcn.0042dbf0
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 + 0x404]
xor ecx, ebp
call fcn.0044efac
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42fd00
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 8]
call fcn.0041a210
mov esi, dword [esp + 4]
cmp dword [esi - 8], 0
jl 0x42fd5e
push 0x46fcdc
push esi
call fcn.00450448
add esp, 8
test eax, eax
je 0x42fd5e
sub eax, esi
sar eax, 1
js 0x42fd5e
lea eax, [esi - 0xc]
cmp eax, dword [0x485060]
je 0x42fd56
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42fd56
push esi
call fcn.0044fbd4
add esp, 4
mov eax, 1
pop esi
pop ecx
ret
lea ecx, [esi - 0xc]
cmp ecx, dword [0x485060]
je 0x42fd80
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42fd80
push esi
call fcn.0044fbd4
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
Function at 0x42fd90
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46a588
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42fe16
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x42fe11
cmp eax, 0x50
je 0x42fe11
cmp eax, 0xb7
je 0x42fe11
lea ecx, [esp + 0x2c]
call fcn.00416500
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
mov ebp, 1
push str.wftest.tf
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041a330
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x120116
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42fea1
mov eax, str.wftest
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fe56
push 0
sub eax, edx
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push str.wftest
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42fe8f
cmp esi, dword [esp + 0x14]
jne 0x42fe8f
mov dword [esp + 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebp, ebp
je 0x42feb2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00401d70
add esp, 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, dword [0x485060]
je 0x42fee1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42fee1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0044fbd4
add esp, 4
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x485060]
je 0x42ff0a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ff0a
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.0044fbd4
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x432e70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46a8d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00431860
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
or eax, 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0xc], 4
mov dword [esi + 0x4c], vtable.IExtractCallback.0
lea ecx, [esi + 0x58]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CSetupProgressDialog.2.0
mov dword [esi + 0x10], vtable.CSetupProgressDialog.1.0
mov dword [esi + 0x4c], vtable.CSetupProgressDialog.0
call fcn.004274a0
mov eax, dword [0x485064]
mov dword [esi + 0x338], eax
mov ecx, dword [0x485064]
lea edx, [esi + 0x344]
mov dword [esi + 0x33c], ecx
push edx
mov dword [esi + 0x340], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], 0x50
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x434100
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
xor eax, eax
lea edx, [esp + 4]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, 5
mov word [esp + 0x60], cx
mov ecx, dword [esp + 0x78]
push 0
push ecx
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x43418a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x60]
mov dword [edx], eax
mov eax, esi
pop esi
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 4]
mov eax, esi
mov dword [ecx], edx
pop esi
add esp, 0x54
ret
Function at 0x4346f0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434706
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x43470c
mov eax, 1
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x434731
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x434738
push esi
call edi
test eax, eax
je 0x434738
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x434790
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [esp + 0x808]
push esi
mov esi, dword [eax]
mov eax, dword [esi - 8]
test eax, eax
jne 0x4347cf
xor eax, eax
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret 4
cmp eax, 0x104
jge 0x4347b5
push 0x800
lea eax, [esp + 8]
push 0
push eax
call fcn.0044efc0
add esp, 0xc
push 0x472e74
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x804]
pop esi
xor ecx, esp
call fcn.0044efac
add esp, 0x804
ret 4

Function at 0x436790
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x4367ab
pop edi
mov eax, 1
pop esi
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4367a3
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4367cd
push esi
call edi
test eax, eax
jne 0x4367a3
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
xor eax, eax
pop esi
ret

Function at 0x4367f0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.00436790
add esp, 4
cmp dword [esp + 0x10], 0
je 0x436814
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, 1
ret
Function at 0x436ed0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46ae16
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8a8]
xor ebx, ebx
mov dword [esp + 0x18], esi
cmp esi, ebx
jne 0x436f23
xor eax, eax
jmp 0x4370f1
cmp word [esi], bx
je 0x436f1c
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x436f30
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x436f1c
push 0x410
lea eax, [esp + 0x488]
push ebx
push eax
call fcn.0044efc0
add esp, 0xc
push 0x478774
push esi
lea ecx, [esp + 0x48c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436f8b
test al, 1
je 0x436f8b
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, 0x5c
mov word [esp + 0x478], dx
mov dword [esp + 0x47c], ebx
mov dword [esp + 0x480], ebx
lea eax, [esp + 0x484]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x8a4], ebx
call fcn.00436a40
cmp eax, ebx
je 0x4370d1
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
cmp dword [esp + 0x480], ebx
je 0x437029
mov ecx, dword [esp + 0x20]
shr ecx, 4
and ecx, 1
je 0x437029
cmp word [esp + 0x4c], 0x2e
jne 0x437029
mov ax, word [esp + 0x4e]
cmp ax, bx
je 0x437004
cmp ax, 0x2e
jne 0x437029
cmp word [esp + 0x50], bx
jne 0x437029
mov eax, dword [esp + 0x47c]
cmp eax, ebx
je 0x4370d1
lea edx, [esp + 0x20]
push edx
push eax
call ebp
mov dword [esp + 0x480], eax
mov esi, eax
jmp 0x4370c5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.00436d50
mov byte [esp + 0x8a0], 1
cmp dword [esp + 0x480], ebx
je 0x437062
mov eax, dword [esp + 0x20]
shr eax, 4
and eax, 1
cmp eax, ebx
je 0x437062
mov edi, dword [esp + 0x14]
push edi
call fcn.00436ed0
jmp 0x43706c
mov edi, dword [esp + 0x14]
push edi
call fcn.00436790
mov eax, dword [esp + 0x480]
add esp, 4
cmp eax, ebx
jne 0x43707e
xor esi, esi
jmp 0x43709c
cmp dword [esp + 0x480], ebx
jne 0x43708b
xor esi, esi
jmp 0x43709c
lea ecx, [esp + 0x20]
push ecx
push eax
call ebp
mov dword [esp + 0x480], eax
mov esi, eax
lea edx, [edi - 0xc]
mov byte [esp + 0x8a0], bl
cmp edx, dword [0x485060]
je 0x4370c5
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4370c5
push edi
call fcn.0044fbd4
add esp, 4
cmp esi, ebx
mov esi, dword [esp + 0x18]
jne 0x436fd0
lea ecx, [esp + 0x20]
call fcn.00436a10
push esi
call fcn.00401d70
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00436a10
mov eax, 1
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0044efac
add esp, 0x890
ret
Function at 0x437d30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46ae66
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea eax, [esp + 0xb]
push eax
lea edx, [esp + 0xf]
lea ecx, [esi + 4]
push edx
mov dword [esi], vtable.CUninstaller.0
call fcn.00437190
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov ecx, dword [0x485064]
mov dword [esp + 0x18], eax
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [esi + 0x44], eax
call fcn.00427370
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x437e20
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x46ae9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x486d80]
xor eax, esp
mov dword [esp + 0x2a4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x2bc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2cc]
mov esi, ecx
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x437ec9
cmp dword [esi + 0x30], 0
je 0x437ec9
push 0x2a0
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0044efc0
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx - 8]
lea eax, [edi + eax*2]
add esp, 0xc
cmp word [eax], 0x5c
jne 0x437e97
add eax, 2
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
call edx
test eax, eax
je 0x437ec9
cmp dword [esp + 0x2ac], 0
jne 0x437ebd
cmp dword [esp + 0x2a8], 0
je 0x437ec9
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov eax, dword [esi + 0x24]
test eax, eax
je 0x437eeb
movzx ecx, word [esi + 0x38]
movzx edx, word [esi + 0x3c]
shl ecx, 0x10
or ecx, edx
push ecx
push edi
push 0x343f
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [esi + 0x38]
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 0xffffffff
je 0x437f1f
test al, 0x10
je 0x437f1f
push edi
mov ebx, 1
call fcn.00401d70
add esp, 4
test eax, eax
je 0x437f26
mov eax, ebx
jmp 0x437fc5
push edi
call ebp
test eax, eax
jne 0x437f41
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x437f5b
push edi
test ebx, ebx
jne 0x437f48
call ebp
test eax, eax
je 0x437f5b
mov eax, 1
jmp 0x437fc5
call fcn.00401d70
add esp, 4
test eax, eax
je 0x437f5b
mov eax, 1
jmp 0x437fc5
push edi
lea ecx, [esp + 0x18]
call fcn.0041a210
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x48]
mov dword [esp + 0x2c8], 0
call fcn.0041c4c0
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
mov dword [esp + 0x2c4], 0xffffffff
cmp ecx, dword [0x485060]
je 0x437fae
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x437fae
push edi
call fcn.0044fbd4
add esp, 4
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x44], 1
test ecx, ecx
je 0x437fc3
push 1
call fcn.00434740
xor eax, eax
mov ecx, dword [esp + 0x2bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a4]
xor ecx, esp
call fcn.0044efac
add esp, 0x2b4
ret 4
Function at 0x4385e0
Capabilities:
Check if file exists

Disassembly:
call fcn.004048a0
test eax, eax
je 0x4385ef
mov eax, 1
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x438632
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438632
push esi
call fcn.0044ee90
add esp, 4
test eax, eax
je 0x438632
push esi
call fcn.00404920
add esp, 4
test eax, eax
jne 0x438632
push 1
call fcn.0044eb40
push eax
push esi
call fcn.0044ed50
add esp, 0xc
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x43bb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b303
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CUninstallProgressDialog.1.0
mov dword [esi + 0x10], vtable.CUninstallProgressDialog.0
lea ecx, [esi + 0x54]
mov dword [esp + 0x14], 1
call fcn.00437750
mov eax, dword [esi + 0x50]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x485060]
je 0x43bba0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43bba0
mov eax, dword [esi + 0x50]
sub eax, 0xc
push eax
call fcn.0044fbd4
add esp, 4
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], 0xffffffff
test eax, eax
je 0x43bbbf
push eax
call fcn.00450315
add esp, 4
mov dword [esi + 0x2c], 0
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00420d60
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x43bcd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46b333
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x486d80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00431860
xor ebx, ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
or eax, 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0xc], 0x3e8
mov dword [esi], vtable.CUninstallProgressDialog.1.0
mov dword [esi + 0x10], vtable.CUninstallProgressDialog.0
mov eax, dword [0x485064]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x50], eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 1
call fcn.00437d30
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret