Function at 0x437c50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x704
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
mov eax, dword [0x4da734]
mov edx, dword [eax + 0xc]
mov edi, ecx
xor esi, esi
mov ecx, 0x4da734
mov dword [ebp - 0x5b8], edi
mov dword [ebp - 0x5c4], esi
call edx
add eax, 0x10
mov dword [ebp - 0x5c0], eax
push 0x206
lea eax, [ebp - 0x216]
push esi
mov dword [ebp - 4], esi
push eax
mov word [ebp - 0x218], si
call int.0048bd10
mov eax, dword [edi + 0x440]
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x218]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x437ce4
sub eax, ecx
sar eax, 1
lea edx, [ebp - 0x218]
mov ebx, eax
push edx
lea eax, [ebp - 0x5c0]
call fcn.0040cfc0
lea esi, [edi + 0x498]
lea ebx, [ebp - 0x5c0]
call fcn.00439db0
lea esi, [edi + 0x428]
lea eax, [ebp - 0x5b4]
mov ebx, 0xd
push eax
mov ecx, esi
mov dword [ebp - 0x5b4], ebx
mov dword [ebp - 0x5bc], esi
call fcn.0043a300
mov edi, eax
add edi, 0x48
lea eax, [ebp - 0x5c0]
call fcn.0040c900
lea ecx, [ebp - 0x5b4]
push ecx
mov ecx, esi
mov dword [ebp - 0x5b4], ebx
call fcn.0043a300
mov edx, dword [eax + 0x70]
mov ebx, dword [ebp - 0x5b8]
add eax, 0x70
mov eax, dword [edx - 0xc]
test eax, eax
je 0x43831f
cmp dword [ebx + 0x424], 0
je 0x43831f
lea eax, [ebp - 0x330]
call fcn.0041b820
lea eax, [ebp - 0x5b4]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
mov dword [ebp - 0x5b4], 0xd
call fcn.0043a300
mov ecx, dword [eax + 0x70]
add eax, 0x70
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x437db7
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [ebp - 0x330]
call fcn.0043d0d0
mov edi, dword [ebp - 0x5bc]
lea ecx, [ebp - 0x5b4]
push ecx
mov ecx, edi
mov dword [ebp - 0x5b4], 0xd
call fcn.0043a300
mov ecx, dword [eax + 0x48]
add eax, 0x48
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x437e00
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 0x437e3c
mov dword [ebp - 0x278], 1
lea edx, [ebp - 0x5b4]
push edx
mov ecx, edi
mov dword [ebp - 0x5b4], 0xd
call fcn.0043a300
add dword [eax + 0x10], 1
add eax, 0x10
lea eax, [ebp - 0x5b4]
push eax
mov ecx, edi
mov dword [ebp - 0x5b4], 0xd
call fcn.0043a300
mov dword [eax + 4], esi
mov dword [ebp - 0x5b4], 0xd
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], 0x6e
jae 0x437ec2
lea eax, [ebp - 0x32c]
push esi
lea edx, [ebp - 0x708]
push eax
lea eax, [ebp - 0x70c]
mov dword [ebp - 0x70c], edx
call fcn.0043bc80
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x70c]
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 0x437f02
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x250]
call fcn.0040d220
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x70c]
lea ecx, [ebp - 0x708]
cmp eax, ecx
je 0x437f37
push eax
call fcn.00489176
add esp, 4
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x437f4c
lea eax, [ebp - 0x310]
push 0
lea edx, [ebp - 0x684]
push eax
lea eax, [ebp - 0x688]
mov dword [ebp - 0x688], edx
call fcn.0043bc80
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x688]
mov eax, edx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x437f90
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.0040d220
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x688]
lea ecx, [ebp - 0x684]
cmp eax, ecx
je 0x437fc5
push eax
call fcn.00489176
add esp, 4
mov edx, dword [ebp - 0x230]
mov eax, 0x10
cmp dword [ebp - 0x21c], eax
jae 0x437fde
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x24c]
jae 0x437ff2
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 - 0x5c8], esi
mov eax, 0x10
jne 0x438064
cmp dword [ebp - 0x21c], eax
jae 0x438034
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x24c]
jae 0x438048
lea eax, [ebp - 0x24c]
push ecx
push eax
push 0x4bb128
push 0x4b7c08
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x14
jmp 0x4380a1
cmp dword [ebp - 0x21c], eax
jae 0x438072
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x24c]
jae 0x438086
lea eax, [ebp - 0x24c]
push ecx
push eax
push esi
push 0x4bb128
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 0x438268
mov ecx, dword [ebp - 0x5bc]
lea eax, [ebp - 0x5b4]
mov edi, 0xd
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], 8
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 - 0x5b8], eax
jne 0x438184
xor edx, edx
jmp 0x4381d5
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x4381d1
add eax, eax
mov dword [ebp - 0x5b4], eax
call fcn.00491f30
mov esi, esp
test esi, esi
je 0x4381d1
mov eax, dword [ebp - 0x5b4]
mov ecx, dword [ebp - 0x5b8]
push 0
push 0
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push ecx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4381d3
xor eax, eax
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4381e0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x4fc]
call fcn.0040d220
lea edx, [ebp - 0x5b0]
push edx
call fcn.0047ae96
mov edi, eax
call fcn.00441680
lea esi, [ebp - 0x5b0]
mov byte [ebp - 4], 7
call fcn.0041d890
mov ecx, dword [ebx + 0x404]
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push ecx
push 2
mov ecx, ebx
call edx
cmp dword [ebp - 0x2fc], 8
mov eax, dword [ebp - 0x310]
jae 0x438241
lea eax, [ebp - 0x310]
push eax
mov eax, dword [ebp - 0x5c8]
push eax
push 0x4bb128
push str.vk2B
call fcn.00474370
push eax
call fcn.004743e0
add esp, 0x14
mov edi, 1
jmp 0x4382a2
lea ecx, [ebp - 0x5c8]
push ecx
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x5c8], 0xd
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 0xd
mov ecx, ebx
call eax
mov edi, dword [ebp - 0x5c4]
cmp dword [ebp - 0x21c], 0x10
jb 0x4382ba
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.00487c06
add esp, 4
xor esi, esi
cmp dword [ebp - 0x238], 0x10
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], esi
mov byte [ebp - 0x230], 0
jb 0x4382eb
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], 0xf
mov byte [ebp - 0x24c], 0
mov byte [ebp - 4], 0
call fcn.00421c70
test edi, edi
jne 0x4383dc
mov esi, dword [ebp - 0x5bc]
push 0x27e1
push 0x4b8130
push 0x4bb188
lea eax, [ebp - 0x604]
push eax
mov dword [ebp - 0x5c4], 0xd
call fcn.0041bb60
mov edi, eax
lea ecx, [ebp - 0x5c4]
push ecx
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.0043a300
mov edx, dword [eax + 0xf4]
mov eax, dword [eax + 0xf0]
push edx
push eax
lea ecx, [ebx + 0x40c]
call fcn.00441a60
push eax
push edi
xor ebx, ebx
push ebx
call fcn.0041bdd0
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x5d0], esi
jb 0x43839a
mov ecx, dword [ebp - 0x5e4]
push ecx
call fcn.00487c06
add esp, 4
cmp dword [ebp - 0x5ec], esi
mov edi, 0xf
mov dword [ebp - 0x5d0], edi
mov dword [ebp - 0x5d4], ebx
mov byte [ebp - 0x5e4], 0
jb 0x4383c9
mov edx, dword [ebp - 0x600]
push edx
call fcn.00487c06
add esp, 4
mov dword [ebp - 0x5ec], edi
mov dword [ebp - 0x5f0], ebx
mov byte [ebp - 0x600], 0
mov dword [ebp - 4], 0xffffffff
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 0x438405
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x720]
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