Function at 0x40d570
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab91e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x310
mov eax, dword [0x6370c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2d4], edi
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 4], 0
and dword [ebp - 0x2f0], 0xfffffe00
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
mov byte [ebp - 0x308], 0
and dword [ebp - 0x308], 0xfffffeff
mov dword [ebp - method.Json::CharReaderBuilder.virtual_0], vtable.Json::CharReaderBuilder.0
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 5
call fcn.0041a030
xorps xmm0, xmm0
mov dword [ebp - method.Json::FastWriter.virtual_0], vtable.Json::FastWriter.0
movups xmmword [ebp - 0x2b4], xmm0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0xf
mov byte [ebp - 0x2b4], 0
mov word [ebp - 0x29c], 0
mov byte [ebp - 0x29a], 0
push 0x208
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00477660
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d6f0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00401950
mov byte [ebp - 4], 8
mov eax, bind
mov ecx, dword [ebp - 0x228]
sub eax, ecx
cmp eax, 1
jb 0x40de86
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 1
cmova eax, dword [ebp - 0x238]
push 0x62a88c
push ecx
push eax
push ecx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x268]
call fcn.00401b30
push str.configcache.json
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 9
call fcn.00401a40
xor ecx, ecx
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x224]
movq qword [ebp - 0x2e0], xmm1
movups xmmword [ebp - 0x278], xmm0
cmp ecx, 7
jbe 0x40d7e8
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d7cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8b
push ecx
push edx
call fcn.0042dd9f
movups xmm0, xmmword [ebp - 0x278]
add esp, 8
movq xmm1, qword [ebp - 0x2e0]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x254]
movq qword [ebp - 0x228], xmm1
movups xmmword [ebp - 0x238], xmm0
cmp ecx, 7
jbe 0x40d83b
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d831
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8b
push ecx
push edx
call fcn.0042dd9f
add esp, 8
push ecx
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0x238]
call fcn.00427d60
add esp, 4
cmp al, 1
jne 0x40dcb2
push 0x62b088
push str.User
lea ecx, [ebp - 0x2f8]
call fcn.0041ba90
push 0x62b08e
push 0x62b08c
mov ecx, eax
call fcn.0041ba90
lea ecx, [ebp - 0x280]
push ecx
mov ecx, eax
call fcn.0041c2a0
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x40d8be
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x26c]
cmp ecx, 0xf
jbe 0x40d8f8
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de90
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xor dl, dl
lea ecx, [ebp - 0x268]
call fcn.0040aac0
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.0040a9b0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x298]
mov dword [ebp - 0x2d4], esp
mov ecx, esp
push eax
call fcn.0040b3f0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.0040b3f0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xb
call fcn.004076f0
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x250]
cmp eax, esi
je 0x40d9d4
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x40d9a2
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d998
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de95
push ecx
push edx
call fcn.0042dd9f
add esp, 8
movups xmm0, xmmword [esi]
movq xmm1, qword [esi + 0x10]
movups xmmword [ebp - 0x250], xmm0
mov dword [esi + 0x10], 0
movq qword [ebp - 0x2e0], xmm1
movq qword [ebp - 0x240], xmm1
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x40d9eb
movq xmm0, qword [ebp - 0x240]
movq qword [ebp - 0x2e0], xmm0
movups xmm0, xmmword [ebp - 0x250]
mov ecx, dword [ebp - 0x2bc]
movups xmmword [ebp - 0x278], xmm0
cmp ecx, 0xf
jbe 0x40da2c
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da22
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de95
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x278]
mov dword [edi + 0x14], 0
mov dword [ebp - 0x23c], 0xf
movups xmmword [edi], xmm0
mov byte [ebp - 0x250], 0
movq xmm0, qword [ebp - 0x2e0]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x284]
movq qword [edi + 0x10], xmm0
cmp ecx, 0xf
jbe 0x40dab0
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40daa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de9a
push ecx
push edx
call fcn.0042dd9f
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
cmp ecx, 7
jbe 0x40db0f
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40db05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de9a
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp ecx, 7
jbe 0x40db70
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40db66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de9a
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
movsx eax, byte [ebp - 0x308]
mov dword [ebp - 0x224], 7
sub eax, 4
je 0x40dbd0
sub eax, 2
je 0x40dba3
sub eax, 1
jne 0x40dbea
mov esi, dword [ebp - 0x310]
test esi, esi
je 0x40dbea
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422da0
push 0x30
push dword [esi]
call fcn.0042dd9f
push 8
push esi
call fcn.0042dd9f
add esp, 0x10
jmp 0x40dbea
test dword [ebp - 0x308], 0x100
je 0x40dbea
push dword [ebp - 0x310]
call fcn.0047a689
add esp, 4
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x40dc1d
push 0x41a9c0
lea esi, [eax - 4]
mov byte [ebp - 4], 0xd
push dword [esi]
push 4
push eax
call fcn.0042e317
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0042e029
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2f0]
movsx eax, cl
sub eax, 4
je 0x40dc66
sub eax, 2
je 0x40dc39
sub eax, 1
jne 0x40dc7c
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x40dc7c
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422da0
push 0x30
push dword [esi]
call fcn.0042dd9f
push 8
push esi
call fcn.0042dd9f
add esp, 0x10
jmp 0x40dc7c
test ecx, 0x100
je 0x40dc7c
push dword [ebp - 0x2f8]
call fcn.0047a689
add esp, 4
mov esi, dword [ebp - 0x2ec]
test esi, esi
je 0x40de64
push 0x41a9c0
mov byte [ebp - 4], 0xe
push dword [esi - 4]
push 4
push esi
call fcn.0042e317
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
jmp 0x40de5c
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 4
mov dword [edi + 0x14], 0xf
mov eax, dword [str.null]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
mov dword [edi], eax
mov byte [edi + 4], 0
cmp ecx, 7
jbe 0x40dd23
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dd19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de9f
push ecx
push edx
call fcn.0042dd9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
movsx eax, byte [ebp - 0x308]
mov dword [ebp - 0x224], 7
sub eax, 4
je 0x40dd83
sub eax, 2
je 0x40dd56
sub eax, 1
jne 0x40dd9d
mov esi, dword [ebp - 0x310]
test esi, esi
je 0x40dd9d
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422da0
push 0x30
push dword [esi]
call fcn.0042dd9f
push 8
push esi
call fcn.0042dd9f
add esp, 0x10
jmp 0x40dd9d
test dword [ebp - 0x308], 0x100
je 0x40dd9d
push dword [ebp - 0x310]
call fcn.0047a689
add esp, 4
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x40ddd0
push 0x41a9c0
lea esi, [eax - 4]
mov byte [ebp - 4], 0xf
push dword [esi]
push 4
push eax
call fcn.0042e317
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0042e029
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2f0]
movsx eax, cl
sub eax, 4
je 0x40de19
sub eax, 2
je 0x40ddec
sub eax, 1
jne 0x40de2f
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x40de2f
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422da0
push 0x30
push dword [esi]
call fcn.0042dd9f
push 8
push esi
call fcn.0042dd9f
add esp, 0x10
jmp 0x40de2f
test ecx, 0x100
je 0x40de2f
push dword [ebp - 0x2f8]
call fcn.0047a689
add esp, 4
mov esi, dword [ebp - 0x2ec]
test esi, esi
je 0x40de64
push 0x41a9c0
mov byte [ebp - 4], 0x10
push dword [esi - 4]
push 4
push esi
call fcn.0042e317
mov ecx, dword [esi - 4]
lea edx, [esi - 4]
lea ecx, [ecx*4 + 4]
push ecx
push edx
call fcn.0042e029
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042db10
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00401210
call fcn.0047a9c0
call fcn.0047a9c0
call fcn.0047a9c0
call fcn.0047a9c0
call fcn.0047a9c0
int3