Function at 0x431c95
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5085d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x54b3f0]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push esi
push edi
mov eax, dword [0x54b3f0]
xor eax, esp
push eax
lea eax, [esp + 0x4f8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], esi
call fcn.0043194d
and dword [esp + 0x500], 0
push 0xffffffffffffffff
push dword [esi + 8]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x28]
cmp edi, dword [esi + 0x2c]
je 0x431d62
mov eax, edi
lea esi, [esp + 0x3c]
call fcn.004320fd
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
lea ebx, [edi + 0x9c]
mov dword [esp + 0x10], eax
cmp ebx, eax
je 0x431d39
sub edi, ebx
lea esi, [edi + ebx]
mov eax, ebx
call fcn.004320fd
add ebx, 0x9c
cmp ebx, dword [esp + 0x10]
jne 0x431d23
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x2c]
lea esi, [ebx - 0x9c]
jmp 0x431d53
call fcn.00431b5a
add esi, 0x9c
cmp esi, ebx
jne 0x431d48
add dword [edi + 0x2c], 0xffffff64
mov bl, 1
mov esi, edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
jne 0x431d7f
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x431cec
cmp dword [0x550334], 0
je 0x431dae
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x550334]
push eax
push str._INFO___d___handle_type__d___pid__d___taskid__d_
call fcn.00427e2f
add esp, 0x14
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x431dbf
push 0x3e8
jmp 0x4320c9
mov eax, dword [esp + 0x44]
sub eax, 0
je 0x431e10
dec eax
je 0x431e02
dec eax
je 0x431df2
dec eax
je 0x431de2
dec eax
jne 0x4320c7
call fcn.004315b6
jmp 0x4320c7
push dword [esp + 0x40]
mov ebx, esi
call fcn.004317a6
jmp 0x4320c7
push dword [esp + 0x40]
mov ebx, esi
call fcn.0043172e
jmp 0x4320c7
mov ecx, dword [esp + 0x40]
call fcn.004314d8
jmp 0x4320c7
mov ebx, dword [esp + 0xa0]
push 8
pop eax
cmp dword [esp + 0xb4], eax
jae 0x431e2a
lea ebx, [esp + 0xa0]
mov ecx, dword [esp + 0xbc]
cmp dword [esp + 0xd0], eax
jae 0x431e41
lea ecx, [esp + 0xbc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x98], eax
jae 0x431e5c
lea ecx, [esp + 0x84]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x7c], eax
jae 0x431e6e
lea ecx, [esp + 0x68]
cmp dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
jae 0x431e80
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
mov al, byte [esp + 0x48]
mov byte [esp + 0x38], al
mov dword [esp + 0x2c], ecx
je 0x4320c7
call fcn.004314d8
lea edi, [esi + 0x10]
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xb8
mov byte [esp + 0x504], 1
call fcn.004d65aa
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x500], 2
test eax, eax
je 0x431edd
push eax
call fcn.004324fc
jmp 0x431edf
xor eax, eax
mov byte [esp + 0x500], 1
mov dword [esi + 4], eax
test eax, eax
jne 0x431efb
mov byte [esp + 0x500], al
push edi
jmp 0x4320c1
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi + 4]
mov byte [eax + 0x9c], 1
push ebx
lea eax, [esp + 0x34]
push eax
call fcn.00404371
mov edi, dword [esi + 4]
add edi, 0xa8
lea eax, [esp + 0x30]
mov byte [esp + 0x500], 3
call fcn.00403291
mov eax, edi
call fcn.0043570c
mov byte [esp + 0x500], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.0040442d
mov edi, 0x280c
push edi
call fcn.004d65aa
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4320b5
push edi
push 0
push ebx
call fcn.004d92e0
mov eax, dword [esi + 4]
add esp, 0xc
xor edx, edx
mov dword [ebx], eax
mov dword [ebx + 0x2808], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x1c], 1
jmp 0x431f90
mov eax, dword [ecx]
inc dword [esp + 0x1c]
lea ecx, [eax + 0x2808]
cmp dword [ecx], edx
jne 0x431f8a
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x10]
mov dword [eax + 0x2808], ebx
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
inc dword [eax]
mov eax, dword [esi + 4]
mov dword [eax + 0xa0], ecx
lea eax, [esp + 0x38]
push eax
call fcn.00404371
mov byte [esp + 0x500], 4
mov edi, dword [esi + 4]
lea edi, [edi + 0xb0]
call fcn.00403291
mov byte [esp + 0x500], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.0040442d
mov eax, dword [esp + 0x2c]
push dword [esp + 0x18]
mov dword [ebx + 0x2804], eax
mov edi, 0x800
lea eax, [ebx + 4]
push edi
push eax
call fcn.004d8f08
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x43205b
xor eax, eax
push 0x40e
push eax
mov word [esp + 0xe4], ax
lea eax, [esp + 0xe6]
push eax
call fcn.004d92e0
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x4320b5
test eax, eax
je 0x4320b5
lea ecx, [esp + 0xdc]
push ecx
jmp 0x43205f
push dword [esp + 0x28]
lea eax, [ebx + 0x1004]
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.004d8f08
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x432092
push dword [esp + 0x20]
add ebx, 0x2004
push 0x400
push ebx
call fcn.004d8f08
add esp, 0xc
push dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esi + 4]
call fcn.00432a1d
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov byte [esp + 0x500], 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x14]
jmp 0x431cec