Function at 0x435640
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2151
mov eax, dword fs:[0]
push eax
sub esp, 0x8e8
mov eax, dword [0x536014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8e0], edi
push str.PRPdfPageUI::OnLButtonDown_n
call fcn.0041c420
mov esi, dword [edi + 0x1b4]
add esp, 4
mov ebx, dword [sym.imp.pdfium.dll__FORM_OnAfterLoadPage_8]
mov ecx, dword [esi]
test ecx, ecx
je 0x4356af
cmp dword [ecx], 0
je 0x4356a9
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x4356a9
push eax
push dword [ecx]
call ebx
mov eax, dword [esi]
mov esi, dword [eax]
jmp 0x4356b1
xor esi, esi
mov eax, dword [edi + 0x1b4]
mov eax, dword [eax]
test eax, eax
je 0x4356c2
mov eax, dword [eax + 4]
jmp 0x4356c4
xor eax, eax
test esi, esi
je 0x435b4c
test eax, eax
je 0x435b4c
push 0
push 0x539a0c
push 0x539194
push 0
mov ecx, edi
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::GetRoot_void_]
push eax
call fcn.0048befc
add esp, 0x14
push 0
push 0x539fe8
push 0x539194
push 0
push dword [eax + 0x250]
call fcn.0048befc
add esp, 0x14
mov dword [ebp - 0x8c0], eax
test eax, eax
je 0x435b4c
push 0
push 0x5393dc
push 0x5393bc
push 0
push dword [eax + 0x248]
call fcn.0048befc
mov edx, dword [edi]
add esp, 0x14
mov dword [ebp - 0x8d0], eax
mov ecx, edi
lea eax, [ebp - 0x87c]
push eax
call dword [edx + 0x48]
mov edi, dword [edi + 0x1b4]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi]
mov dword [ebp - 0x8cc], eax
mov eax, dword [ebp - 0x870]
sub eax, dword [ebp - 0x878]
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp - 0x874]
sub eax, dword [ebp - 0x87c]
mov dword [ebp - 0x8c8], eax
test ecx, ecx
je 0x4357a0
cmp dword [ecx], 0
je 0x43579a
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 4]
test eax, eax
je 0x43579a
push eax
push dword [ecx]
call ebx
mov eax, dword [edi]
mov edi, dword [eax]
jmp 0x4357a2
xor edi, edi
mov ecx, dword [ebp - 0x8c0]
lea eax, [ebp - 0x8ec]
push eax
lea eax, [ebp - 0x8f4]
push eax
push dword [ebp + 0x10]
push 0
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SPanel::GetScrollPos_int_]
add eax, dword [ebp + 0xc]
push eax
push dword [ebp - 0x8cc]
push dword [ebp - 0x8c4]
push dword [ebp - 0x8c8]
push dword [ebp - 0x878]
push dword [ebp - 0x87c]
push edi
call dword [sym.imp.pdfium.dll__FPDF_DeviceToPage_40]
mov ebx, dword [ebp - 0x8e0]
mov eax, dword [ebx + 0x1b4]
mov eax, dword [eax]
test eax, eax
je 0x435801
mov eax, dword [eax + 4]
jmp 0x435803
xor eax, eax
movaps xmm0, xmmword [0x5170f0]
sub esp, 0x20
movups xmmword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x8ec]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x8f4]
movsd qword [esp], xmm0
push eax
call dword [sym.imp.pdfium.dll__FPDFText_GetCharIndexAtPos_36]
mov dword [ebx + 0x198], eax
cmp eax, 0xffffffff
jne 0x435854
mov eax, dword [ebp - 0x8c0]
mov dword [eax + 0x37c], 1
jmp 0x435b4c
movsd xmm0, qword [ebp - 0x8ec]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x8f4]
movsd qword [esp], xmm0
push esi
call dword [sym.imp.pdfium.dll__FPDFLink_GetLinkAtPoint_20]
mov edi, eax
test edi, edi
je 0x4359b2
push 0x1c
call fcn.00466950
add esp, 4
mov esi, eax
mov ecx, ebx
push esi
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00435240
mov ecx, dword [ebp - 0x8c0]
mov dword [ecx + 0x37c], eax
sub eax, 2
je 0x4358d8
sub eax, 1
jne 0x4359a5
push dword [esi + 0x18]
call fcn.0043ebf0
push ecx
mov ecx, esi
call fcn.00435cf0
jmp 0x435b4c
push 0x20a
lea eax, [ebp - 0x644]
push 0
push eax
call fcn.0048acb0
add esp, 0xc
lea eax, [ebp - 0x644]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp - 0x8d0]
lea eax, [ebp - 0x86c]
push eax
call fcn.004346c0
push 0x20a
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.0048acb0
mov eax, dword [ebp - 0x85c]
lea ecx, [ebp - 0x86c]
add esp, 0xc
cmp dword [ebp - 0x858], 8
cmovae ecx, dword [ebp - 0x86c]
add eax, eax
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
call fcn.0048a730
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x224]
push eax
call edi
cmp dword [esi + 0x14], 0x10
jb 0x43597b
mov eax, dword [esi]
jmp 0x43597d
mov eax, esi
push 3
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [ebp - 0x644]
push eax
call edi
lea ecx, [ebp - 0x86c]
call fcn.004077b0
push ecx
mov ecx, esi
call fcn.00435cf0
jmp 0x435b4c
mov ecx, dword [ebx + 0x1b4]
lea eax, [ebp - 0x860]
push eax
call fcn.0042cdc0
mov dword [ebp - 4], 0
mov eax, 0x38e38e39
mov ecx, dword [ebp - 0x85c]
xor edi, edi
mov ebx, dword [ebp - 0x860]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x8c4], edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x8c8], eax
je 0x435ae5
lea eax, [ebx + 0x18]
mov dword [ebp - 0x8cc], eax
nop word [eax + eax]
push eax
lea ecx, [ebp - 0x8dc]
call fcn.00436640
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x8d8]
mov ecx, dword [ebp - 0x8dc]
sub ebx, ecx
sar ebx, 4
test ebx, ebx
je 0x435a85
mov edi, ecx
nop dword [eax]
cvttsd2si ecx, qword [ebp - 0x8ec]
cvttsd2si eax, qword [ebp - 0x8f4]
push ecx
movups xmm0, xmmword [edi]
push eax
lea eax, [ebp - 0x8bc]
push eax
movups xmmword [ebp - 0x8bc], xmm0
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x435b6a
inc esi
add edi, 0x10
cmp esi, ebx
jb 0x435a40
mov ecx, dword [ebp - 0x8dc]
mov edi, dword [ebp - 0x8c4]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x435abd
mov eax, dword [ebp - 0x8d4]
sub eax, ecx
sar eax, 4
push eax
push ecx
call fcn.0041f9a0
mov dword [ebp - 0x8dc], 0
mov dword [ebp - 0x8d8], 0
mov dword [ebp - 0x8d4], 0
mov eax, dword [ebp - 0x8cc]
inc edi
add eax, 0x24
mov dword [ebp - 0x8c4], edi
mov dword [ebp - 0x8cc], eax
cmp edi, dword [ebp - 0x8c8]
jb 0x435a10
mov ebx, dword [ebp - 0x860]
mov eax, dword [ebp - 0x8c0]
mov edi, dword [ebp - 0x8d0]
mov dword [eax + 0x37c], 0
test edi, edi
je 0x435b11
mov eax, dword [ebp - 0x8e0]
mov eax, dword [eax + 0x198]
mov dword [edi + 0x98], eax
test ebx, ebx
je 0x435b4c
push dword [ebp - 0x8c8]
mov edx, dword [ebp - 0x85c]
push ecx
mov ecx, ebx
call fcn.00422400
mov ecx, dword [ebp - 0x858]
mov eax, 0x38e38e39
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00420420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466907
mov esp, ebp
pop ebp
ret 0xc
push 0x20a
lea eax, [ebp - 0x854]
push 0
push eax
call fcn.0048acb0
add esp, 0xc
lea eax, [ebp - 0x854]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [ebp - 0x8d0]
lea eax, [ebp - 0x894]
push eax
mov ecx, edi
call fcn.004346c0
push 0x20a
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0048acb0
mov eax, dword [ebp - 0x884]
lea ecx, [ebp - 0x894]
add esp, 0xc
cmp dword [ebp - 0x880], 8
cmovae ecx, dword [ebp - 0x894]
add eax, eax
push eax
push ecx
lea eax, [ebp - 0x434]
push eax
call fcn.0048a730
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x434]
push eax
call esi
mov eax, dword [ebp - 0x8c4]
mov ebx, dword [ebp - 0x860]
lea eax, [eax + eax*8]
cmp dword [ebx + eax*4 + 0x14], 8
lea edx, [ebx + eax*4]
jb 0x435c24
mov edx, dword [edx]
lea ecx, [ebp - 0x8ac]
call fcn.0044b850
cmp dword [eax + 0x14], 0x10
jb 0x435c37
mov eax, dword [eax]
push 3
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x898]
cmp eax, 0x10
jb 0x435c69
inc eax
lea ecx, [ebp - 0x8ac]
push eax
push dword [ebp - 0x8ac]
call fcn.00407610
lea eax, [ebp - 0x854]
push eax
call esi
mov eax, dword [ebp - 0x880]
cmp eax, 8
jb 0x435c90
inc eax
lea ecx, [ebp - 0x894]
push eax
push dword [ebp - 0x894]
call fcn.00407a10
cmp dword [ebp - 0x8dc], 0
je 0x435cb4
mov eax, dword [ebp - 0x8d4]
sub eax, dword [ebp - 0x8dc]
sar eax, 4
push eax
push dword [ebp - 0x8dc]
call fcn.0041f9a0
mov eax, dword [ebp - 0x8c0]
mov dword [eax + 0x37c], 2
jmp 0x435afb