Function at 0x4356c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2040
call fcn.0045a630
mov eax, dword [0x485c44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2034], ecx
mov eax, dword [ebp - 0x2034]
movzx ecx, byte [eax + 0x1e0]
test ecx, ecx
je 0x4356f3
jmp 0x435993
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.0045a140
add esp, 0xc
mov ecx, dword [ebp - 0x2034]
movzx edx, byte [ecx + 0x169]
test edx, edx
je 0x435782
mov eax, dword [ebp - 0x2034]
add eax, 0x128
mov dword [ebp - 0x2010], eax
mov ecx, dword [ebp - 0x2010]
cmp dword [ecx + 0x18], 8
jb 0x435751
mov edx, dword [ebp - 0x2010]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2038], eax
jmp 0x435760
mov ecx, dword [ebp - 0x2010]
add ecx, 4
mov dword [ebp - 0x2038], ecx
mov edx, dword [ebp - 0x2038]
push edx
push str.Unexpected_network_error__cannot_download__s
push 0x1000
lea eax, [ebp - 0x2008]
push eax
call fcn.0045a65b
add esp, 0x10
jmp 0x435794
push str.Unexpected_network_error
lea ecx, [ebp - 0x2008]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp - 0x2034]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2014], eax
push 9
mov ecx, dword [ebp - 0x2014]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x2034]
cmp dword [edx + 0x144], 0
je 0x4357f9
mov eax, dword [ebp - 0x2034]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2018], ecx
push 8
mov edx, dword [ebp - 0x2018]
push edx
mov eax, dword [ebp - 0x2034]
mov ecx, dword [eax + 0x144]
mov edx, dword [ebp - 0x2034]
mov eax, dword [edx + 0x144]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
mov eax, dword [ebp - 0x2034]
add eax, 0x16c
mov dword [ebp - 0x201c], eax
mov ecx, dword [ebp - 0x201c]
cmp dword [ecx + 0x18], 8
jb 0x435827
mov edx, dword [ebp - 0x201c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x203c], eax
jmp 0x435836
mov ecx, dword [ebp - 0x201c]
add ecx, 4
mov dword [ebp - 0x203c], ecx
mov edx, dword [ebp - 0x2034]
mov eax, dword [edx + 8]
mov dword [ebp - 0x2020], eax
push 0x35
mov ecx, dword [ebp - 0x203c]
push ecx
lea edx, [ebp - 0x2008]
push edx
mov eax, dword [ebp - 0x2020]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x4358f0
mov ecx, dword [ebp - 0x2034]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2024], edx
push 0
push 0x3ff
push 0x410
mov eax, dword [ebp - 0x2024]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x2034]
mov ecx, dword [ecx + 0xe0]
call fcn.0042bef0
mov edx, dword [ebp - 0x2034]
cmp dword [edx + 0x144], 0
je 0x4358eb
mov eax, dword [ebp - 0x2034]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2028], ecx
push 2
mov edx, dword [ebp - 0x2028]
push edx
mov eax, dword [ebp - 0x2034]
mov ecx, dword [eax + 0x144]
mov edx, dword [ebp - 0x2034]
mov eax, dword [edx + 0x144]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
jmp 0x435993
push 0
mov eax, dword [ebp - 0x2034]
add eax, 0x10c
push eax
call fcn.0042db50
mov ecx, eax
call fcn.0042dd30
mov dword [ebp - method.tinyxml2::XMLNode.virtual_48], 0x478a28
mov dword [ebp - 0x200c], 0x478a20
mov ecx, dword [ebp - 0x2034]
add ecx, 0xf0
mov dword [ebp - 0x202c], ecx
mov edx, dword [ebp - 0x202c]
cmp dword [edx + 0x18], 8
jb 0x43594d
mov eax, dword [ebp - 0x202c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2040], ecx
jmp 0x43595c
mov edx, dword [ebp - 0x202c]
add edx, 4
mov dword [ebp - 0x2040], edx
mov eax, dword [ebp - 0x2034]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2030], ecx
push 0
mov edx, dword [ebp - 0x2040]
push edx
mov eax, dword [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x200c]
call fcn.00412ec0
push 1
mov ecx, dword [ebp - 0x2034]
call fcn.0041ecb0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458357
mov esp, ebp
pop ebp
ret