Function at 0x431d28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x508608
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.004319e0
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 0x431df5
mov eax, edi
lea esi, [esp + 0x3c]
call fcn.00432190
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
lea ebx, [edi + 0x9c]
mov dword [esp + 0x10], eax
cmp ebx, eax
je 0x431dcc
sub edi, ebx
lea esi, [edi + ebx]
mov eax, ebx
call fcn.00432190
add ebx, 0x9c
cmp ebx, dword [esp + 0x10]
jne 0x431db6
mov edi, dword [esp + 0x14]
mov ebx, dword [edi + 0x2c]
lea esi, [ebx - 0x9c]
jmp 0x431de6
call fcn.00431bed
add esi, 0x9c
cmp esi, ebx
jne 0x431ddb
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 0x431e12
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x431d7f
cmp dword [0x550334], 0
je 0x431e41
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.00427dfb
add esp, 0x14
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x431e52
push 0x3e8
jmp 0x43215c
mov eax, dword [esp + 0x44]
sub eax, 0
je 0x431ea3
dec eax
je 0x431e95
dec eax
je 0x431e85
dec eax
je 0x431e75
dec eax
jne 0x43215a
call fcn.00431649
jmp 0x43215a
push dword [esp + 0x40]
mov ebx, esi
call fcn.00431839
jmp 0x43215a
push dword [esp + 0x40]
mov ebx, esi
call fcn.004317c1
jmp 0x43215a
mov ecx, dword [esp + 0x40]
call fcn.0043156b
jmp 0x43215a
mov ebx, dword [esp + 0xa0]
push 8
pop eax
cmp dword [esp + 0xb4], eax
jae 0x431ebd
lea ebx, [esp + 0xa0]
mov ecx, dword [esp + 0xbc]
cmp dword [esp + 0xd0], eax
jae 0x431ed4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
cmp dword [esp + 0x98], eax
jae 0x431eef
lea ecx, [esp + 0x84]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x7c], eax
jae 0x431f01
lea ecx, [esp + 0x68]
cmp dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
jae 0x431f13
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 0x43215a
call fcn.0043156b
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.004d65da
pop ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x500], 2
test eax, eax
je 0x431f70
push eax
call fcn.0043258f
jmp 0x431f72
xor eax, eax
mov byte [esp + 0x500], 1
mov dword [esi + 4], eax
test eax, eax
jne 0x431f8e
mov byte [esp + 0x500], al
push edi
jmp 0x432154
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.004042b1
mov edi, dword [esi + 4]
add edi, 0xa8
lea eax, [esp + 0x30]
mov byte [esp + 0x500], 3
call fcn.00403197
mov eax, edi
call fcn.004357c8
mov byte [esp + 0x500], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.0040436d
mov edi, 0x280c
push edi
call fcn.004d65da
mov ebx, eax
pop ecx
test ebx, ebx
je 0x432148
push edi
push 0
push ebx
call fcn.004d9310
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 0x432023
mov eax, dword [ecx]
inc dword [esp + 0x1c]
lea ecx, [eax + 0x2808]
cmp dword [ecx], edx
jne 0x43201d
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.004042b1
mov byte [esp + 0x500], 4
mov edi, dword [esi + 4]
lea edi, [edi + 0xb0]
call fcn.00403197
mov byte [esp + 0x500], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
call fcn.0040436d
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.004d8f38
add esp, 0xc
cmp dword [esp + 0x28], 0
jne 0x4320ee
xor eax, eax
push 0x40e
push eax
mov word [esp + 0xe4], ax
lea eax, [esp + 0xe6]
push eax
call fcn.004d9310
add esp, 0xc
lea eax, [esp + 0xdc]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x410
ja 0x432148
test eax, eax
je 0x432148
lea ecx, [esp + 0xdc]
push ecx
jmp 0x4320f2
push dword [esp + 0x28]
lea eax, [ebx + 0x1004]
push edi
push eax
mov dword [esp + 0x1c], eax
call fcn.004d8f38
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x432125
push dword [esp + 0x20]
add ebx, 0x2004
push 0x400
push ebx
call fcn.004d8f38
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.00432ab0
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 0x431d7f