Function at 0x417890
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 0x5c7cb1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
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 + 8]
mov dword [ebp - 0x184], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0
lea eax, [ebx + 0x14]
cmp dword [ebx + 0x28], 7
cmova eax, dword [ebx + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x417950
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x118]
push str.client_bin_file_not_exist_n
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x149], 0
jmp 0x418058
and dword [ebp - 0x178], 0xfffffe00
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0
push 1
lea edx, [ebp - 0x180]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x14]
call fcn.00423eb0
add esp, 4
test al, al
jne 0x4179b3
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
push str.client_bin_file_open_failed_n
jmp 0x417f8f
cmp byte [ebp - 0x178], 7
je 0x4179dc
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
push str.json_file_is_error_obj_n
jmp 0x417f8f
mov eax, dword [ebp - 0x180]
cmp dword [eax + 4], 0
je 0x417f74
and dword [ebp - 0x160], 0xfffffe00
xor edi, edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x154], edi
push 0x64767b
push str.Install
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 7
call fcn.0042cb30
test eax, eax
je 0x417ac5
push 0x64767b
push str.Install
lea ecx, [ebp - 0x180]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x417ac5
push 0x64767b
push str.Install
lea ecx, [ebp - 0x180]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x417ac5
push 0x64767b
push str.Install
lea ecx, [ebp - 0x180]
call fcn.0042c930
cmp byte [eax + 8], 7
jne 0x417ac5
push 0x64767b
push str.Install
lea ecx, [ebp - 0x180]
call fcn.0042c930
push eax
lea ecx, [ebp - 0x148]
call fcn.0042b9c0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x168]
call fcn.0042bcb0
lea ecx, [ebp - 0x148]
call fcn.0042bbe0
mov edi, dword [ebp - 0x15c]
cmp byte [ebp - 0x160], 7
mov esi, dword [ebp - 0x168]
je 0x417af4
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
push str.json_file_is_error_obj_n
jmp 0x417ece
cmp dword [esi + 4], 0
je 0x417eb3
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
push 0x6475e5
or edi, 0xffffffff
mov byte [ebp - 4], 0xc
push str.ChannelNumber
lea ecx, [ebp - 0x168]
or esi, edi
call fcn.0042cb30
test eax, eax
je 0x417c94
push 0x6475e5
push str.ChannelNumber
lea ecx, [ebp - 0x168]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x417c94
push 0x6475e5
push str.ChannelNumber
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x417c94
push 0x6475e5
push str.ChannelNumber
lea ecx, [ebp - 0x168]
call fcn.0042c930
cmp byte [eax + 8], 4
jne 0x417c94
push 0x6475e5
push str.ChannelNumber
lea ecx, [ebp - 0x168]
call fcn.0042c930
lea ecx, [ebp - 0x148]
push ecx
mov ecx, eax
call fcn.0042bd30
mov esi, eax
lea eax, [ebp - 0x130]
cmp eax, esi
je 0x417c57
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x417c14
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417c0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180b4
push ecx
push edx
call fcn.004392c8
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 - 0x134]
cmp ecx, 0xf
jbe 0x417c91
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417c87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180b4
push ecx
push edx
call fcn.004392c8
add esp, 8
or esi, 0xffffffff
cmp byte [ebp - 0x160], 7
jne 0x417dd2
push 0x6475ec
push str.Type
lea ecx, [ebp - 0x168]
call fcn.0042cb30
test eax, eax
je 0x417d33
push 0x6475ec
push str.Type
lea ecx, [ebp - 0x168]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x417d33
push 0x6475ec
push str.Type
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x417d33
push 0x6475ec
push str.Type
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042cea0
test al, al
je 0x417d33
push 0x6475ec
push str.Type
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042bee0
mov edi, eax
cmp byte [ebp - 0x160], 7
jne 0x417dd2
push 0x6475fd
push str.AdditionField
lea ecx, [ebp - 0x168]
call fcn.0042cb30
test eax, eax
je 0x417dd2
push 0x6475fd
push str.AdditionField
lea ecx, [ebp - 0x168]
call fcn.0042c930
cmp byte [eax + 8], 0
je 0x417dd2
push 0x6475fd
push str.AdditionField
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042c5b0
test al, al
jne 0x417dd2
push 0x6475fd
push str.AdditionField
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042cea0
test al, al
je 0x417dd2
push 0x6475fd
push str.AdditionField
lea ecx, [ebp - 0x168]
call fcn.0042c930
mov ecx, eax
call fcn.0042bee0
mov esi, eax
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x130]
lea ecx, [ebp - 0x148]
mov dword [eax], edi
mov eax, dword [ebp - 0x188]
mov dword [eax], esi
call fcn.0040a620
mov ecx, dword [ebp - 0x18c]
lea eax, [ebp - 0x148]
push eax
call fcn.00403ee0
mov ecx, dword [ebp - 0x134]
cmp ecx, 7
jbe 0x417e45
mov edx, dword [ebp - 0x148]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x417e3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180b9
push ecx
push edx
call fcn.004392c8
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x149], 1
cmp ecx, 0xf
jbe 0x417e8a
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x417e80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180be
push ecx
push edx
call fcn.004392c8
add esp, 8
mov edi, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x168]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
jmp 0x417ef6
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
push str.field_is_null_n
lea eax, [ebp - 0x118]
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x149], 0
mov eax, dword [ebp - 0x160]
movsx ecx, al
sub ecx, 4
je 0x417f35
sub ecx, 2
je 0x417f0e
sub ecx, 1
jne 0x417f45
test esi, esi
je 0x417f45
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00432230
push 0x30
push dword [esi]
call fcn.004392c8
push 8
push esi
call fcn.004392c8
add esp, 0x10
jmp 0x417f45
test eax, 0x100
je 0x417f45
push esi
call fcn.00499896
add esp, 4
test edi, edi
je 0x417fb7
push 0x42b6c0
mov byte [ebp - 4], 0xd
lea esi, [edi - 4]
push dword [esi]
push 4
push edi
call fcn.00439a96
mov eax, dword [esi]
lea eax, [eax*4 + 4]
push eax
push esi
call fcn.004399a8
add esp, 8
jmp 0x417fb7
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
push str.json_file_is_null_n
lea eax, [ebp - 0x118]
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x149], 0
mov byte [ebp - 4], 0
movsx eax, byte [ebp - 0x178]
sub eax, 4
je 0x417ffe
sub eax, 2
je 0x417fd1
sub eax, 1
jne 0x418018
mov esi, dword [ebp - 0x180]
test esi, esi
je 0x418018
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.00432230
push 0x30
push dword [esi]
call fcn.004392c8
push 8
push esi
call fcn.004392c8
add esp, 0x10
jmp 0x418018
test dword [ebp - 0x178], 0x100
je 0x418018
push dword [ebp - 0x180]
call fcn.00499896
add esp, 4
mov esi, dword [ebp - 0x174]
test esi, esi
je 0x41804d
push 0x42b6c0
mov byte [ebp - 4], 0xe
push dword [esi - 4]
push 4
push esi
call fcn.00439a96
mov eax, dword [esi - 4]
lea ecx, [esi - 4]
lea eax, [eax*4 + 4]
push eax
push ecx
call fcn.004399a8
add esp, 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x180], xmm0
mov ecx, dword [ebx + 0x28]
cmp ecx, 7
jbe 0x41808e
mov edx, dword [ebx + 0x14]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418084
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180be
push ecx
push edx
call fcn.004392c8
add esp, 8
mov al, byte [ebp - 0x149]
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.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x24
call fcn.0049452a
call fcn.0049452a
call fcn.0049452a
int3