Function at 0x58ecfd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6130e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x364
push edi
mov dword [ebp - 0x30c], ecx
push 0xffffffffffffffff
push 0x4be
push 0x7d2878
push 0
mov ecx, dword [ebp - 0x30c]
call fcn.004f9816
mov eax, dword [eax + 0x5c]
push eax
call fcn.0053e670
add esp, 0x14
test eax, eax
je 0x58ed52
xor eax, eax
jmp 0x58f5b5
mov ecx, dword [ebp - 0x30c]
call fcn.004f7d51
and eax, 0xff
test eax, eax
je 0x58ed6d
xor eax, eax
jmp 0x58f5b5
push 0
mov ecx, dword [ebp + 8]
call fcn.005012d0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.00501910
cmp dword [ebp + 0xc], 0
je 0x58ed9f
push 0
mov ecx, dword [ebp + 0xc]
call fcn.005012d0
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00501910
mov ecx, dword [ebp - 0x30c]
call fcn.0057b5f0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x18]
call fcn.00539090
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x50], 0
lea edx, [ebp - 0x50]
push edx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.005390b0
mov eax, dword [eax]
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x310]
push eax
call dword [edx + 0xa8]
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push str.http:__
lea ecx, [ebp - 0x29c]
call fcn.004e0720
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x314]
mov dword [ebp - 0x318], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x318]
call fcn.00530bf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.004e0030
push 0x7d28c8
lea ecx, [ebp - 0x3c]
call fcn.00500660
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30c]
call fcn.004f9816
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
jne 0x58eee7
push 0x1c
call fcn.005f9769
add esp, 4
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2a4], 0
je 0x58eebb
mov eax, dword [ebp - 0x30c]
push eax
mov ecx, dword [ebp - 0x2a4]
call fcn.00541220
mov dword [ebp - 0x31c], eax
jmp 0x58eec5
mov dword [ebp - 0x31c], 0
mov ecx, dword [ebp - 0x31c]
mov dword [ebp - 0x2a0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x44], ecx
mov dword [ebp - 0x44], 0
jmp 0x58eef9
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jge 0x58f586
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.005390b0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x30c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30c]
call dword [edx + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x58ef34
jmp 0x58eef0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x24]
lea ecx, [ebp - 0x68]
call fcn.00500510
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.005013a0
mov byte [ebp - 4], 6
mov dword [ebp - 0x74], 0
jmp 0x58ef7c
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x70]
jge 0x58f55d
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x68]
call fcn.005005e0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x2ac], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x2a8], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x2b4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x2b0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2ac]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x2a8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2b8], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x2c4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2c0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2bc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x2b8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
call dword [edx + 0x2c]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x58f04b
cmp dword [ebp - 0x24], 0
jne 0x58f050
jmp 0x58ef73
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00502b80
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 8]
cmp dword [ebp - 0x40], 0
jl 0x58f078
cmp dword [ebp - 0x20], 0
jne 0x58f07d
jmp 0x58ef73
push ecx
mov ecx, esp
mov dword [ebp - 0x2c8], esp
push 0x7d28d0
call fcn.00500410
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp - 0x30c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30c]
call dword [eax + 0x20]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x328]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004e07b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2cc]
call fcn.004e0030
push str.http
push 4
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.005022a0
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x330], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x330]
call fcn.00500d90
mov byte [ebp - 0x2d0], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2d4]
call fcn.004e0030
mov edx, dword [ebp - 0x2d0]
and edx, 0xff
test edx, edx
je 0x58f26e
push 0x7d28e4
push 1
lea eax, [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.005022a0
mov dword [ebp - 0x334], eax
mov ecx, dword [ebp - 0x334]
mov dword [ebp - 0x338], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x338]
call fcn.00500d90
mov byte [ebp - 0x2d8], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2dc]
call fcn.004e0030
mov edx, dword [ebp - 0x2d8]
and edx, 0xff
test edx, edx
je 0x58f227
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2e4]
push ecx
push 0
push 0x7d28e8
lea ecx, [ebp - 0x2e0]
call fcn.004e0720
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x340]
call fcn.00530a30
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x348], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x348]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004e07b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2e4]
call fcn.004e0030
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e0]
call fcn.004e0030
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00530a30
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x350]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004e07b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2e8]
call fcn.004e0030
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x6c]
call fcn.00518a20
mov dword [ebp - 0x2ec], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp + 8]
call fcn.0057cac0
cmp dword [ebp + 0xc], 0
je 0x58f54c
mov dword [ebp - 0x280], 0
mov word [ebp - 0x27c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x27a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ecx
mov ecx, esp
mov dword [ebp - 0x2f0], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.004e0750
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x30c]
call fcn.00589777
mov dword [ebp - 0x358], eax
mov byte [ebp - 4], 0xd
push 0x82c834
lea ecx, [ebp - 0x284]
call fcn.00500d50
and eax, 0xff
test eax, eax
je 0x58f517
lea ecx, [ebp - 0x27c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x27c]
push edx
call fcn.00588d08
add esp, 4
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x288]
call fcn.005013a0
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004e0910
lea ecx, [eax + eax + 2]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004e1270
push eax
call fcn.005850c0
add esp, 0xc
mov edx, dword [ebp - 0x280]
push edx
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2f8]
push edx
push 0
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004e0720
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x35c]
mov dword [ebp - 0x360], ecx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x360]
call fcn.00530a30
mov dword [ebp - 0x364], eax
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x368], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x368]
call fcn.00530bf0
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 0x370], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x284]
call fcn.004e07b0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x2fc]
call fcn.004e0030
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2f8]
call fcn.004e0030
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2f4]
call fcn.004e0030
lea ecx, [ebp - 0x284]
call fcn.004e1270
push eax
call fcn.00588c90
add esp, 4
test eax, eax
jne 0x58f4f8
mov dword [ebp - 0x28c], 0
push 0
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.00578c19
mov dword [ebp - 0x290], eax
lea ecx, [ebp - 0x298]
call fcn.004e5310
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x290], 0
je 0x58f4c3
push 0xffffffffffffffff
push 4
lea ecx, [ebp - 0x284]
call fcn.004e1270
push eax
lea ecx, [ebp - 0x298]
call fcn.004e5360
test eax, eax
je 0x58f4c3
mov ecx, dword [ebp - 0x28c]
push ecx
mov edx, dword [ebp - 0x290]
push edx
lea ecx, [ebp - 0x298]
call fcn.004e5510
cmp dword [ebp - 0x290], 0
je 0x58f4e7
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
push ecx
call fcn.005f9792
add esp, 4
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x298]
call fcn.004e5340
jmp 0x58f508
push 0x82c838
lea ecx, [ebp - 0x284]
call fcn.00500cf0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x288]
call fcn.004e0030
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x284]
call fcn.00518a20
mov dword [ebp - 0x304], eax
push 0xffffffffffffffff
lea edx, [ebp - 0x304]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0057cac0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x284]
call fcn.004e0030
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call dword [ecx + 8]
jmp 0x58ef73
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
call dword [ecx + 8]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.004e0030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00500280
jmp 0x58eef0
mov ecx, dword [ebp + 8]
call fcn.00539090
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00500280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004e0030
mov eax, dword [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8