Function at 0x42be10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa438
mov eax, dword fs:[0]
push eax
sub esp, 0x6c4
mov eax, dword [0x4d62b0]
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
xor esi, esi
push 0x206
mov edi, ecx
lea eax, [ebp - 0x216]
push esi
push eax
mov dword [ebp - 0x5b4], edi
mov dword [edi + 0x990], 5
mov word [ebp - 0x218], si
call int.0048bd10
add esp, 0xc
lea ecx, [ebp - 0x5c4]
push ecx
mov ecx, 0x4b9658
call fcn.0040b6b0
mov dword [ebp - 4], esi
mov edx, dword [0x4da734]
mov eax, dword [edx + 0xc]
mov ecx, 0x4da734
call eax
add eax, 0x10
mov dword [ebp - 0x5c0], eax
mov byte [ebp - 4], 1
cmp dword [edi + 0x408], esi
je 0x42beba
push 0x4b9658
lea ebx, [esi + 0x29]
lea eax, [ebp - 0x5c4]
call fcn.0040cfc0
mov eax, dword [edi + 0x440]
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
lea ecx, [eax + 2]
jmp 0x42bee0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42bee0
sub eax, ecx
sar eax, 1
lea edx, [ebp - 0x218]
mov ebx, eax
push edx
lea eax, [ebp - 0x5c0]
call fcn.0040cfc0
mov eax, dword [edi + 0x490]
push ecx
sub eax, 0x10
mov dword [edi + 0x4e8], 2
mov dword [ebp - 0x5bc], esp
mov esi, esp
call fcn.0040d0b0
add eax, 0x10
mov dword [esi], eax
mov esi, edi
call fcn.00434c50
lea esi, [edi + 0x498]
lea ebx, [ebp - 0x5c0]
call fcn.00439db0
mov eax, dword [edi]
mov edx, dword [eax + 0x80]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0xb4]
push 0
push 0
mov ecx, edi
call edx
lea esi, [edi + 0x428]
lea eax, [ebp - 0x5b8]
mov ebx, 5
push eax
mov ecx, esi
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x5c8], esi
call fcn.0043a300
mov edi, eax
add edi, 0x70
lea eax, [ebp - 0x5c4]
call fcn.0040c900
lea ecx, [ebp - 0x5b8]
push ecx
mov ecx, esi
mov dword [ebp - 0x5b8], ebx
call fcn.0043a300
mov edi, eax
add edi, 0x48
lea eax, [ebp - 0x5c0]
call fcn.0040c900
mov ebx, dword [ebp - 0x5b4]
cmp dword [ebx + 0x424], 0
je 0x42c524
lea eax, [ebp - 0x330]
call fcn.0041b820
lea edx, [ebp - 0x5b4]
mov byte [ebp - 4], 2
push edx
mov ecx, esi
mov dword [ebp - 0x5b4], 5
call fcn.0043a300
mov ecx, dword [eax + 0x70]
add eax, 0x70
mov eax, ecx
lea esi, [eax + 2]
jmp 0x42c000
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42c000
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp - 0x330]
call fcn.0043d0d0
mov edi, dword [ebp - 0x5c8]
lea eax, [ebp - 0x5b4]
push eax
mov ecx, edi
mov dword [ebp - 0x5b4], 5
call fcn.0043a300
mov ecx, dword [eax + 0x48]
add eax, 0x48
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42c045
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp - 0x314]
call fcn.0043d0d0
xor esi, esi
cmp dword [ebx + 0x408], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x26c], esi
je 0x42c081
mov dword [ebp - 0x278], 1
lea ecx, [ebp - 0x5b4]
push ecx
mov ecx, edi
mov dword [ebp - 0x5b4], 5
call fcn.0043a300
add dword [eax + 0x10], 1
lea edx, [ebp - 0x5b4]
add eax, 0x10
push edx
mov ecx, edi
mov dword [ebp - 0x5b4], 5
call fcn.0043a300
mov dword [eax + 4], esi
mov dword [ebp - 0x5b4], 5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x5b4]
push ecx
mov ecx, edi
mov dword [ebp - 0x5b8], eax
call fcn.0043a300
mov ecx, dword [ebp - 0x5b8]
mov dword [eax + 0x1c], ecx
cmp dword [ebp - 0x318], 8
mov eax, dword [ebp - 0x32c]
mov dword [ebx + 0x404], 0x6b
jae 0x42c107
lea eax, [ebp - 0x32c]
push esi
lea edx, [ebp - 0x648]
push eax
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], edx
call fcn.0043bc80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64c]
mov edi, 0xf
mov eax, edx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], edi
mov byte [ebp - 0x24c], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c147
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x250]
call fcn.0040d220
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x64c]
lea ecx, [ebp - 0x648]
cmp eax, ecx
je 0x42c17c
push eax
call fcn.00489176
add esp, 4
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x42c191
lea eax, [ebp - 0x310]
push 0
lea edx, [ebp - 0x6cc]
push eax
lea eax, [ebp - 0x6d0]
mov dword [ebp - 0x6d0], edx
call fcn.0043bc80
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x6d0]
mov eax, edx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42c1d1
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.0040d220
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x6d0]
lea ecx, [ebp - 0x6cc]
cmp eax, ecx
je 0x42c206
push eax
call fcn.00489176
add esp, 4
mov edx, dword [ebp - 0x230]
mov eax, 0x10
cmp dword [ebp - 0x21c], eax
jae 0x42c21f
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x24c]
jae 0x42c233
lea eax, [ebp - 0x24c]
mov edi, dword [ebx + 0x994]
mov ecx, dword [ebx + 0x424]
mov esi, dword [ecx]
push 0
push 0x4b2efe
push edi
push edx
mov edx, dword [esi + 8]
push eax
call edx
mov ecx, dword [ebp - 0x230]
mov esi, eax
test esi, esi
mov dword [ebp - 0x5bc], esi
mov edi, 0x10
jne 0x42c2a5
cmp dword [ebp - 0x21c], edi
jae 0x42c275
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], edi
mov eax, dword [ebp - 0x24c]
jae 0x42c289
lea eax, [ebp - 0x24c]
push ecx
push eax
push 0x4b96b0
push 0x4b7c08
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x14
jmp 0x42c2e2
cmp dword [ebp - 0x21c], edi
jae 0x42c2b3
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], edi
mov eax, dword [ebp - 0x24c]
jae 0x42c2c7
lea eax, [ebp - 0x24c]
push ecx
push eax
push esi
push 0x4b96b0
push str.XVK
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x18
mov ecx, dword [ebx + 0x424]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push esi
call edx
test eax, eax
je 0x42c48a
mov ecx, dword [ebp - 0x5c8]
lea eax, [ebp - 0x5b4]
mov edi, 5
push eax
mov dword [ebp - 0x5b4], edi
call fcn.0043a300
mov dword [eax + 0xc], esi
mov edx, dword [ebx]
mov eax, dword [edx + 0xb4]
push 0
push 0
mov ecx, ebx
call eax
lea ecx, [ebp - 0x5b0]
push ecx
call fcn.0041c220
mov byte [ebp - 4], 9
mov edx, dword [ebx + 0x4ac]
mov eax, dword [0x4dbc14]
mov ecx, dword [ebx + 0x4b0]
mov dword [ebp - 0x504], edx
mov edx, dword [ebx + 0x4b4]
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x470], eax
mov eax, dword [0x4dbc18]
mov dword [ebp - 0x46c], ecx
mov ecx, dword [ebx + 0x4bc]
lea edx, [ebx + 0x4dc]
push edx
mov dword [ebp - 0x5b0], 0x64
mov dword [ebp - 0x5a8], 0xc
mov dword [ebp - 0x510], edi
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x450], eax
call dword [section..data]
mov edi, dword [ebx + 0x490]
test edi, edi
mov dword [ebp - 0x5b4], eax
jne 0x42c3c5
xor esi, esi
jmp 0x42c3fd
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x42c3da
xor esi, esi
jmp 0x42c3fd
lea esi, [eax + eax]
mov eax, esi
call fcn.00491f30
mov edx, dword [ebp - 0x5b4]
mov ecx, esi
mov eax, edi
mov esi, esp
mov dword [ebp - 0x5b8], esp
call fcn.004103c0
mov esi, eax
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
add ecx, 1
test al, al
jne 0x42c402
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x4fc]
call fcn.0040d220
lea eax, [ebp - 0x5b0]
push eax
call fcn.0047ae96
mov edi, eax
call fcn.00441680
lea esi, [ebp - 0x5b0]
mov byte [ebp - 4], 8
call fcn.0041d890
mov eax, dword [ebx + 0x404]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
push eax
push 4
mov ecx, ebx
call edx
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x42c463
lea eax, [ebp - 0x310]
push eax
mov eax, dword [ebp - 0x5bc]
push eax
push 0x4b96b0
push str.vk2B
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x14
mov edi, 0x10
jmp 0x42c4be
lea ecx, [ebp - 0x5bc]
push ecx
mov ecx, dword [ebp - 0x5c8]
mov dword [ebp - 0x5bc], 5
call fcn.0043a300
mov eax, dword [eax + 0x28]
mov edx, dword [ebx]
push eax
mov dword [ebx + 0x404], eax
mov eax, dword [edx + 0x84]
push 5
mov ecx, ebx
call eax
cmp dword [ebp - 0x21c], edi
jb 0x42c4d5
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.00487c06
add esp, 4
xor esi, esi
cmp dword [ebp - 0x238], edi
mov ebx, 0xf
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
mov byte [ebp - 0x230], 0
jb 0x42c506
mov edx, dword [ebp - 0x24c]
push edx
call fcn.00487c06
add esp, 4
mov dword [ebp - 0x23c], esi
lea esi, [ebp - 0x330]
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x24c], 0
call fcn.00421c70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x5c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c54a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c573
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x6e0]
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.00488fa3
mov esp, ebp
pop ebp
ret