joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409820
Capabilities:
Copy file
Delete file
Get common file path
Get file size
Read file via mapping

Disassembly:
sub esp, 0x108
push esi
mov esi, dword [esp + 0x110]
test esi, esi
je 0x409a45
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x409a45
push ebx
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x409a04
test ebx, ebx
je 0x409a04
push ebp
push edi
push 0x428f10
push 0
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x40989f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4099cc
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x4098c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4099b8
mov eax, dword [esp + 0x124]
push eax
push ebp
mov edi, 1
call fcn.00409710
movzx eax, al
add esp, 8
sub eax, 2
je 0x4098f9
dec eax
je 0x4098ef
dec eax
jne 0x4098fb
mov esi, 0x20010000
jmp 0x4099b8
mov esi, 0xe0010006
jmp 0x4099b8
xor edi, edi
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x120]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push edx
push 0
push 0x426344
lea eax, [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x426344
mov edx, ecx
push edx
call esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.00409760
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x409976
test edi, edi
je 0x40998a
mov ecx, dword [esp + 0x120]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004096a0
mov esi, eax
add esp, 8
test esi, esi
je 0x4099ad
push esi
call fcn.00409670
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x108
ret
mov eax, dword [esp + 0x120]
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4099ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4099b8
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
je 0x4099c3
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [esp + 0x10]
cmp edi, 0xffffffff
je 0x4099d3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00409670
mov esi, eax
add esp, 4
test esi, esi
jge 0x4099f7
mov eax, dword [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
add esp, 0x108
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, 0x20000000
je 0x409a2a
test eax, 0x4000000
je 0x409981
pop ebx
mov eax, 0xe0000003
pop esi
add esp, 0x108
ret
test eax, eax
jle 0x409981
and eax, 0xffff
pop ebx
or eax, 0x80070000
pop esi
add esp, 0x108
ret
mov eax, 0xe0010008
pop esi
add esp, 0x108
ret
Function at 0x409a60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
push esi
push edi
mov byte [esp + 8], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00409580
mov esi, eax
test esi, esi
je 0x409aa6
push 0x104
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
push ecx
call fcn.00409200
mov esi, eax
xor eax, eax
mov byte [esp + 0x114], 0
mov ecx, 0x40
lea edi, [esp + 0x115]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea edx, [esp + 0x118]
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.00409820
add esp, 0x10
cmp eax, 0x20010000
je 0x409b50
lea ecx, [esp + 0x110]
push ecx
call fcn.00409200
add esp, 4
test eax, eax
jne 0x409b15
mov al, byte [esp + 8]
neg al
sbb eax, eax
and eax, 0x3ffffffc
add eax, 0xe0010004
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, esi
jbe 0x409b42
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x114]
push eax
call fcn.00409380
add esp, 8
neg eax
sbb eax, eax
and eax, 0x3ffffffd
add eax, 0xe0010004
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 0x20010000
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x409b70
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push ebx
push 0x104
lea eax, [esp + 8]
push eax
push str._ProgramFiles_
xor bl, bl
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jbe 0x409bb5
mov edx, dword [esp + 0x10c]
lea eax, [esp + 4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409ba1
mov al, 1
pop ebx
add esp, 0x104
ret
mov al, bl
pop ebx
add esp, 0x104
ret

Function at 0x409d93
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e110]
jne 0x409d9d
repz ret
jmp fcn.0040c396
Function at 0x41555f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c78c
and dword [ebp - 4], 0
cmp dword [0x4304c0], 0
mov ebx, eax
jne 0x415610
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4156c1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4156c1
push eax
call fcn.0040c71a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4304c0], eax
call esi
push eax
call fcn.0040c71a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4304c4], eax
call esi
push eax
call fcn.0040c71a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4304c8], eax
call esi
push eax
call fcn.0040c71a
pop ecx
mov dword [0x4304d0], eax
test eax, eax
je 0x415610
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c71a
pop ecx
mov dword [0x4304cc], eax
mov eax, dword [0x4304cc]
cmp eax, ebx
je 0x415668
cmp dword [0x4304d0], ebx
je 0x415668
push eax
call fcn.0040c795
push dword [0x4304d0]
mov esi, eax
call fcn.0040c795
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415668
test edi, edi
je 0x415668
call esi
test eax, eax
je 0x41565f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41565f
test byte [ebp - 0xc], 1
jne 0x415668
or dword [ebp + 0x10], 0x200000
jmp 0x4156a1
mov eax, dword [0x4304c4]
cmp eax, ebx
je 0x4156a1
push eax
call fcn.0040c795
pop ecx
test eax, eax
je 0x4156a1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4156a1
mov eax, dword [0x4304c8]
cmp eax, ebx
je 0x4156a1
push eax
call fcn.0040c795
pop ecx
test eax, eax
je 0x4156a1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4304c0]
call fcn.0040c795
pop ecx
test eax, eax
je 0x4156c1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4156c3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41be90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
lea ecx, [esp + 8]
xor bl, bl
call fcn.0041b2c0
test al, al
je 0x41bece
mov eax, ecx
call fcn.0041b2f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41becc
cmp byte [esp + 0x14], bl
je 0x41bebd
test al, 0x10
je 0x41becc
lea ecx, [esp + 8]
mov bl, 1
call fcn.0041b440
mov al, bl
pop ebx
ret
xor bl, bl
lea ecx, [esp + 8]
call fcn.0041b440
mov al, bl
pop ebx
ret

Function at 0x41bee0
Capabilities:
Copy file
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x423230
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
push 0
sub esp, 0xc
lea ecx, [esp + 0x34]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.0041b390
call fcn.0041be90
add esp, 0x10
test al, al
jne 0x41bf3e
push 0x64
call ebx
inc edi
cmp edi, 0xa
jl 0x41bf14
push 0
lea eax, [esp + 0x34]
call fcn.0041b2f0
push eax
lea eax, [esp + 0x2c]
call fcn.0041b2f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [esp + 0x24]
setne bl
call fcn.0041b440
lea ecx, [esp + 0x30]
call fcn.0041b440
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41c310
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x423bee
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
sub esp, 0xc
xor ebx, ebx
lea ecx, [esp + 0x38]
mov esi, esp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], esp
call fcn.0041b390
lea eax, [esp + 0x1c]
push eax
call fcn.004204d0
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, esp
mov byte [esp + 0x30], 1
mov dword [esp + 0x18], esp
call fcn.0041b390
call fcn.0041bf90
add esp, 0xc
cmp al, bl
je 0x41c3ae
lea eax, [esp + 0x10]
call fcn.0041b2f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41c3ac
sub esp, 0xc
lea ecx, [esp + 0x1c]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.0041b390
call fcn.0041bf90
add esp, 0xc
cmp al, bl
jne 0x41c3ae
mov bl, 1
lea ecx, [esp + 0x10]
call fcn.0041b440
lea ecx, [esp + 0x2c]
call fcn.0041b440
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x41c3e0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x41c453
push edi
push esi
call fcn.00409d88
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x428a60
push edi
call sub.VERSION.dll_VerQueryValueW
pop edi
test eax, eax
je 0x41c453
mov eax, dword [esp + 4]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, edx
shr eax, 0x10
shr ecx, 0x10
cmp eax, 3
movzx edx, dx
jg 0x41c44c
jne 0x41c453
cmp edx, 6
jg 0x41c44c
jne 0x41c453
cmp ecx, 5
jg 0x41c44c
jne 0x41c453
xor al, al
pop esi
add esp, 8
ret
mov al, 1
pop esi
add esp, 8
ret
Function at 0x41c460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4234ae
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x42e110]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
push 0x11c
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.0040c6a0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0xc]
call fcn.0041b450
lea eax, [esp + 0x18]
mov dword [esp + 0x170], 0
call fcn.0041b450
mov bl, 1
lea eax, [esp + 0x24]
mov byte [esp + 0x170], bl
call fcn.00420470
push 2
lea edx, [esp + 0x34]
push edx
xor edx, edx
mov ecx, eax
mov byte [esp + 0x178], 2
call fcn.0041b880
push 0x428a68
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
mov byte [esp + 0x178], 3
call fcn.0041b650
lea esi, [esp + 0xc]
mov byte [esp + 0x170], 4
call fcn.0041b760
lea ecx, [esp + 0x3c]
call fcn.0041b440
lea ecx, [esp + 0x30]
call fcn.0041b440
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], bl
call fcn.0041b440
lea eax, [esp + 0x30]
call fcn.00420470
push str.Common_FileseSellerateeWebClient.dll
lea edx, [esp + 0x28]
push edx
mov ecx, eax
mov byte [esp + 0x178], 5
call fcn.0041b650
lea esi, [esp + 0x18]
mov byte [esp + 0x170], 6
call fcn.0041b760
lea ecx, [esp + 0x24]
call fcn.0041b440
lea ecx, [esp + 0x30]
mov byte [esp + 0x170], bl
call fcn.0041b440
lea eax, [esp + 0xc]
call fcn.0041b2f0
mov ebx, eax
call fcn.0041c3e0
test al, al
je 0x41c5c9
mov eax, esi
call fcn.0041b2f0
mov ebx, eax
call fcn.0041c3e0
test al, al
je 0x41c5c9
mov bl, 1
jmp 0x41c5d8
push 0
call fcn.00409b60
cmp eax, 0x20010000
setne bl
lea ecx, [esp + 0x18]
call fcn.0041b440
lea ecx, [esp + 0xc]
call fcn.0041b440
mov al, bl
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00409d93
add esp, 0x168
ret
Function at 0x41c620
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4238dc
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
call fcn.0041c460
test al, al
je 0x41c74f
xor eax, eax
push 0x40
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x38], 0
call fcn.0040c6a0
mov edx, dword [esp + 0xa8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x4c], 0x44
call fcn.00420ae0
add esp, 0x10
push str..._
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0
call fcn.0041b650
lea esi, [esp + 8]
mov byte [esp + 0x94], 1
call fcn.0041b760
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 0
call fcn.0041b440
push str.updater_windows.exe
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0041b650
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
mov eax, esi
call fcn.0041b2f0
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
call fcn.0041b2f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41c73d
mov ecx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x30]
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.0041b440
lea ecx, [esp + 8]
call fcn.0041b440
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x90
ret 4
Function at 0x420330
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4232c4
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x42e110]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
call fcn.0041b450
lea eax, [esp + 0xc]
mov dword [esp + 0x23c], ebx
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x420447
cmp dword [esp + 0xc], ebx
je 0x420447
mov edx, dword [esp + 0x244]
lea ecx, [esp + 0x10]
push ecx
push edx
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x42043b
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x42043b
push 0x206
lea ecx, [esp + 0x2e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x34], ax
call fcn.0040c6a0
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x42042a
or eax, 0xffffffff
lea edx, [esp + 0x28]
lea esi, [esp + 0x1c]
call fcn.0041b400
mov esi, edi
mov dword [esp + 0x23c], 1
call fcn.0041b760
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], bl
call fcn.0041b440
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00409d93
add esp, 0x234
ret
Function at 0x420600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4235d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov edx, 0x428424
lea esi, [esp + 0x18]
mov dword [esp + 0x68], ebx
call fcn.0041b3c0
push ebx
lea eax, [esp + 0x78]
push eax
mov edi, esi
mov byte [esp + 0x70], 1
call fcn.0041bab0
mov ecx, esi
mov ebp, eax
mov byte [esp + 0x68], bl
call fcn.0041b440
mov ecx, ebp
lea eax, [esp + 0x74]
call fcn.0041b2b0
test al, al
je 0x42077e
cmp ebp, ebx
jbe 0x42077e
mov edx, 0x428430
lea esi, [esp + 0x18]
call fcn.0041b3c0
push ebp
lea ecx, [esp + 0x34]
push ecx
xor edx, edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 2
call fcn.0041b880
push eax
mov edi, esi
mov byte [esp + 0x6c], 3
call fcn.0041b9a0
lea ecx, [esp + 0x30]
mov esi, eax
call fcn.0041b440
mov ecx, edi
mov byte [esp + 0x68], bl
call fcn.0041b440
mov ecx, esi
lea eax, [esp + 0x74]
call fcn.0041b2b0
test al, al
je 0x42077e
push 0xffffffffffffffff
lea eax, [esp + 0x58]
lea edx, [ebp + 4]
push eax
lea ecx, [esp + 0x7c]
call fcn.0041b880
mov edi, eax
inc esi
push esi
lea ecx, [esp + 0x4c]
push ecx
xor edx, edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 4
call fcn.0041b880
push edi
lea edx, [esp + 0x40]
push edx
mov ecx, eax
mov byte [esp + 0x70], 5
call fcn.0041b6e0
lea esi, [esp + 0x74]
mov byte [esp + 0x68], 6
call fcn.0041b760
lea ecx, [esp + 0x3c]
call fcn.0041b440
lea ecx, [esp + 0x48]
call fcn.0041b440
lea ecx, [esp + 0x54]
mov byte [esp + 0x68], bl
call fcn.0041b440
mov edx, 0x428434
lea esi, [esp + 0x24]
call fcn.0041b3c0
push ebx
lea eax, [esp + 0x78]
push eax
mov edi, esi
mov byte [esp + 0x70], 7
call fcn.0041bab0
mov ecx, esi
mov ebp, eax
mov byte [esp + 0x68], bl
call fcn.0041b440
mov ecx, ebp
lea eax, [esp + 0x74]
call fcn.0041b2b0
test al, al
jne 0x420671
mov esi, dword [esp + 0x70]
lea ecx, [esp + 0x74]
call fcn.0041b390
lea ecx, [esp + 0x74]
call fcn.0041b440
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x420f10
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x423446
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CInstallPathDialogHelper.0
mov dword [esp + 0x20], 4
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420f6a
push eax
call edi
test eax, eax
je 0x420f6a
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
test eax, eax
je 0x420fa0
push eax
call edi
test eax, eax
je 0x420fa0
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [esi + 4]
push 0
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], 0
lea ebx, [esi + 0x20]
mov dword [esi + 0x40], vtable.Window.0
mov dword [esi + 0x38], vtable.MessageLoop.0
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 5
call fcn.004017f0
mov ebx, dword [ebx]
push ebx
call fcn.00409dad
lea ebx, [esi + 8]
add esp, 4
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 6
call fcn.004017f0
mov eax, dword [ebx]
push eax
call fcn.00409dad
add esp, 4
mov dword [esi], vtable.Window.0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x422500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x424627
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e110]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x7c]
push edi
call fcn.00401430
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], 1
call fcn.00422350
mov dword [esp + 0x78], eax
cmp eax, esi
je 0x4226d4
push esi
mov ecx, 0x428bcc
lea ebx, [esp + 0x20]
lea eax, [esp + 0x7c]
xor ebp, ebp
call fcn.004075a0
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4226d4
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x4226d4
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edi, eax
test edi, edi
je 0x4226ce
mov esi, str.disableUninstall
mov eax, edi
call fcn.00406580
lea esi, [esp + 0x3c]
call fcn.0041bd50
mov ecx, esi
mov dword [esp + 0x70], 1
call fcn.0041bc80
test al, al
je 0x4225ed
mov eax, 0x428be8
lea esi, [esp + 0x48]
call fcn.0041bd50
or dword [esp + 0x18], 2
mov edx, esi
lea esi, [esp + 0x3c]
call fcn.0041bdf0
test al, al
je 0x4225ed
mov bl, 1
jmp 0x4225ef
xor bl, bl
test byte [esp + 0x18], 2
je 0x422604
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x48]
call fcn.0041bdd0
test bl, bl
jne 0x422682
mov esi, 0x428bec
mov eax, edi
call fcn.00406580
lea esi, [esp + 0x30]
call fcn.0041bd50
lea eax, [esp + 0x24]
call fcn.0041b450
mov eax, esi
mov byte [esp + 0x70], 3
call fcn.0041bcb0
push eax
mov eax, esi
call fcn.0041bca0
lea ecx, [esp + 0x28]
push ecx
mov ebx, eax
call fcn.0041b460
lea ecx, [esp + 0x24]
lea esi, [esp + 0x54]
call fcn.0041b390
mov edx, esi
mov byte [esp + 0x70], 4
mov edi, dword [esp + 0x7c]
push edx
call fcn.00401720
mov ecx, esi
call fcn.0041b440
lea ecx, [esp + 0x24]
call fcn.0041b440
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 1
call fcn.0041bdd0
inc ebp
push ebp
mov ecx, 0x428bf4
lea ebx, [esp + 0x24]
lea eax, [esp + 0x7c]
call fcn.004075a0
mov esi, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4226b6
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
test eax, eax
je 0x4226b6
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edi, eax
jmp 0x4226b8
xor edi, edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 0
call fcn.0041bdd0
test edi, edi
jne 0x42259f
mov eax, dword [esp + 0x7c]
jmp 0x4226d6
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8