joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d7c0
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4820eb
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00462bf0
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1030]
mov esi, dword [esp + 0x1034]
mov edi, dword [esp + 0x1038]
test ebx, ebx
je 0x42d9f3
test esi, esi
je 0x42d9f3
push 0x800
lea eax, [esp + 0x820]
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.00461950
push 0x800
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.00461950
push 0x400
lea edx, [esp + 0x838]
push esi
push edx
call fcn.00462b97
add esp, 0x24
lea eax, [esp + 0x81c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x81c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea edx, [esp + 0x81c]
push edx
call fcn.0042b260
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d946
push esi
push str.File__s_exist
call fcn.0041aa30
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 8
push esi
call ebp
test eax, eax
jne 0x42d946
push esi
push str.Delete_File__s_failed
call fcn.0041aa30
add esp, 8
lea eax, [esp + 0x1c]
push eax
push 0
push 0x48a924
lea ecx, [esp + 0x828]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 0x1c]
push edx
call ebp
push esi
call fcn.0042ce30
add esp, 4
test al, al
jne 0x42d9ab
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x42d9ab
push esi
push str.Move_File__s_to_temp_dir
call fcn.0041aa30
add esp, 8
push 4
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x42d93e
mov dword [edi], 4
mov dword [esp + 0x18], 1
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42d9a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a4014]
mov dword [esp + 0x14], ecx
push eax
push esi
push ebx
lea edx, [esp + 0x20]
push str.Copy_From__s_to__s_Failed_Error_Code___d
push edx
mov dword [esp + 0x103c], 0
call fcn.0041d3c0
mov eax, dword [esp + 0x28]
push eax
call fcn.0041aa30
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x1028], 0xffffffff
call fcn.0041b2e0
cmp dword [esp + 0x18], 0
je 0x42d9ec
jmp 0x42d9df
push esi
push str.Move_File__s_failed__replace_until_reboot
call fcn.0041aa30
add esp, 8
push 0
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
je 0x42d9df
mov dword [edi], 5
mov ecx, dword [0x4a7cf8]
push 1
call fcn.0043ef80
mov eax, 1
jmp 0x42d9f5
xor eax, eax
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00461932
add esp, 0x1018
ret
Function at 0x42db40
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push 0xffffffffffffffff
push 0x482171
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0xa84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0xa9c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0xaac]
mov ebp, dword [esp + 0xab0]
xor ebx, ebx
cmp esi, ebx
je 0x42dd98
cmp ebp, ebx
je 0x42dd98
cmp word [esi], bx
je 0x42dd98
cmp word [ebp], bx
je 0x42dd98
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42dbb5
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x42dd98
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42dbd4
sub eax, edx
sar eax, 1
cmp eax, 0x104
jge 0x42dd98
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42dcb3
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
call fcn.0042b260
add esp, 4
push 0x410
lea edx, [esp + 0x68c]
push ebx
push edx
call fcn.00461950
push 0x206
lea ecx, [esp + 0x492]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x498], ax
call fcn.00461950
add esp, 0x18
push 0x48b4d8
push esi
lea edx, [esp + 0x690]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov word [esp + 0x474], ax
mov dword [esp + 0x478], ebx
mov dword [esp + 0x47c], ebx
lea ecx, [esp + 0x688]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xaa8], ebx
call fcn.0042ba30
cmp eax, ebx
je 0x42dd86
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x1c]
call fcn.0042b9f0
lea ecx, [esp + 0x1c]
test eax, eax
je 0x42dceb
call fcn.0042b770
mov esi, eax
jmp 0x42dd7e
push ebp
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x42dc05
push ebp
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0042ca10
mov ecx, dword [esp + 0x14]
push 3
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x14]
call fcn.0041b2e0
jmp 0x42dc0e
lea edx, [esp + 0x14]
push edx
call fcn.0042c670
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xaa8], 1
call fcn.0042c600
mov byte [esp + 0xaa4], 2
cmp dword [esp + 0x47c], ebx
je 0x42dd2a
mov eax, dword [esp + 0x1c]
shr eax, 4
and eax, 1
cmp eax, ebx
jne 0x42dd5a
push ebp
lea ecx, [esp + 0x484]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x484]
push eax
call edi
mov edx, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x484]
push ecx
push edx
call fcn.0042d7c0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0042b770
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.0041b2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0xaa4], bl
call fcn.0041b2e0
cmp esi, ebx
jne 0x42dc96
lea ecx, [esp + 0x1c]
call fcn.0042b9c0
lea ecx, [esp + 0x1c]
call fcn.0042b9c0
mov ecx, dword [esp + 0xa9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa84]
xor ecx, esp
call fcn.00461932
add esp, 0xa94
ret 8
Function at 0x42e0d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x482226
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x53c], eax
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x54c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x55c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x142]
push ecx
xor edi, edi
mov word [esp + 0x144], ax
call fcn.00461950
add esp, 0xc
lea edx, [esp + 0x138]
push edx
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.360Desktop
lea eax, [esp + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x48b53c
lea edx, [esp + 0x13c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x138]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e297
push esi
call fcn.0042b7a0
add esp, 4
cmp eax, 1
jne 0x42e1a3
jmp 0x42e299
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x34a]
push edx
mov word [esp + 0x34c], cx
call fcn.00461950
mov eax, dword [esi]
add esp, 0xc
push str.ACS.ini
push eax
lea eax, [esp + 0x348]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x2c]
call fcn.0042a750
push 0x48b538
push str.main_switch
push str.ACS_INIT
lea ecx, [esp + 0x38]
mov dword [esp + 0x560], 0
call fcn.0042afe0
sub esp, 0x1c
lea edx, [esp + 0x35c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0040cb50
lea eax, [esp + 0x2c]
push eax
call fcn.004446a0
add esp, 0x20
mov eax, dword [esp + 0x14]
mov esi, 0x10
mov byte [esp + 0x554], 1
cmp dword [esp + 0x28], esi
jae 0x42e243
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.0042ad30
lea ecx, [esp + 0x2c]
call fcn.0042afb0
mov edi, 1
cmp dword [esp + 0x28], esi
jb 0x42e26e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00458da0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x554], 0xffffffff
call fcn.0042afb0
mov eax, edi
mov ecx, dword [esp + 0x54c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x53c]
xor ecx, esp
call fcn.00461932
add esp, 0x54c
ret
Function at 0x431120
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a7d00]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ecx
test eax, eax
je 0x431140
push eax
call edi
mov dword [0x4a7d00], 0
mov eax, dword [0x4a7d04]
test eax, eax
je 0x431156
push eax
call edi
mov dword [0x4a7d04], 0
lea ecx, [esi + 0x48]
call fcn.0043ea60
mov ecx, eax
call fcn.0041ad40
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43117f
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.00430cb0
pop edi
xor eax, eax
pop esi
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x4828a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPromoteDialog.1.0
mov dword [esi + 0x14], vtable.CPromoteDialog.0
xor edi, edi
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], edi
call fcn.0044c690
mov eax, dword [esi + 0x30]
mov dword [esp + 0x18], 0xffffffff
cmp eax, edi
je 0x4342cf
push eax
call fcn.00464164
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, esi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
call fcn.00427060
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x434500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482908
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043b260
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
or ecx, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x4c], al
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ecx
mov dword [esi + 0xc], 3
mov dword [esi], vtable.CPromoteDialog.1.0
mov dword [esi + 0x14], vtable.CPromoteDialog.0
mov dword [esi + 0x58], eax
lea ecx, [esi + 0x60]
mov dword [esp + 0x14], eax
mov dword [esi + 0x5c], eax
call fcn.0044c9c0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x435310
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x482a38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4a4014]
mov dword [esp + 8], eax
xor eax, eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea edx, [ecx + 4]
push edx
call fcn.00434f10
mov esi, dword [esp + 8]
test eax, eax
je 0x43537f
mov eax, dword [esp + 0xc]
push eax
push esi
push 7
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a4010]
je 0x4353a1
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4353a1
push esi
call fcn.00462471
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x436090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x482b88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, 0x80000
mov dword [esp + 0x20], 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
lea ebx, [ebx]
mov eax, dword [0x4a4014]
mov dword [esp + 0x14], eax
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0
call fcn.0041b800
test eax, eax
mov eax, dword [esp + 0x14]
je 0x4361a9
lea edx, [esp + 0x18]
push edx
push eax
mov dword [eax - 8], esi
xor ecx, ecx
mov word [eax + esi*2], cx
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.0041b900
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [esi - 8], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x4361cf
cmp edi, 0xea
jne 0x436224
mov edx, dword [esp + 0x18]
lea ecx, [esi - 0xc]
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0xffffffff
cmp ecx, dword [0x4a4010]
je 0x436192
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436192
push esi
call fcn.00462471
add esp, 4
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 0xa
mov dword [esp + 0x1c], eax
jge 0x436209
mov esi, dword [esp + 0x18]
jmp 0x4360e0
lea edx, [eax - 0xc]
cmp edx, dword [0x4a4010]
je 0x4361cb
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4361cb
push esi
call fcn.00462471
add esp, 4
xor eax, eax
jmp 0x43620e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [ecx + 4]
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebx
call fcn.00435e60
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a4010]
je 0x436209
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436209
push esi
call fcn.00462471
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
lea edx, [esi - 0xc]
cmp edx, dword [0x4a4010]
je 0x4361cb
add esi, 0xfffffff4
jmp 0x4361b7

Function at 0x436bc0
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 0x436be0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x436bf4
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 0x436c20
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x436c36
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 0x436c43
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 0x4372a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x4a60f8]
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 0x437316
xor eax, eax
cmp ecx, edi
je 0x437304
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 0x437324
cmp ecx, edi
je 0x4373c2
push ecx
jmp 0x4373bc
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 0x43738c
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.004372a0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x4373db
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 0x437350
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x43739f
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 0x4373c2
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.00461932
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x4373c4
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.00461932
mov esp, ebp
pop ebp
ret 4
Function at 0x437770
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x804
mov eax, dword [0x4a60f8]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
mov esi, ecx
test esi, esi
jne 0x4377a6
mov eax, 1
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00461932
add esp, 0x804
ret
push 0x800
lea eax, [esp + 8]
push 0
push eax
call fcn.00461950
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
add esp, 0xc
push 0x400
lea edx, [esp + 8]
push edx
push esi
call eax
cmp word [esp + 4], 0
je 0x43778b
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [esp + 0xc]
push ecx
mov esi, 1
push esi
push 0
mov dword [0x4a7d00], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4a7d00], eax
test eax, eax
je 0x43780f
call ebp
cmp eax, 0xb7
jne 0x43780f
xor esi, esi
push 0x48c4b0
push 1
push 0
mov dword [0x4a7d04], 0
call edi
mov dword [0x4a7d04], eax
test eax, eax
je 0x43783a
call ebp
cmp eax, 0xb7
jne 0x43783a
xor esi, esi
jmp 0x43783e
test esi, esi
jne 0x437843
call fcn.00430b90
mov ecx, dword [esp + 0x80c]
pop edi
pop ebp
mov eax, esi
pop esi
xor ecx, esp
call fcn.00461932
add esp, 0x804
ret
Function at 0x438e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x482d90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a60f8]
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 0x438ed2
call fcn.00436aa0
mov edi, eax
jmp 0x438fb4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x438eeb
call fcn.00436aa0
jmp 0x438fab
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x438f06
call fcn.00436aa0
jmp 0x438fab
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 0x438f3c
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x438f2a
lea ecx, [ebp]
call fcn.00437260
lea ecx, [ebp - 0x20]
call fcn.00437200
mov eax, 0x8007000e
jmp 0x438fc6
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00437c90
mov dword [ebp - 4], 1
jmp 0x438f68
mov eax, dword [ebp]
test eax, eax
jne 0x438f76
mov edi, 0x8007000e
jmp 0x438fad
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x438f8f
call fcn.00436aa0
jmp 0x438fab
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.00438b90
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x438fc4
lea ecx, [ebp]
call fcn.00437260
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.00461932
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4398f0
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.0041d2c0
mov esi, dword [esp + 4]
cmp dword [esi - 8], 0
jl 0x43994e
push str._uninstall
push esi
call fcn.00463d66
add esp, 8
test eax, eax
je 0x43994e
sub eax, esi
sar eax, 1
js 0x43994e
lea eax, [esi - 0xc]
cmp eax, dword [0x4a4010]
je 0x439946
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x439946
push esi
call fcn.00462471
add esp, 4
mov eax, 1
pop esi
pop ecx
ret
lea ecx, [esi - 0xc]
cmp ecx, dword [0x4a4010]
je 0x439970
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x439970
push esi
call fcn.00462471
add esp, 4
xor eax, eax
pop esi
pop ecx
ret
Function at 0x43c170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4831df
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a60f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0043b260
xor ebx, ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
or eax, 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x4c], bl
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0xc], 2
mov dword [esi + 0x54], vtable.IExtractCallback.0
lea ecx, [esi + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.CSetupProgressDialog.2.0
mov dword [esi + 0x14], vtable.CSetupProgressDialog.1.0
mov dword [esi + 0x54], vtable.CSetupProgressDialog.0
call fcn.0042ea90
mov eax, dword [0x4a4014]
mov dword [esi + 0x358], eax
mov dword [esi + 0x35c], ebx
lea ecx, [esi + 0x388]
mov byte [esp + 0x18], 2
mov dword [esi + 0x380], ebx
mov dword [esi + 0x384], ebx
call fcn.00433410
lea ecx, [esi + 0x3c8]
mov byte [esp + 0x18], 3
call fcn.0042a460
lea ecx, [esi + 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], 0x5a
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret