Function at 0x433883
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1878
call fcn.0043d890
mov eax, dword [0x4ef340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
xor ebx, ebx
push 0x20c
push ebx
push eax
mov dword [esi + 8], ebx
call fcn.0043f630
push dword [esi]
call fcn.00443c45
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x1828], edi
cmp edi, 0x104
jb 0x4338d9
push 0x57
pop eax
jmp 0x433c16
mov byte [ebp - 0x1819], bl
mov ebx, dword [esi]
push 0x5c
pop eax
cmp edi, 2
jbe 0x433918
cmp word [ebx], ax
je 0x433918
cmp word [ebx + 2], 0x3a
je 0x433918
push 0x106
lea eax, [ebp - 0x210]
push eax
push ebx
push 1
call fcn.004337a8
add esp, 0x10
test al, al
je 0x43391f
lea ebx, [ebp - 0x210]
jmp 0x43391f
mov byte [ebp - 0x1819], 1
add edi, 0x106
lea eax, [edi + edi]
push eax
call fcn.00443bd6
mov dword [esi + 8], eax
pop ecx
test eax, eax
jne 0x43393a
push 8
jmp 0x4338d3
lea ecx, [edi + edi]
push ecx
push 0
push eax
call fcn.0043f630
sub edi, 2
add esp, 0xc
mov dword [ebp - 0x1820], edi
cmp ebx, dword [esi]
jne 0x433a16
cmp byte [ebp - 0x1819], 0
jne 0x433a16
push dword [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov dword [ebp - 0x1824], edx
test edx, edx
je 0x433a16
mov ecx, dword [ebp - 0x1828]
add ecx, edx
cmp ecx, edi
jbe 0x4339f6
push dword [esi + 8]
call fcn.00443bd1
mov ebx, dword [ebp - 0x1824]
lea eax, [ebx*2 + 0x20c]
push eax
call fcn.00443bd6
mov dword [esi + 8], eax
pop ecx
pop ecx
test eax, eax
je 0x433936
lea ecx, [ebx*2 + 0x20c]
mov edi, ebx
push ecx
push 0
push eax
call fcn.0043f630
add esp, 0xc
push dword [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test edx, edx
je 0x4339ea
cmp edx, edi
jbe 0x4339ea
push dword [esi + 8]
call fcn.00443bd1
pop ecx
push 3
jmp 0x4338d3
add edi, 0x104
mov dword [ebp - 0x1820], edi
mov eax, dword [esi + 8]
push 0x5c
pop ecx
mov word [eax + edx*2], cx
mov eax, dword [esi + 8]
push dword [esi]
lea eax, [eax + edx*2]
add eax, 2
push eax
call fcn.00451aec
mov ebx, dword [esi + 8]
pop ecx
pop ecx
and dword [ebp - 0x1874], 0
lea ecx, [ebp - 0x1878]
mov byte [ebp - 0x1878], 0
mov dword [ebp - 0x182c], ebx
call fcn.00433d3b
lea ecx, [ebp - 0x1878]
mov edi, eax
call fcn.00433753
cmp edi, 2
je 0x433a53
cmp edi, 0x80092003
jne 0x433b55
cmp byte [ebp - 0x1819], 0
jne 0x433b55
push str.NotComDllGetInterface:_DLL_not_found_in_install_location__looking_in_current_directory_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x1820]
lea eax, [ecx + ecx]
push eax
push 0
push dword [esi + 8]
call fcn.0043f630
add esp, 0xc
push dword [ebp - 0x1820]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, eax
mov dword [ebp - 0x1824], ecx
test ecx, ecx
je 0x433b55
mov eax, dword [ebp - 0x1828]
add eax, ecx
cmp eax, dword [ebp - 0x1820]
jb 0x433b07
push dword [esi + 8]
lea edi, [eax*2 + 0x20c]
call fcn.00443bd1
push edi
call fcn.00443bd6
mov dword [esi + 8], eax
pop ecx
pop ecx
test eax, eax
jne 0x433ada
push 8
pop edi
jmp 0x433b81
push edi
push 0
push eax
call fcn.0043f630
mov edi, dword [ebp - 0x1824]
add esp, 0xc
add edi, 0x104
push edi
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x433b07
cmp eax, edi
jae 0x433ad2
push 0x5c
pop eax
push eax
push dword [esi + 8]
call fcn.0043f8bb
pop ecx
pop ecx
test eax, eax
je 0x433b26
push dword [esi]
add eax, 2
push eax
call fcn.00451aec
pop ecx
pop ecx
mov ebx, dword [esi + 8]
lea ecx, [ebp - 0x1878]
and dword [ebp - 0x1874], 0
mov byte [ebp - 0x1878], 0
mov dword [ebp - 0x182c], ebx
call fcn.00433d3b
lea ecx, [ebp - 0x1878]
mov edi, eax
call fcn.00433753
cmp edi, 0x80092026
je 0x433c06
cmp edi, 0x800b0101
je 0x433c06
cmp edi, 0x800b010e
je 0x433c06
test edi, edi
je 0x433c06
push 0x800
lea eax, [ebp - 0xa10]
push 0
push eax
call fcn.0043f630
push 0xe08
lea eax, [ebp - 0x1818]
push 0
push eax
call fcn.0043f630
add esp, 0x18
lea eax, [ebp - 0xa10]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test ebx, ebx
jne 0x433bc4
mov ebx, dword [esi]
push edi
push ebx
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x1818]
push str.NotComDllGetInterface:__s_loading__s__WinVerifyTrust_failed_with__08x_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x1818]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 8], 0
je 0x433c02
push dword [esi + 8]
call fcn.00443bd1
and dword [esi + 8], 0
pop ecx
mov eax, edi
jmp 0x433c16
push 8
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0xc], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043cfdf
mov esp, ebp
pop ebp
ret