Function at 0x402ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a1ff
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0xdb7604]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x94], 1
call dword [0x41e4ec]
mov ecx, eax
call dword [0x41e4f0]
mov ecx, dword [0x41e164]
push ecx
push str.Downloader::DownloadFile
mov ecx, eax
mov byte [esp + 0x8c], 2
call dword [0x41e4f4]
mov ecx, eax
call dword [0x41e160]
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 1
call dword [0x41e4f8]
mov edx, dword [esi + 0x20]
push edx
lea ecx, [esp + 0x20]
call dword [0x41e15c]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call dword [0x41e468]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 4
call dword [0x41e5bc]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 6
call dword [0x41e46c]
mov edi, dword [0x41e440]
push 1
push str..__:_
call edi
add esp, 8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 7
call dword [0x41e158]
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 9
call dword [0x41e510]
mov ebp, dword [0x41e154]
lea edx, [esp + 0x8c]
lea ecx, [esi + 0x38]
push edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call ebp
lea eax, [esp + 0x90]
lea ebx, [esi + 0x3c]
push eax
mov ecx, ebx
call ebp
push 0
push 0x41ee92
call edi
mov dword [esp + 0x20], eax
push 0x10
mov byte [esp + 0x90], 0xa
push str.GameManifest.xml
call edi
add esp, 0x10
mov dword [esp + 0x2c], eax
push 0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0xb
mov dword [esp + 0x28], 1
call dword [0x41e150]
test eax, eax
je 0x402c85
push 5
push str.Temp_
call edi
add esp, 8
mov dword [esp + 0x30], eax
cmp dword [eax + 4], 0
mov ecx, 3
jle 0x402c89
mov byte [esp + 0x17], 0
jmp 0x402c8e
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], 1
test cl, 2
je 0x402ca8
and ecx, 0xfffffffd
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
call dword [0x41e510]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], 0xa
test cl, 1
je 0x402cc2
lea ecx, [esp + 0x2c]
call dword [0x41e510]
cmp byte [esp + 0x17], 0
lea eax, [esi + 0x38]
push eax
je 0x402cd5
lea ecx, [esp + 0x1c]
call ebp
jmp 0x402cf8
lea edx, [esp + 0x34]
push str.Temp_
push edx
call fcn.00401700
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call ebp
lea ecx, [esp + 0x30]
call dword [0x41e510]
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401000
push 8
mov byte [esp + 0x94], 0xc
call fcn.004191e0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x84], 0xd
test ebp, ebp
je 0x402d44
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call dword [0x41e14c]
mov dword [ebp], vtable.QFile.0
mov eax, ebp
jmp 0x402d46
xor eax, eax
push 8
push str.host.ini
mov byte [esp + 0x8c], 0xc
mov dword [esi + 0x24], eax
call edi
add esp, 8
mov dword [esp + 0x2c], eax
push 0
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 0xe
call dword [0x41e148]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0x10
call dword [0x41e510]
push 8
push str.Download
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x88], 0x11
call dword [0x41e144]
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0x10
call dword [0x41e510]
push 3
push 0x41f018
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x68]
call dword [0x41e140]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 0x13
call dword [0x41e13c]
push 0
mov ecx, eax
mov byte [esp + 0x88], 0x14
call dword [0x41e49c]
mov ebp, dword [0x41e4ac]
cmp eax, 1
lea ecx, [esp + 0x58]
sete byte [esp + 0x17]
mov byte [esp + 0x84], 0x13
call ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 0x12
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0x10
call dword [0x41e510]
cmp byte [esp + 0x17], 0
je 0x402eca
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x24]
push 0x41ee90
push ecx
call fcn.00401700
push ebx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9c], 0x15
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 0x16
call dword [0x41e138]
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0x15
call dword [0x41e510]
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0x10
call dword [0x41e510]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call dword [0x41e5c0]
jmp 0x40301c
push 0xa
push str.ServerGame
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x58]
call dword [0x41e140]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 0x18
call dword [0x41e13c]
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
mov byte [esp + 0x88], 0x19
call dword [0x41e28c]
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 0x1b
call ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0x1c
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0x1d
call dword [0x41e510]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
push str._congthanhchienxua.net_
push eax
call fcn.00401700
push 0x41ee90
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x9c], 0x1e
call fcn.00401070
lea ecx, [esi + 0x38]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xa8], 0x1f
call fcn.00401000
push ebx
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xb4], 0x20
call fcn.00401000
add esp, 0x30
push 2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 0x21
call dword [0x41e138]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x20
call dword [0x41e510]
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 0x1f
call dword [0x41e510]
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 0x1e
call dword [0x41e510]
mov byte [esp + 0x84], 0x1d
lea ecx, [esp + 0x4c]
call dword [0x41e510]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call dword [0x41e5c0]
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0x10
call dword [0x41e510]
lea ecx, [esp + 0x50]
call dword [0x41e3d4]
mov edx, dword [esp + 0x18]
cmp dword [edx + 4], 0
jle 0x40303f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call dword [0x41e3dc]
mov ecx, dword [ebx]
cmp dword [ecx + 4], 0
jle 0x40305d
mov ecx, dword [esi + 0x24]
call dword [0x41e2c8]
test al, al
je 0x40305d
mov ecx, dword [esi + 0x24]
call dword [0x41e3e8]
push ecx
mov eax, esp
mov dword [eax], 2
mov ecx, dword [esi + 0x24]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x50], esp
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x44]
mov byte [esi + 0xc], 1
call dword [0x41e5c8]
mov dword [esi + 0x40], eax
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x6c]
push 0x40000
call eax
mov ecx, dword [0x41e4d0]
mov edx, dword [esi + 0x40]
push 0
push 0x4018a0
push esi
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00402020
mov edi, dword [0x41e484]
add esp, 0x18
lea ecx, [esp + 0x4c]
call edi
mov ecx, dword [0x41e5dc]
mov edx, dword [esi + 0x40]
push 0
push fcn.00401930
push esi
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00402a00
add esp, 0x18
lea ecx, [esp + 0x4c]
call edi
mov eax, dword [esi + 0x2c]
or dword [eax + 0x14], 1
mov ecx, dword [esi + 0x2c]
push 0x1388
call dword [0x41e3f4]
lea ecx, [esp + 0x50]
mov byte [esp + 0x84], 0xc
call dword [0x41e3ec]
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0xa
call dword [0x41e510]
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 9
call dword [0x41e510]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 6
call dword [0x41e454]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 3
call dword [0x41e5d4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 1
call dword [0x41e46c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 0
call dword [0x41e510]
lea ecx, [esp + 0x90]
mov dword [esp + 0x84], 0xffffffff
call dword [0x41e510]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8