Function at 0x418780
Capabilities:
Check if file exists
Print debug messages

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 0x5c834c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x190
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 4], 0
lea eax, [ebx + 0x10]
cmp dword [ebx + 0x24], 7
cmova eax, dword [ebx + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x418831
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x118]
push str.cache_json_file_not_exist_n
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x161], 0
jmp 0x418fc4
and dword [ebp - 0x190], 0xfffffe00
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
push 1
lea edx, [ebp - 0x198]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x10]
call fcn.00424530
add esp, 4
test al, al
jne 0x418894
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
push str.cache_json_file_open_failed_n
jmp 0x418efb
cmp byte [ebp - 0x190], 7
je 0x4188bd
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
push str.json_file_is_error_obj_n
jmp 0x418efb
mov eax, dword [ebp - 0x198]
cmp dword [eax + 4], 0
je 0x418ee0
and dword [ebp - 0x178], 0xfffffe00
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
push 0x6476c6
push str.Netbar
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 7
call fcn.0042d1b0
test eax, eax
je 0x4189aa
push 0x6476c6
push str.Netbar
lea ecx, [ebp - 0x198]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x4189aa
push 0x6476c6
push str.Netbar
lea ecx, [ebp - 0x198]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042cc30
test al, al
jne 0x4189aa
push 0x6476c6
push str.Netbar
lea ecx, [ebp - 0x198]
call fcn.0042cfb0
cmp byte [eax + 8], 7
jne 0x4189aa
push 0x6476c6
push str.Netbar
lea ecx, [ebp - 0x198]
call fcn.0042cfb0
push eax
lea ecx, [ebp - 0x160]
call fcn.0042c040
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x180]
call fcn.0042c330
lea ecx, [ebp - 0x160]
call fcn.0042c260
cmp byte [ebp - 0x178], 7
je 0x4189d3
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
push str.json_file_is_error_obj_n
jmp 0x418eab
mov eax, dword [ebp - 0x180]
cmp dword [eax + 4], 0
je 0x418e90
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
movups xmmword [ebp - 0x148], xmm0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
push 0x6476ca
push 0x6476c8
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xd
call fcn.0042d1b0
test eax, eax
je 0x418b93
push 0x6476ca
push 0x6476c8
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x418b93
push 0x6476ca
push 0x6476c8
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042cc30
test al, al
jne 0x418b93
push 0x6476ca
push 0x6476c8
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 4
jne 0x418b93
push 0x6476ca
push 0x6476c8
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.0042c3b0
mov esi, eax
lea eax, [ebp - 0x148]
cmp eax, esi
je 0x418b59
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x418b16
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419020
push ecx
push edx
call fcn.00439938
add esp, 8
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x148], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x138], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x418b93
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418b89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419020
push ecx
push edx
call fcn.00439938
add esp, 8
cmp byte [ebp - 0x178], 7
jne 0x418d05
push 0x6476d0
push str.Name
lea ecx, [ebp - 0x180]
call fcn.0042d1b0
test eax, eax
je 0x418d05
push 0x6476d0
push str.Name
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 0
je 0x418d05
push 0x6476d0
push str.Name
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
mov ecx, eax
call fcn.0042cc30
test al, al
jne 0x418d05
push 0x6476d0
push str.Name
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
cmp byte [eax + 8], 4
jne 0x418d05
push 0x6476d0
push str.Name
lea ecx, [ebp - 0x180]
call fcn.0042cfb0
lea ecx, [ebp - 0x160]
push ecx
mov ecx, eax
call fcn.0042c3b0
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x418ccb
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x418c88
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418c7e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419025
push ecx
push edx
call fcn.00439938
add esp, 8
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x120], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x418d05
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418cfb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419025
push ecx
push edx
call fcn.00439938
add esp, 8
lea edx, [ebp - 0x148]
lea ecx, [ebp - 0x160]
call fcn.0040aa30
lea eax, [ebp - 0x160]
mov ecx, edi
push eax
call fcn.00403e50
mov ecx, dword [ebp - 0x14c]
cmp ecx, 7
jbe 0x418d64
mov edx, dword [ebp - 0x160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418d5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41902a
push ecx
push edx
call fcn.00439938
add esp, 8
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x160]
call fcn.0040aa30
mov ecx, dword [ebp - 0x19c]
lea eax, [ebp - 0x160]
push eax
call fcn.00403e50
mov ecx, dword [ebp - 0x14c]
cmp ecx, 7
jbe 0x418dc7
mov edx, dword [ebp - 0x160]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418dbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41902f
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x161], 1
cmp ecx, 0xf
jbe 0x418e0c
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418e02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419034
push ecx
push edx
call fcn.00439938
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp ecx, 0xf
jbe 0x418e65
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418e5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419034
push ecx
push edx
call fcn.00439938
add esp, 8
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
call fcn.0042c260
jmp 0x418f23
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
push str.field_is_null_n
lea eax, [ebp - 0x118]
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x180]
mov byte [ebp - 0x161], 0
call fcn.0042c260
jmp 0x418f23
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
push str.json_file_is_null_n
lea eax, [ebp - 0x118]
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x161], 0
mov byte [ebp - 4], 0
movsx eax, byte [ebp - 0x190]
sub eax, 4
je 0x418f6a
sub eax, 2
je 0x418f3d
sub eax, 1
jne 0x418f84
mov esi, dword [ebp - 0x198]
test esi, esi
je 0x418f84
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.004328a0
push 0x30
push dword [esi]
call fcn.00439938
push 8
push esi
call fcn.00439938
add esp, 0x10
jmp 0x418f84
test dword [ebp - 0x190], 0x100
je 0x418f84
push dword [ebp - 0x198]
call fcn.00499f16
add esp, 4
mov esi, dword [ebp - 0x18c]
test esi, esi
je 0x418fb9
push 0x42bd40
mov byte [ebp - 4], 0xe
push dword [esi - 4]
push 4
push esi
call fcn.0043a106
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.0043a018
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x198], xmm0
mov ecx, dword [ebx + 0x24]
cmp ecx, 7
jbe 0x418ffa
mov edx, dword [ebx + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418ff0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419034
push ecx
push edx
call fcn.00439938
add esp, 8
mov al, byte [ebp - 0x161]
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.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
call fcn.00494baa
int3