joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44594b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
test edi, edi
mov byte [ebp - 1], bl
mov dword [ebp - 8], edi
sete cl
call fcn.00413f3a
test edi, edi
je 0x445b67
cmp byte [ebp + 8], 0
je 0x44597e
test bl, bl
jne 0x44597e
mov cl, 1
jmp 0x445980
xor cl, cl
call fcn.00413f3a
movzx eax, byte [ebp - 1]
xor ebx, ebx
inc ebx
cmp byte [ebp + 8], 0
cmove ebx, eax
cmp dword [0x5191dc], 0
mov dword [ebp - 0xc], ebx
je 0x4459b8
push ecx
lea eax, [ebp - 8]
push eax
call fcn.0042e12f
cmp eax, 0xffffffff
jne 0x4459b8
cmp byte [ebp + 8], 0
je 0x445b67
mov dl, 1
mov ecx, edi
call fcn.00439aaf
mov ecx, edi
call fcn.00434e1b
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042d5f6
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
lea eax, [esi + eax*4]
cmp esi, eax
je 0x445a05
mov ebx, eax
mov ecx, dword [esi]
call fcn.0045532b
test eax, eax
je 0x4459fb
mov ecx, dword [esi]
call fcn.0045532b
mov byte [eax + 0x21e], 1
add esi, 4
cmp esi, ebx
jne 0x4459e2
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
call fcn.00415382
cmp dword [edi + 0x18c], 0
je 0x445a1d
mov ecx, edi
call fcn.00447d94
lea eax, [ebp - 0x68]
mov byte [ebp - 1], 1
push eax
mov ecx, edi
call fcn.0042d5f6
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x64]
lea eax, [esi + eax*4]
cmp esi, eax
je 0x445a5b
mov bl, byte [ebp - 1]
mov edi, eax
mov ecx, dword [esi]
call fcn.00445690
neg al
sbb al, al
add esi, 4
and bl, al
cmp esi, edi
jne 0x445a3e
mov edi, dword [ebp - 8]
mov byte [ebp - 1], bl
mov ebx, dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
call fcn.00415382
cmp byte [ebp - 1], 0
je 0x445b67
cmp dword [0x514e44], 1
mov ecx, edi
sete byte [ebp - 1]
call fcn.00442031
cmp byte [ebp - 1], 0
je 0x445a89
test bl, bl
je 0x445a94
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x5194fd], 0
jne 0x445aa2
call fcn.00414e76
lea eax, [ebp - 0x68]
mov ecx, edi
push eax
call fcn.0042d5f6
lea ecx, [ebp - 0x68]
call fcn.0042e18b
mov ecx, dword [edi + 0xb4]
call fcn.0045ee60
mov ecx, dword [edi + 0xbc]
call fcn.004153ad
and dword [edi + 4], 0
lea ecx, [ebp - 0x68]
and dword [edi], 0
call fcn.00415382
cmp byte [ebp + 8], 0
je 0x445ae9
mov ecx, edi
call fcn.00443cb1
jmp 0x445b3b
cmp byte [ebp - 1], 0
je 0x445b1f
test bl, bl
jne 0x445b1f
push 0
xor dl, dl
mov ecx, edi
call fcn.00444f18
pop ecx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push ecx
lea eax, [ebp - 8]
push eax
call fcn.0042e12f
cmp eax, 0xffffffff
sete cl
call fcn.00413f3a
jmp 0x445b67
mov ecx, dword [edi + 0xd0]
call fcn.00430529
mov esi, dword [edi + 8]
mov ecx, edi
call fcn.00443cb1
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [ebp - 1], 0
je 0x445b67
test bl, bl
je 0x445b67
push str.Calling_PostQuitMessage___in_CloseWindow___because_closing_lastWindow_n
call fcn.004620b3
cmp dword [0x514e44], 0
pop ecx
setne cl
call fcn.00413f3a
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x447bc6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x515680]
push ebx
shr eax, 6
mov ebx, ecx
mov byte [ebp - 1], dl
push esi
push edi
test al, 1
je 0x447d8f
cmp dword [0x5191dc], 0
jne 0x447d8f
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x447d8f
mov al, byte [ebp - 1]
test al, al
je 0x447c11
mov ecx, dword [ebx + 0x18c]
jmp 0x447c18
movzx ecx, byte [ebx + 0x188]
test ecx, ecx
jne 0x447d8f
test al, al
je 0x447c2d
movzx eax, byte [ebx + 0x188]
jmp 0x447c33
mov eax, dword [ebx + 0x18c]
test eax, eax
setne cl
call fcn.00413f3a
cmp byte [ebp - 1], 0
je 0x447c94
cmp dword [ebx], 0
sete cl
call fcn.00413f3a
mov ecx, ebx
call fcn.0042d50a
test al, al
je 0x447d8f
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_IsZoomed]
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov dword [ebx + 0x190], ecx
mov dword [ebx + 0x18c], 1
mov dword [ebx + 0xe4], 0xfffffffe
mov dword [ebx + 0xe8], 0xfffffffd
jmp 0x447c9b
mov byte [ebx + 0x188], 1
cmp byte [ebp - 1], 0
mov eax, dword [0x518b80]
mov al, byte [eax + 0x1ab]
mov byte [ebp - 2], al
je 0x447cc5
cmp byte [ebx + 0x49], 0
jne 0x447cb9
test al, al
je 0x447cc5
push 0
xor dl, dl
mov ecx, ebx
call fcn.00448b68
pop ecx
push 0xfffffffffffffff0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
je 0x447ce2
cmp byte [ebx + 0x188], 0
jne 0x447ce8
mov dword [ebx + 0x194], eax
mov edx, dword [ebx + 8]
lea ecx, [ebp - 0x18]
call fcn.004640e8
mov edx, dword [ebx + 8]
lea edi, [ebx + 0x198]
mov esi, eax
lea ecx, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046516f
xor edi, edi
push edi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetMenu]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [ebx + 0x10]
call esi
mov ecx, dword [ebx + 0xb4]
push 2
mov eax, dword [ecx]
call dword [eax + 8]
push edi
push dword [ebx + 0xc0]
call esi
mov eax, dword [ebp - 8]
and eax, 0xff3bffff
or eax, 0x1000000
push eax
push 0xfffffffffffffff0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x34
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp byte [ebp - 1], 0
je 0x447d78
mov ecx, dword [ebx]
push 1
mov eax, dword [ecx]
call dword [eax + 0x2c]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [0x518b80]
mov cl, byte [ebp - 2]
mov byte [eax + 0x1ab], cl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4488b0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov eax, dword [edi + 0x18c]
cmp eax, 2
je 0x4489f1
cmp eax, 3
je 0x4489f1
call fcn.00464e2c
push 0x12
mov bl, al
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, 0x100
jb 0x448914
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x448933
test bl, bl
jne 0x448933
test ax, ax
js 0x448933
sar ecx, 0x10
push 1
movzx eax, cl
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
lea ecx, [eax - 0x41]
cmp ecx, 0x19
ja 0x448933
mov esi, eax
mov eax, esi
cmp esi, 9
je 0x44892c
cmp eax, 0x1b
jne 0x448933
mov ecx, edi
call fcn.004482f2
jmp 0x4489f8
mov ecx, edi
call fcn.00447f7a
mov ecx, edi
call fcn.0042d50a
test al, al
je 0x4489f8
movzx ebx, si
push ebx
call dword [sym.imp.USER32.dll_IsCharUpperW]
test eax, eax
je 0x44896a
xor eax, eax
mov word [ebp - 4], bx
mov word [ebp - 2], ax
lea eax, [ebp - 4]
push 1
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
movzx esi, word [ebp - 4]
mov ecx, dword [edi]
sub esi, 0x2b
je 0x448991
dec esi
sub esi, 1
je 0x4489dc
dec esi
sub esi, 1
je 0x4489c3
sub esi, 0xe
je 0x448991
sub esi, 0x25
je 0x4489ba
sub esi, 0x7e
je 0x448991
sub esi, 4
jne 0x4489f8
mov eax, dword [ecx]
push ecx
mov dword [esp], 0x45c80000
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
call dword [ebp - 4]
fstp dword [ebp - 4]
movss xmm1, dword [ebp - 4]
xor dl, dl
push 0
mov ecx, edi
call fcn.0043b78f
pop ecx
jmp 0x4489f8
mov ecx, edi
call fcn.004483bc
jmp 0x4489f8
cmp byte [0x5194fc], 0
jne 0x4489d3
mov ecx, edi
call fcn.0043910a
mov byte [0x5194fc], 0
jmp 0x4489f8
mov eax, dword [ecx]
push ecx
mov dword [esp], 0x410547ae
mov eax, dword [eax + 0x38]
mov dword [ebp - 4], eax
call dword [ebp - 4]
jmp 0x4489a4
push 1
call fcn.0042d837
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44a656
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor dl, dl
mov ecx, str.ShowCrashHandlerMessage___n
push ebx
push esi
call fcn.00461f14
mov eax, dword [0x515680]
shr eax, 1
test al, 1
jne 0x44a686
mov ecx, str.ShowCrashHandlerMessage:_skipping_beacuse__HasPermission_Perm::DiskAccess__n
xor dl, dl
call fcn.00461f14
jmp 0x44a750
call fcn.00453a81
movzx eax, al
shl eax, 0x14
or eax, 0x50011
push eax
push str.SumatraPDF_crashed
push str.Were_sorry__SumatraPDF_crashed._n_nPress_Cancel_to_see_crash_report.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x44a750
mov ecx, dword [0x518b78]
test ecx, ecx
jne 0x44a6c3
mov ecx, str.ShowCrashHandlerMessage:__gCrashFilePath_n
jmp 0x44a67a
push ecx
mov ebx, str.open
xor edx, edx
push ebx
call fcn.00464e39
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004b8c50
add esp, 0x14
mov dword [ebp - 0x3c], esi
or edx, 0xffffffff
mov dword [ebp - 0x38], 0x400
mov ecx, ebx
call fcn.00462840
or edx, 0xffffffff
mov dword [ebp - 0x30], eax
mov ecx, str.https:__www.sumatrapdfreader.org_docs_Submit_crash_report.html
call fcn.00462840
or edx, 0xffffffff
mov dword [ebp - 0x2c], eax
xor ecx, ecx
call fcn.00462840
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x44a750
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push 0
push str.https:__www.sumatrapdfreader.org_docs_Submit_crash_report.html
push str.LaunchFile:_ShellExecuteExW_path:__s_params:__s_verb:__s_n
mov esi, eax
call fcn.004620b3
add esp, 0x10
mov ecx, esi
call fcn.0046448c
pop esi
pop ebx
leave
ret
Function at 0x44c4f9
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x449fac
mov edx, str.SUMATRA_PDF_FRAME
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0046404b
pop ecx
push 1
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
mov dword [ebp - 0x18], eax
sete cl
call fcn.00413f3a
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, dword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
call esi
movzx eax, ax
test ax, ax
sete cl
call fcn.00413f3a
push fcn.00418f73
mov edx, str.SUMATRA_PDF_CANVAS
lea ecx, [ebp - 0x30]
call fcn.0046404b
or dword [ebp - 0x2c], 8
lea eax, [ebp - 0x30]
pop ecx
push eax
call esi
movzx eax, ax
test ax, ax
sete cl
call fcn.00413f3a
push 0x419958
mov edx, str.CustomCaption
lea ecx, [ebp - 0x60]
call fcn.0046404b
pop ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x40], 6
push ecx
call esi
mov al, 1
pop esi
leave
ret

Function at 0x44ce11
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.00464abe
mov esi, eax
mov ecx, esi
call fcn.0045f8b3
mov ecx, esi
call fcn.0045f44c
mov edx, eax
mov ecx, esi
call fcn.004625dd
push eax
push str.SumatraPDF__08x
call fcn.00460bb0
pop ecx
xor edi, edi
mov dword [ebp - 8], eax
pop ecx
mov dword [ebp - 4], 3
mov esi, edi
push eax
push 4
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x44cedb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
push edi
push edi
push 0xf001f
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x44ce93
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44cedb
cmp dword [ebp - 0xc], 0xb7
jne 0x44cefa
mov eax, dword [edi]
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov ebx, str.SUMATRA_PDF_FRAME
jmp 0x44cecb
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], eax
je 0x44cef1
push edi
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x44ceb8
sub dword [ebp - 4], 1
js 0x44cf12
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 8]
jmp 0x44ce56
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x44cf14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [eax], ebx
jmp 0x44cf14
mov esi, edi
push dword [ebp - 8]
call fcn.004c5e5a
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44d43d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
cmp byte [0x5191c8], 0
push ebx
push esi
push edi
jne 0x44d552
call fcn.00415628
test al, al
je 0x44d552
call fcn.0042b4d5
mov esi, eax
mov edx, str.0__expectedSize
test esi, esi
sete cl
call fcn.0041e67a
test esi, esi
je 0x44d552
call fcn.00464abe
mov ecx, eax
call fcn.00462a91
xor edi, edi
mov edx, 0x4f8d1c
push edi
mov ecx, eax
call fcn.00462922
pop ecx
mov ecx, eax
call fcn.00463354
cmp eax, esi
jne 0x44d4ad
cmp edx, edi
je 0x44d552
call fcn.00464999
test al, al
je 0x44d4c7
push str._nLooks_like_corrupted_installation_of_SumatraPDF._n_nLearn_more_at_https:__www.sumatrapdfreader.org_docs_Corrupted_installation_n
push 0x4f1404
call fcn.00402b06
pop ecx
pop ecx
push 0x60
pop esi
push esi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004b8c50
add esp, 0xc
call fcn.00453a81
or edx, 0xffffffff
mov dword [ebp - 0x60], esi
mov ecx, str.Looks_like_corrupted_installation_of_SumatraPDF._n
mov dword [ebp - 0x4c], str.SumatraPDF_installer
mov bl, al
call fcn.00462840
mov dword [ebp - 0x44], eax
xor esi, esi
movzx eax, bl
inc esi
shl eax, 0xd
push edi
add eax, 0x1001009
mov dword [ebp - 0x40], str.Learn_more_at__a_href_https:__www.sumatrapdfreader.org_docs_Corrupted_installation__www.sumatrapdfreader.org_docs_Corrupted_installation__a_.
push edi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push edi
push eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 0x44d410
mov dword [ebp - 0x50], 0x20
mov dword [ebp - 0x48], 0xfffe
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
cmp eax, 0x80070057
sete cl
call fcn.00413f3a
call fcn.00464a99
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x451f62
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, ecx
lea edi, [ebp - 0x64]
push 8
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x14]
xor edi, edi
mov dword [ebp - 0x3c], eax
xor esi, esi
cmp dword [esi + 0x515810], 0
je 0x45204e
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00460364
mov ecx, dword [esi + 0x51580c]
lea edx, [ebp - 0x44]
call fcn.004146d4
test al, al
je 0x451fbe
lea ecx, [ebp - 0x38]
call fcn.00414238
mov ecx, dword [esi + 0x515810]
call fcn.00453983
cmp dword [ebp - 0x30], 0
mov ebx, eax
jbe 0x45200e
xor cl, cl
call fcn.00413f3a
push 0
lea ecx, [ebp - 0x38]
call fcn.004603fd
push 0xffffffffffffffff
push 0x4f40e8
lea ecx, [ebp - 0x38]
mov byte [eax], 0x28
call fcn.00460443
push dword [ebp - 0x34]
push 0x5000f0
call fcn.0046265e
mov edx, ebx
mov ecx, eax
call fcn.0045f798
pop ecx
pop ecx
mov ebx, eax
or edx, 0xffffffff
mov ecx, ebx
call fcn.00462840
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x64]
push eax
push edi
push 0x440
push dword [ebp - 0x3c]
mov dword [ebp - 0x64], 0x20
mov dword [ebp - 0x60], reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
sete cl
call fcn.00413f3a
lea ecx, [ebp - 0x38]
call fcn.0046031d
add esi, 0xc
inc edi
cmp esi, 0xcc
jl 0x451f8b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret
Function at 0x453eee
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push 0x30
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004b8c50
add esp, 0xc
lea ecx, [ebp - 0x30]
mov edx, str.SUMATRA_PDF_INSTALLER_FRAME
push 0x453dfc
call fcn.0046404b
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 1
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
movzx esi, ax
test si, si
sete cl
call fcn.00413f3a
test si, si
pop esi
setne al
leave
ret

Function at 0x45408b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x224
xor ebx, ebx
lea eax, [ebp - 0x228]
push ebx
push eax
call fcn.004b8c50
add esp, 0xc
lea eax, [ebp - 0x228]
mov esi, 0x112
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4540d2
cmp eax, esi
jb 0x4540d4
mov byte [ebx], bl
or edx, 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00462810
push str.Sumatra_Uninstaller.exe
mov edx, eax
xor ecx, ecx
call fcn.0046297c
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret

Function at 0x4540ff
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x518b98]
xor dl, dl
mov ecx, str.RelaunchElevatedFromTempDirectory___n
call fcn.00461f14
cmp byte [0x5191cb], 0
jne 0x45415d
call fcn.0045408b
mov esi, eax
call fcn.00464abe
mov ebx, eax
mov ecx, esi
mov edx, ebx
call fcn.0045f52b
test al, al
je 0x45416c
call fcn.00464f97
test al, al
je 0x45416c
xor dl, dl
mov ecx, str.__already_running_elevated_and_from_temp_dir_n
call fcn.00461f14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret
push esi
push ebx
push str.__copying_installer__s_to__s_n
call fcn.004620b3
add esp, 0xc
mov edx, ebx
mov ecx, esi
push 0
call fcn.0046345f
pop ecx
test al, al
jne 0x454198
push str.__failed_to_copy_installer_n
call fcn.004620b3
pop ecx
jmp 0x45415d
push str._uninstall
lea ecx, [ebp - 0x38]
call fcn.00460390
cmp byte [edi + 0x151], 0
je 0x4541bd
push 0xffffffffffffffff
push str.__silent
lea ecx, [ebp - 0x38]
call fcn.00460443
cmp byte [edi + 0x22d], 0
je 0x4541d5
push 0xffffffffffffffff
push str.__log
lea ecx, [ebp - 0x38]
call fcn.00460443
lea ecx, [ebp - 0x38]
call fcn.00425da7
push eax
push esi
push str.__re_launching__s_with_args__s_as_elevated_n
call fcn.004620b3
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00425da7
mov edx, eax
mov ecx, esi
call fcn.00465008
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x454206
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor dl, dl
mov ecx, str.InitSelfDelete___n
call fcn.00461f14
call fcn.00464abe
xor ebx, ebx
lea ecx, [ebp - 0x264]
push ebx
push ebx
mov esi, eax
call fcn.00460364
push 0xffffffffffffffff
push str.timeout__t_2__nobreak__nul_r_n
lea ecx, [ebp - 0x264]
call fcn.00460443
push esi
lea eax, [ebp - 0x264]
push str.del___s__r_n
push eax
call fcn.00460583
add esp, 0xc
lea ecx, [ebp - 0x264]
push 0xffffffffffffffff
push str._goto__2_nul__del___f0__r_n
call fcn.00460443
push 0x224
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.004b8c50
add esp, 0xc
lea eax, [ebp - 0x230]
mov esi, 0x112
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4542a6
cmp eax, esi
jb 0x4542a8
mov byte [ebx], bl
or edx, 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00462810
push ebx
mov edx, str.sumatra_self_del.bat
mov ecx, eax
call fcn.00462922
pop ecx
mov ecx, dword [ebp - 0x260]
lea edx, [ebp - 0x26c]
mov dword [ebp - 0x26c], ecx
mov esi, eax
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x268], ecx
mov ecx, esi
call fcn.00463260
push esi
test al, al
jne 0x4542fe
push str.Failed_to_write__s_n
call fcn.004620b3
pop ecx
pop ecx
jmp 0x45432c
push str.Created_self_delete_batch_script__s_n
call fcn.004620b3
push esi
push str.cmd.exe__C___s_
call fcn.0045f9ea
mov esi, eax
xor edx, edx
push 0x8000000
mov ecx, esi
call fcn.00464ed4
push esi
call fcn.004c5e5a
add esp, 0x18
lea ecx, [ebp - 0x264]
call fcn.0046031d
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret
Function at 0x454345
Capabilities:
Accept command line arguments
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.00453aa0
mov ecx, eax
call fcn.004539fd
mov eax, dword [0x518b98]
cmp byte [eax + 0x22d], 0
je 0x45438a
call fcn.00429ca2
mov dword [ebp - 4], eax
test eax, eax
je 0x45437f
xor dl, dl
mov ecx, eax
call fcn.00462116
push str.______________Starting_SumatraPDF_uninstallation_n
call fcn.004620b3
pop ecx
call fcn.0042bcc7
mov ecx, dword [0x518b98]
mov ebx, eax
mov dword [ecx + 0x224], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
or edx, 0xffffffff
mov ecx, eax
call fcn.00462810
mov esi, eax
call fcn.00464abe
push ebx
mov edi, eax
push esi
push edi
push str.Running_uninstaller__s_with_args__s_for__s_n
call fcn.004620b3
add esp, 0x10
xor ebx, ebx
mov ecx, edi
inc ebx
call fcn.0046330d
test al, al
jne 0x454407
xor dl, dl
mov ecx, str.Uninstaller_executable_doesnt_exist_n
call fcn.00461f14
mov ecx, str.Uninstallation_failed
call fcn.004539bd
mov ecx, str.SumatraPDF_installation_not_found.
mov esi, eax
call fcn.004539bd
push 0x30
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x454501
mov eax, dword [0x518b98]
cmp byte [eax + 0x220], 0
je 0x454421
call fcn.00453db7
xor ebx, ebx
jmp 0x454501
call fcn.004540ff
call fcn.00437242
mov byte [0x519afd], al
test al, al
je 0x454440
xor dl, dl
mov ecx, str.Search_filter_is_installed_n
call fcn.00461f14
call fcn.004370e2
mov byte [0x519afc], al
test al, al
je 0x45445a
xor dl, dl
mov ecx, str.Previewer_is_installed_n
call fcn.00461f14
mov ecx, str.Are_you_sure_you_want_to_uninstall_SumatraPDF_
call fcn.004539bd
cmp byte [0x519afd], 0
mov dword [0x518b88], eax
je 0x454477
call fcn.0042c082
cmp byte [0x519afc], 0
je 0x454485
call fcn.0042c126
mov eax, dword [0x518b98]
cmp byte [eax + 0x151], 0
je 0x4544a7
push 0
call fcn.00453ae7
xor ebx, ebx
cmp byte [0x5194ff], bl
sete bl
jmp 0x454501
call fcn.00453eee
test al, al
je 0x454501
call fcn.00453f4d
test al, al
je 0x454501
call fcn.00453f9d
cmp byte [0x519afd], 0
mov ebx, eax
je 0x4544da
mov ecx, dword [0x518b98]
mov cl, byte [ecx + 0x22e]
call fcn.0042c02a
cmp byte [0x519afc], 0
je 0x4544f4
mov ecx, dword [0x518b98]
mov cl, byte [ecx + 0x22e]
call fcn.0042c0ce
call fcn.00454206
mov ecx, dword [ebp - 4]
call fcn.00415e7e
push dword [0x518b90]
call fcn.004c5e5a
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret