Function at 0x602384
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb88
xor edx, edx
push ebx
lea ebx, [ebp - 0x50]
push esi
push edi
mov dword [ebp - 0x2c], eax
mov eax, 0x56498f
mov dword [ebx + 8], 0x6f0cb0
mov dword [ebx + 0xc], esp
mov dword [ebx + 4], eax
mov word [ebx + 0x10], 0
mov dword [ebx + 0x1c], edx
mov ecx, dword fs:[0]
mov dword [ebx], ecx
mov dword fs:[0], ebx
mov word [ebx + 0x10], 8
mov eax, 0x7ba86c
mov dword [ebp - 4], eax
push eax
call sub.KERNEL32.DLL_EnterCriticalSection
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 0x14
cmp byte [0x6f0624], 0
jne 0x602638
cmp dword [0x6a7c6c], 0
je 0x60251c
lea edx, [ebp - 0x260]
push edx
push 0x104
call dword [0x6a7c6c]
cmp dword [0x7ba884], 0
je 0x60250a
cmp dword [0x7ba884], 0
jne 0x602426
xor ecx, ecx
jmp 0x602468
mov eax, dword [0x7ba884]
cmp dword [eax], 0
jne 0x60245c
mov edx, dword [0x7ba884]
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 0
jne 0x602443
xor ecx, ecx
jmp 0x602468
mov eax, dword [ebp - 0x54]
cmp dword [eax + 4], 0
je 0x602454
mov edx, dword [ebp - 0x54]
mov ecx, dword [edx + 4]
jmp 0x602468
mov ecx, dword [ebp - 0x54]
add ecx, 8
jmp 0x602468
mov eax, 0x7ba884
call fcn.0040a360
mov ecx, eax
lea eax, [ebp - 0x260]
test eax, eax
je 0x6024f6
cmp word [ebp - 0x260], 0
je 0x6024f6
mov esi, dword [0x7ba884]
cmp dword [esi + 4], 0
je 0x602499
mov eax, dword [esi + 4]
call fcn.00407efc
xor edx, edx
mov dword [esi + 4], edx
cmp dword [esi + 4], 0
je 0x6024ac
mov eax, dword [esi + 4]
call fcn.00407efc
xor edx, edx
mov dword [esi + 4], edx
lea eax, [ebp - 0x260]
call fcn.0043a9bc
mov edi, eax
mov dword [esi + 0x34], edi
cmp edi, 0x15
jle 0x6024e1
lea eax, [edi + 1]
call fcn.00407e84
mov dword [esi + 4], eax
lea edx, [ebp - 0x260]
mov eax, dword [esi + 4]
mov ecx, edi
call fcn.0043a980
jmp 0x60257a
lea edx, [ebp - 0x260]
lea eax, [esi + 8]
mov ecx, edi
call fcn.0043a980
jmp 0x60257a
mov eax, dword [0x7ba884]
call fcn.00408920
xor edx, edx
mov dword [0x7ba884], edx
jmp 0x60257a
lea eax, [ebp - 0x260]
call fcn.00408c54
mov dword [0x7ba884], eax
jmp 0x60257a
lea edx, [ebp - 0x368]
push edx
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov word [ebx + 0x10], 0x20
lea eax, [ebp - 0x368]
call fcn.00408d58
mov dword [ebp - 8], eax
lea esi, [ebp - 8]
inc dword [ebx + 0x1c]
mov eax, dword [esi]
test eax, eax
je 0x60254f
inc dword [eax]
mov eax, dword [0x7ba884]
test eax, eax
je 0x60255d
call fcn.00408920
mov edx, dword [esi]
mov dword [0x7ba884], edx
dec dword [ebx + 0x1c]
mov eax, dword [ebp - 8]
test eax, eax
je 0x602574
call fcn.00408920
mov word [ebx + 0x10], 0x14
cmp dword [0x7ba884], 0
jne 0x602587
xor esi, esi
jmp 0x6025b8
mov eax, dword [0x7ba884]
test eax, eax
jne 0x602594
xor ecx, ecx
jmp 0x6025a2
cmp dword [eax + 4], 0
je 0x60259f
mov ecx, dword [eax + 4]
jmp 0x6025a2
lea ecx, [eax + 8]
mov edx, dword [0x7ba884]
test edx, edx
jne 0x6025b0
xor eax, eax
jmp 0x6025b3
mov eax, dword [edx + 0x34]
mov si, word [ecx + eax*2 - 2]
cmp si, 0x5c
je 0x60261d
mov eax, 0x6f072a
test eax, eax
je 0x60261d
cmp dword [0x7ba884], 0
jne 0x6025d4
xor edx, edx
jmp 0x602609
mov ecx, dword [0x7ba884]
cmp dword [ecx], 0
jne 0x6025fd
mov esi, dword [0x7ba884]
test esi, esi
jne 0x6025ed
xor edx, edx
jmp 0x602609
cmp dword [esi + 4], 0
je 0x6025f8
mov edx, dword [esi + 4]
jmp 0x602609
lea edx, [esi + 8]
jmp 0x602609
mov eax, 0x7ba884
call fcn.0040a360
mov edx, eax
mov edx, 0x6f072a
mov eax, dword [0x7ba884]
call fcn.00408ec4
mov dword [0x7ba884], eax
call sub.KERNEL32.DLL_GetCurrentProcessId
mov dword [0x7ba888], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x6f0620], eax
mov byte [0x6f0624], 1
mov esi, dword [0x6f0620]
inc dword [0x6f0620]
dec dword [ebx + 0x1c]
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LeaveCriticalSection
mov word [ebx + 0x10], 0
lea eax, [ebp - 0x378]
call fcn.005dbe64
xor edx, edx
xor ecx, ecx
mov dl, byte [ebp - 0x373]
xor eax, eax
push edx
xor edx, edx
mov cl, byte [ebp - 0x374]
push ecx
xor ecx, ecx
mov al, byte [ebp - 0x375]
push eax
xor eax, eax
mov dl, byte [ebp - 0x376]
push edx
lea edx, [ebp - 0x478]
mov cl, byte [ebp - 0x377]
push ecx
mov al, byte [ebp - 0x378]
push eax
push str._02x_02x_02x_02x_02x_02x
push edx
call fcn.005682f4
add esp, 0x20
mov word [ebx + 0x10], 0x44
lea ecx, [ebp - 0xc]
mov edx, str.krkr_
mov eax, 0x7ba884
call fcn.004016d4
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x478]
push ecx
inc dword [ebx + 0x1c]
call fcn.00408c54
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x10]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
pop eax
call fcn.00401834
lea eax, [ebp - 0x14]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x18]
mov edx, 0x6f078c
call fcn.004016d4
lea eax, [ebp - 0x18]
mov edx, esi
push eax
lea eax, [ebp - 0x1c]
inc dword [ebx + 0x1c]
call fcn.0040a278
mov edx, eax
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x20]
pop eax
call fcn.00401834
lea eax, [ebp - 0x20]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x24]
mov edx, 0x6f078c
call fcn.004016d4
lea eax, [ebp - 0x24]
push eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, dword [0x7ba888]
call fcn.0040a278
mov edx, eax
inc dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x2c]
pop eax
call fcn.00401834
mov eax, dword [ebp - 0x2c]
mov word [ebx + 0x10], 0x50
push eax
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x28], 0
je 0x60276a
mov eax, dword [ebp - 0x28]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x24], 0
je 0x60277b
mov eax, dword [ebp - 0x24]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x20], 0
je 0x60278c
mov eax, dword [ebp - 0x20]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x1c], 0
je 0x60279d
mov eax, dword [ebp - 0x1c]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x18], 0
je 0x6027ae
mov eax, dword [ebp - 0x18]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x14], 0
je 0x6027bf
mov eax, dword [ebp - 0x14]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0x10], 0
je 0x6027d0
mov eax, dword [ebp - 0x10]
call fcn.00408920
dec dword [ebx + 0x1c]
cmp dword [ebp - 0xc], 0
je 0x6027e1
mov eax, dword [ebp - 0xc]
call fcn.00408920
pop eax
mov word [ebx + 0x10], 0x44
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret