Function at 0x4340a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa4ce
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x610044]
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 esi, ecx
call fcn.004ccb9b
push 0x5dbc87
lea ecx, [ebp - 0x13c]
call fcn.00402570
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
push eax
call fcn.00464025
cmp eax, ebx
jne 0x434104
xor eax, eax
jmp 0x434107
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x110]
call fcn.00464039
mov ecx, dword [esi + 0x20]
push ecx
call edi
push eax
call fcn.00464025
mov edx, dword [eax + 4]
push 0x1388
push 0x1388
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x120]
call fcn.0046430d
call fcn.0044699f
cmp eax, ebx
je 0x434160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
mov dword [ebp - 0x138], eax
jmp 0x434166
mov dword [ebp - 0x138], ebx
mov ecx, dword [ebp - 0x138]
add ecx, 0x4d88
push 0x104
mov dword [esi + 0x7c], ecx
call fcn.0044065d
mov edi, eax
add esp, 4
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x4341c7
lea edx, [ebp - 0x134]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x134]
push eax
push str._sRadarProject.ini
push 0x104
push edi
call fcn.0057af0e
add esp, 0x10
mov ecx, edi
call fcn.0041fd70
jmp 0x4341c9
xor edi, edi
mov byte [ebp - 4], bl
mov dword [esi + 0x1304], edi
mov eax, dword [esi + 0x21b80]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x4341f3
push ebx
lea ecx, [esi + 0x21b80]
call fcn.00402380
mov edi, dword [esi + 0x21b80]
push edi
lea ecx, [ebp - 0x30]
push 0x5dbc88
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 0x138]
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
call fcn.00450ea7
push 0x9c
mov dword [esi + 0x80], ebx
call fcn.0044065d
add esp, 4
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x434244
push eax
call fcn.0043e0a0
jmp 0x434246
xor eax, eax
mov byte [ebp - 4], bl
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x21f40]
push eax
lea ecx, [ebp - 0x13c]
push str.___Radar_Project_Start_Ver__s___
push ecx
call fcn.00402010
mov eax, dword [ebp - 0x13c]
add esp, 8
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x140], esp
push eax
mov dword [ebp - 0x138], edi
call fcn.00402920
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 4
push ebx
mov byte [ebp - 4], bl
mov ecx, dword [esi + 0x7c]
call fcn.0042c830
mov edx, dword [esi + 0x21f40]
push edx
lea eax, [ebp - 0x13c]
push str.___Radar_Project_Start_Ver__s___
push eax
call fcn.00402010
mov eax, dword [ebp - 0x13c]
add esp, 8
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x140], esp
push eax
mov dword [ebp - 0x138], edi
call fcn.00402920
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], bl
mov ecx, dword [esi + 0x7c]
call fcn.0042c340
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x3e8
push 0x64
push ecx
call edi
lea edx, [esi + 0x21b54]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x21b50]
imul eax, eax, 0xea60
push ebx
push eax
mov eax, dword [esi + 0x20]
push 0xc8
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x13c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0057a982
mov esp, ebp
pop ebp
ret