Function at 0x4130a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a40b
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x466124]
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
sub esp, 0x18
mov ecx, esp
push 0x46744c
call fcn.004233e0
lea ecx, [ebp - 0x1ec]
call fcn.004061f0
mov ecx, esp
mov dword [ebp - 4], 0
push 0x466d8c
call fcn.004233e0
lea ecx, [ebp - 0x1a4]
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 1
push 0x467524
call fcn.004233e0
lea ecx, [ebp - 0x1d4]
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 2
push 0x467584
call fcn.004233e0
lea ecx, [ebp - 0x18c]
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 3
push 0x466fcc
call fcn.004233e0
lea ecx, [ebp - 0x1bc]
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 4
push 0x466d14
call fcn.004233e0
lea ecx, [ebp - 0x174]
call fcn.004061f0
add esp, 0x18
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4131c0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.004242f0
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x4671ac
call fcn.004233e0
lea ecx, [ebp - 0x15c]
call fcn.004061f0
mov ecx, esp
mov byte [ebp - 4], 7
push 0x467404
call fcn.004233e0
lea ecx, [ebp - 0x144]
call fcn.004061f0
mov byte [ebp - 4], 8
mov edx, esp
mov esi, closesocket
mov dword [ebp - 0x1f0], edx
mov ebx, dword [ebp - 0x11c]
mov eax, esi
mov edi, dword [0x467054]
sub eax, ebx
cmp eax, edi
jb 0x413ab8
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edi
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push ebx
push ecx
push ecx
push dword [ebp - 0x1f0]
mov ecx, edx
call fcn.004259c0
call fcn.00406d90
mov edx, esp
mov dword [ebp - 0x1f0], esp
mov dword [ebp - 0x1f8], edx
mov eax, esi
mov edi, dword [0x467054]
sub eax, edi
mov ebx, dword [ebp - 0x134]
cmp eax, ebx
jb 0x413ab8
cmp dword [0x467058], 0x10
lea eax, [ebp - 0x144]
mov ecx, 0x467044
cmovae ecx, dword [0x467044]
cmp dword [ebp - 0x130], 0x10
push ebx
cmovae eax, dword [ebp - 0x144]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f8]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 9
mov edx, esp
mov dword [ebp - 0x1f8], esp
mov dword [ebp - 0x1fc], edx
mov eax, esi
mov ebx, dword [ebp - 0x11c]
sub eax, ebx
mov edi, dword [0x467054]
cmp eax, edi
jb 0x413ab8
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edi
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push ebx
push ecx
push ecx
push dword [ebp - 0x1fc]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ebp - 0x1f4], edx
mov eax, esi
mov edi, dword [ebp - 0x194]
sub eax, edi
mov ebx, dword [ebp - 0x14c]
cmp eax, ebx
jb 0x413abd
cmp dword [ebp - 0x190], 0x10
lea ecx, [ebp - 0x1a4]
push ebx
cmovae ecx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x148], 0x10
cmovae eax, dword [ebp - 0x15c]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1ec]
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 8
call fcn.0040f8f0
add esp, 0x48
mov eax, esi
mov edx, esp
mov dword [ebp - 0x1f4], esp
mov dword [ebp - 0x1fc], edx
mov edi, dword [0x467054]
sub eax, edi
mov ebx, dword [ebp - 0x134]
cmp eax, ebx
jb 0x413ab8
cmp dword [0x467058], 0x10
lea eax, [ebp - 0x144]
mov ecx, 0x467044
cmovae ecx, dword [0x467044]
cmp dword [ebp - 0x130], 0x10
push ebx
cmovae eax, dword [ebp - 0x144]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov edx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ebp - 0x1f8], edx
mov eax, esi
mov ebx, dword [ebp - 0x11c]
sub eax, ebx
mov edi, dword [0x467054]
cmp eax, edi
jb 0x413ac2
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edi
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push ebx
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov edx, esp
mov dword [ebp - 0x1f8], esp
mov dword [ebp - 0x1f0], edx
mov eax, esi
mov edi, dword [ebp - 0x17c]
sub eax, edi
mov ebx, dword [ebp - 0x14c]
cmp eax, ebx
jb 0x413ac7
cmp dword [ebp - 0x178], 0x10
lea ecx, [ebp - 0x18c]
push ebx
cmovae ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x148], 0x10
cmovae eax, dword [ebp - 0x15c]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1d4]
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 8
call fcn.0040f8f0
add esp, 0x48
mov eax, esi
mov edx, esp
mov dword [ebp - 0x1f4], esp
mov dword [ebp - 0x1fc], edx
mov edi, dword [0x467054]
sub eax, edi
mov ebx, dword [ebp - 0x134]
cmp eax, ebx
jb 0x413ab8
cmp dword [0x467058], 0x10
lea eax, [ebp - 0x144]
mov ecx, 0x467044
cmovae ecx, dword [0x467044]
cmp dword [ebp - 0x130], 0x10
push ebx
cmovae eax, dword [ebp - 0x144]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov edx, esp
mov dword [ebp - 0x1fc], esp
mov dword [ebp - 0x1f8], edx
mov eax, esi
mov ebx, dword [ebp - 0x11c]
sub eax, ebx
mov edi, dword [0x467054]
cmp eax, edi
jb 0x413acc
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edi
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push ebx
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0x10
mov edx, esp
mov dword [ebp - 0x1f8], esp
mov dword [ebp - 0x1f0], edx
mov eax, esi
mov edi, dword [ebp - 0x164]
sub eax, edi
mov ebx, dword [ebp - 0x14c]
cmp eax, ebx
jb 0x413ad1
cmp dword [ebp - 0x160], 0x10
lea ecx, [ebp - 0x174]
push ebx
cmovae ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x15c]
cmp dword [ebp - 0x148], 0x10
cmovae eax, dword [ebp - 0x15c]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
mov ecx, edx
call fcn.004259c0
sub esp, 0x18
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x1bc]
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 8
call fcn.0040f8f0
mov edi, dword [ebp - 0x11c]
mov eax, esi
mov edx, dword [0x467054]
sub eax, edi
add esp, 0x60
cmp eax, edx
jb 0x413ad6
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edx
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x214]
call fcn.004259c0
cmp dword [ebp - 0x200], 0x10
lea eax, [ebp - 0x214]
push 0x45dc14
cmovae eax, dword [ebp - 0x214]
push eax
call fcn.0042e280
add esp, 8
test eax, eax
je 0x4136eb
push eax
call fcn.0042e866
add esp, 4
mov bl, 1
jmp 0x4136ed
xor bl, bl
mov edx, dword [ebp - 0x200]
cmp edx, 0x10
jb 0x413727
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41371d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413adb
push edx
push ecx
call fcn.0042a0d6
add esp, 8
test bl, bl
je 0x4137d9
mov edi, dword [ebp - 0x11c]
sub esi, edi
mov edx, dword [0x467054]
cmp esi, edx
jb 0x413ae0
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
push edx
cmovae ecx, dword [ebp - 0x12c]
mov eax, 0x467044
cmp dword [0x467058], 0x10
cmovae eax, dword [0x467044]
push eax
push edi
push ecx
push ecx
push dword [ebp - 0x1f4]
lea ecx, [ebp - 0x214]
call fcn.004259c0
cmp dword [ebp - 0x200], 0x10
lea eax, [ebp - 0x214]
cmovae eax, dword [ebp - 0x214]
push eax
call fcn.0042ea70
mov edx, dword [ebp - 0x200]
add esp, 4
cmp edx, 0x10
jb 0x4137d9
mov ecx, dword [ebp - 0x214]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4137cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413ae5
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x413813
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413809
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
cmp edx, 0x10
jb 0x413868
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41385e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 0x10
jb 0x4138bd
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4138b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x160]
cmp edx, 0x10
jb 0x4138f7
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4138ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
cmp edx, 0x10
jb 0x41394c
mov ecx, dword [ebp - 0x1bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413942
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
cmp edx, 0x10
jb 0x4139a1
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413997
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
cmp edx, 0x10
jb 0x4139f6
mov ecx, dword [ebp - 0x1d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4139ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
cmp edx, 0x10
jb 0x413a4b
mov ecx, dword [ebp - 0x1a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413a41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
cmp edx, 0x10
jb 0x413a9c
mov ecx, dword [ebp - 0x1ec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413aea
push edx
push ecx
call fcn.0042a0d6
add esp, 8
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.00429a60
mov esp, ebp
pop ebp
ret
call fcn.004026a0
call fcn.004026a0
call fcn.004026a0
call fcn.004026a0
call fcn.004026a0
call fcn.004026a0
call fcn.004026a0
call fcn.0042f0c9
call fcn.004026a0
call fcn.0042f0c9
call fcn.0042f0c9
int3