Function at 0x43b120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4acc
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4e5a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
push 0x43af40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x103
mov dword [0x4e7d2c], eax
xor edi, edi
lea eax, [ebp - 0x113]
push edi
push eax
mov byte [ebp - 0x114], 0
call fcn.004693e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x114]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x43b1f7
lea eax, [ebp - 0x114]
mov byte [ebp - 0x11], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43b1a6
sub eax, edx
lea ecx, [ebp + eax - 0x115]
lea edx, [ebp - 0x114]
cmp ecx, edx
jb 0x43b1de
mov al, byte [ecx]
cmp al, 0x5c
je 0x43b1db
cmp al, 0x2f
je 0x43b1db
cmp al, 0x3a
je 0x43b1db
dec ecx
lea eax, [ebp - 0x114]
cmp ecx, eax
jae 0x43b1c0
jmp 0x43b1de
mov byte [ecx], 0
push 0x4c4ed0
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.0046c9c5
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x43b228
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.0046c9c5
add esp, 0xc
push 4
call dword [sym.imp.dbghelp.dll_SymSetOptions]
push 1
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
je 0x43b28a
call fcn.00440290
mov esi, eax
lea ebx, [esi + 0xc8]
push ebx
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
cmp dword [esi + 0x78], edi
je 0x43b349
lea eax, [ebp - 0x234]
push eax
call fcn.0043fdd0
add esp, 4
mov byte [ebp - 4], 1
push str.DebugMgr_successfully_initialized
jmp 0x43b2cc
call fcn.00440290
mov esi, eax
lea ebx, [esi + 0xc8]
push ebx
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 2
cmp dword [esi + 0x78], edi
je 0x43b349
lea eax, [ebp - 0x234]
push eax
call fcn.0043fdd0
add esp, 4
mov byte [ebp - 4], 3
push str.DebugMgr_initialization_failed_
push eax
add esi, 0x20
push esi
call fcn.00401681
add esp, 8
push eax
call fcn.004024a5
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.0040178f
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test byte [eax + esi + 0xc], 6
jne 0x43b310
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x43b310
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x43b331
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x43b329
or eax, 4
push 0
push eax
call fcn.00401a41
cmp dword [ebp - 0x220], 0x10
jb 0x43b349
mov edx, dword [ebp - 0x234]
push edx
call fcn.00468992
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x238]
mov byte [0x4e7d30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469ca2
mov esp, ebp
pop ebp
ret