Function at 0x40d560
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 0x5ab83e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x310
mov eax, dword [0x6360c0]
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.00419f00
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.00477510
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 0x40d6e0
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 0x40de76
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 1
cmova eax, dword [ebp - 0x238]
push 0x62985c
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 0x40d7d8
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d7bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de7b
push ecx
push edx
call fcn.0042dc6f
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 0x40d82b
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d821
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de7b
push ecx
push edx
call fcn.0042dc6f
add esp, 8
push ecx
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0x238]
call fcn.00427c30
add esp, 4
cmp al, 1
jne 0x40dca2
push 0x62a058
push str.User
lea ecx, [ebp - 0x2f8]
call fcn.0041b960
push 0x62a05e
push 0x62a05c
mov ecx, eax
call fcn.0041b960
lea ecx, [ebp - 0x280]
push ecx
mov ecx, eax
call fcn.0041c170
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x40d8ae
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 0x40d8e8
mov edx, dword [ebp - 0x280]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d8de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de80
push ecx
push edx
call fcn.0042dc6f
add esp, 8
xor dl, dl
lea ecx, [ebp - 0x268]
call fcn.0040aab0
lea edx, [ebp - 0x268]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x298]
call fcn.0040a9a0
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x298]
mov dword [ebp - 0x2d4], esp
mov ecx, esp
push eax
call fcn.0040b3e0
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x250]
mov ecx, esp
push eax
call fcn.0040b3e0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0xb
call fcn.004076e0
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x250]
cmp eax, esi
je 0x40d9c4
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x40d992
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d988
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de85
push ecx
push edx
call fcn.0042dc6f
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 0x40d9db
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 0x40da1c
mov edx, dword [ebp - 0x2d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de85
push ecx
push edx
call fcn.0042dc6f
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 0x40daa0
mov edx, dword [ebp - 0x298]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40da96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8a
push ecx
push edx
call fcn.0042dc6f
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 0x40daff
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40daf5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8a
push ecx
push edx
call fcn.0042dc6f
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 0x40db60
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40db56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8a
push ecx
push edx
call fcn.0042dc6f
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 0x40dbc0
sub eax, 2
je 0x40db93
sub eax, 1
jne 0x40dbda
mov esi, dword [ebp - 0x310]
test esi, esi
je 0x40dbda
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422c70
push 0x30
push dword [esi]
call fcn.0042dc6f
push 8
push esi
call fcn.0042dc6f
add esp, 0x10
jmp 0x40dbda
test dword [ebp - 0x308], 0x100
je 0x40dbda
push dword [ebp - 0x310]
call fcn.0047a539
add esp, 4
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x40dc0d
push 0x41a890
lea esi, [eax - 4]
mov byte [ebp - 4], 0xd
push dword [esi]
push 4
push eax
call fcn.0042e1e7
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0042def9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2f0]
movsx eax, cl
sub eax, 4
je 0x40dc56
sub eax, 2
je 0x40dc29
sub eax, 1
jne 0x40dc6c
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x40dc6c
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422c70
push 0x30
push dword [esi]
call fcn.0042dc6f
push 8
push esi
call fcn.0042dc6f
add esp, 0x10
jmp 0x40dc6c
test ecx, 0x100
je 0x40dc6c
push dword [ebp - 0x2f8]
call fcn.0047a539
add esp, 4
mov esi, dword [ebp - 0x2ec]
test esi, esi
je 0x40de54
push 0x41a890
mov byte [ebp - 4], 0xe
push dword [esi - 4]
push 4
push esi
call fcn.0042e1e7
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
jmp 0x40de4c
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 0x40dd13
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40dd09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40de8f
push ecx
push edx
call fcn.0042dc6f
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 0x40dd73
sub eax, 2
je 0x40dd46
sub eax, 1
jne 0x40dd8d
mov esi, dword [ebp - 0x310]
test esi, esi
je 0x40dd8d
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422c70
push 0x30
push dword [esi]
call fcn.0042dc6f
push 8
push esi
call fcn.0042dc6f
add esp, 0x10
jmp 0x40dd8d
test dword [ebp - 0x308], 0x100
je 0x40dd8d
push dword [ebp - 0x310]
call fcn.0047a539
add esp, 4
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x40ddc0
push 0x41a890
lea esi, [eax - 4]
mov byte [ebp - 4], 0xf
push dword [esi]
push 4
push eax
call fcn.0042e1e7
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.0042def9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2f0]
movsx eax, cl
sub eax, 4
je 0x40de09
sub eax, 2
je 0x40dddc
sub eax, 1
jne 0x40de1f
mov esi, dword [ebp - 0x2f8]
test esi, esi
je 0x40de1f
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00422c70
push 0x30
push dword [esi]
call fcn.0042dc6f
push 8
push esi
call fcn.0042dc6f
add esp, 0x10
jmp 0x40de1f
test ecx, 0x100
je 0x40de1f
push dword [ebp - 0x2f8]
call fcn.0047a539
add esp, 4
mov esi, dword [ebp - 0x2ec]
test esi, esi
je 0x40de54
push 0x41a890
mov byte [ebp - 4], 0x10
push dword [esi - 4]
push 4
push esi
call fcn.0042e1e7
mov ecx, dword [esi - 4]
lea edx, [esi - 4]
lea ecx, [ecx*4 + 4]
push ecx
push edx
call fcn.0042def9
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.0042d9e0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00401210
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
call fcn.0047a870
int3