Function at 0x445f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov eax, dword [0x49d874]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x924], ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
test ebx, ebx
je 0x4462a7
test esi, esi
je 0x4462a7
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00469380
push ebx
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call fcn.0044d3e5
push esi
lea eax, [ebp - 0x404]
push 0x3ff
push eax
call fcn.0044d4cb
add esp, 0x24
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4462a7
test al, 0x10
je 0x4462a7
mov eax, dword [ebp - 0x924]
lea ecx, [ebp - 0x404]
mov eax, dword [eax + 0x2c]
cmp eax, 1
jne 0x446083
mov edx, str.RoomConnector.exe
call fcn.00445c90
mov edx, str.gateway_conf_client.dll
lea ecx, [ebp - 0x404]
mov esi, eax
call fcn.00445c90
mov edx, str.gmcm.dll
mov dword [ebp - 0x924], eax
lea ecx, [ebp - 0x404]
call fcn.00445c90
mov edx, str.gviper.dll
lea ecx, [ebp - 0x404]
mov ebx, eax
call fcn.00445c90
test esi, esi
je 0x4462a7
cmp dword [ebp - 0x924], 0
je 0x4462a7
test ebx, ebx
je 0x4462a7
test eax, eax
je 0x4462a7
lea ecx, [ebp - 0x920]
call fcn.004449f0
lea eax, [ebp - 0x404]
mov dword [ebp - 0x91c], 1
push 0x104
push eax
call fcn.0044c787
inc eax
add esp, 8
cmp eax, 0x104
jae 0x446176
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x918]
push 0x104
push eax
call fcn.0044d3e5
add esp, 0xc
jmp 0x446299
cmp eax, 2
jne 0x4460bd
mov edx, str.Controller.exe
call fcn.00445c90
mov edx, str.Cmmlib.dll
lea ecx, [ebp - 0x404]
mov esi, eax
call fcn.00445c90
mov edx, str.zrc_sdk.dll
lea ecx, [ebp - 0x404]
mov ebx, eax
call fcn.00445c90
test esi, esi
jmp 0x446018
mov edx, 0x486d8c
call fcn.00445c90
mov edx, str.zPTApp.dll
mov dword [ebp - 0x924], eax
lea ecx, [ebp - 0x404]
call fcn.00445c90
test eax, eax
jne 0x4460f9
mov edx, str.zChatApp.dll
lea ecx, [ebp - 0x404]
call fcn.00445c90
test eax, eax
jne 0x4460f9
xor esi, esi
jmp 0x4460fe
mov esi, 1
mov edx, str.zVideoApp.dll
lea ecx, [ebp - 0x404]
call fcn.00445c90
mov edx, str.Cmmlib.dll
lea ecx, [ebp - 0x404]
mov ebx, eax
call fcn.00445c90
cmp dword [ebp - 0x924], 0
je 0x4462a7
test esi, esi
je 0x4462a7
test ebx, ebx
je 0x4462a7
test eax, eax
je 0x4462a7
lea ecx, [ebp - 0x920]
call fcn.004449f0
lea eax, [ebp - 0x404]
mov dword [ebp - 0x91c], 1
push 0x104
push eax
call fcn.0044c787
inc eax
add esp, 8
cmp eax, 0x104
jb 0x44618b
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465436
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x918]
push 0x104
push eax
call fcn.0044d3e5
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x446299
push 0x400
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00469380
lea eax, [ebp - 0x918]
push eax
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call fcn.0044d3e5
push 0x4849c0
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call fcn.0044d4cb
push 0x486d8c
lea eax, [ebp - 0x804]
push 0x3ff
push eax
call fcn.0044d4cb
add esp, 0x30
lea ecx, [ebp - 0x804]
mov edx, 0xfde9
call fcn.00447dc0
mov esi, eax
test esi, esi
je 0x446249
lea eax, [ebp - 0x80c]
mov ecx, esi
push eax
lea eax, [ebp - 0x80e]
push eax
lea eax, [ebp - 0x810]
push eax
lea edx, [ebp - 0x812]
call fcn.00443b60
add esp, 0xc
mov bl, al
jmp 0x446283
xor edx, edx
lea ecx, [ebp - 0x804]
call fcn.00447dc0
mov esi, eax
lea edx, [ebp - 0x812]
lea eax, [ebp - 0x80c]
mov ecx, esi
push eax
lea eax, [ebp - 0x80e]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00443b60
add esp, 0xc
mov bl, al
test esi, esi
je 0x446293
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x814], bl
lea eax, [ebp - 0x920]
mov ecx, edi
push eax
call fcn.00446a60
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465436
mov esp, ebp
pop ebp
ret 0x10