Function at 0x405ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x46c6a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0041a379
push ebx
lea edi, [esp + 0x2c]
call fcn.0040c560
xor edi, edi
mov esi, 0x10
mov dword [esp + 0x50], edi
cmp dword [eax + 0x18], esi
jb 0x405b12
mov eax, dword [eax + 4]
jmp 0x405b15
add eax, 4
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00403280
mov ecx, ebx
call fcn.0040c8f0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], esi
jb 0x405b44
mov eax, dword [esp + 0x2c]
push eax
call fcn.004162de
add esp, 4
push edi
push 0x45deaf
lea ecx, [ebx + 0x94]
call fcn.00403870
mov esi, ebx
call fcn.0040b4b0
push ebx
call fcn.0040b5a0
cmp dword [ebx + 0x8c], 0x10
jb 0x405b70
mov eax, dword [ebx + 0x78]
jmp 0x405b73
lea eax, [ebx + 0x78]
push eax
mov ecx, ebx
call fcn.004248ea
call fcn.0040b770
push 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x26
push edi
mov dword [esp + 0x2c], 1
call dword [0x457694]
lea edx, [ebx + 0x200]
push 0x104
push edx
call fcn.00439503
add esp, 8
push 5
push edi
push edi
push 0x253
push 0xc8
lea esi, [ebx + 0x134c]
push edi
mov ecx, esi
call fcn.00424c17
mov dword [esi + 0x5c], 0xff00
call fcn.00412f00
mov eax, dword [esi + 0x20]
push eax
call dword [0x4575e0]
push eax
call fcn.0041dedd
mov ecx, dword [eax + 0x20]
push 1
add esi, 0xac
push esi
push ecx
call dword [0x4575cc]
lea esi, [ebx + 0x12ec]
push esi
mov dword [ebx + 0x14b4], edi
mov dword [ebx + 0x14b8], edi
mov dword [ebx + 0x14bc], edi
mov dword [ebx + 0x14c0], edi
mov dword [ebx + 0x7d8], edi
mov byte [ebx + 0x5d8], 0
call fcn.004059f0
mov edi, dword [esi]
mov eax, dword [edi + 4]
add esp, 4
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], 0
call fcn.00450e80
test eax, eax
je 0x405c4a
mov dword [edi + 8], eax
mov esi, dword [esi]
mov edx, dword [esi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call fcn.00450e50
test eax, eax
je 0x405c69
mov dword [esi + 8], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 4
push eax
push ecx
push 0
push 0
push 0
mov ecx, ebx
call fcn.00424c17
mov edi, dword [0x45736c]
push 0x45e464
push 0xdd
push 0
call edi
push eax
call dword [0x4573d4]
mov esi, eax
test esi, esi
je 0x405ce8
push esi
push 0
call edi
push eax
call dword [0x4573c4]
test eax, eax
je 0x405ce8
push eax
call dword [0x457374]
mov dword [esp + 0x14], eax
test eax, eax
je 0x405ce8
push esi
push 0
call edi
push eax
call dword [0x4573a4]
mov edx, dword [esp + 0x14]
push edx
push eax
push 0
call dword [0x45711c]
push eax
lea ecx, [ebx + 0x12f0]
call fcn.004195c7
lea eax, [ebx + 0x12f0]
test eax, eax
je 0x405cf5
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [ebx + 0x20]
push eax
call dword [0x4575c4]
push 5
push 0
push 0
push 0x22b
push 0x343
lea edi, [ebx + 0x9f8]
push 0
mov ecx, edi
call fcn.00424c17
push 0x92
push 0xd6
push 0xd8
push 0xd7
push 0xd6
mov eax, edi
call fcn.00413190
mov edx, dword [edi + 0x58]
mov esi, dword [0x457118]
lea ecx, [esp + 0x28]
push ecx
push 0x18
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 2
push eax
push ecx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x22e
push 0x23
lea edi, [ebx + 0x8e4]
push 0
mov ecx, edi
call fcn.00424c17
push 0xe4
push 0xe3
push 0xe1
push 0xe2
push 0xe3
mov eax, edi
call fcn.00413190
mov eax, dword [edi + 0x58]
lea edx, [esp + 0x28]
push edx
push 0x18
push eax
call esi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 2
push ecx
push edx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 2
push 0x3cc
lea edi, [ebx + 0x1070]
push 0
mov ecx, edi
call fcn.00424c17
push 0xd9
push 0xd9
push 0xde
push 0xd9
push 0xd9
mov eax, edi
call fcn.00413190
mov ecx, dword [edi + 0x58]
lea eax, [esp + 0x28]
push eax
push 0x18
push ecx
call esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 2
push edx
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 2
push 0x3e2
lea edi, [ebx + 0x1184]
push 0
mov ecx, edi
call fcn.00424c17
push 0xda
push 0xda
push 0xdb
push 0xda
push 0xda
mov eax, edi
call fcn.00413190
mov edx, dword [edi + 0x58]
lea ecx, [esp + 0x28]
push ecx
push 0x18
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 2
push eax
push ecx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x226
push 0xc8
lea edi, [ebx + 0xb0c]
push 0
mov ecx, edi
call fcn.00424c17
push 0xc5
push 0xc5
push 0xc7
push 0xc6
push 0xc5
mov eax, edi
call fcn.00413190
mov eax, dword [edi + 0x58]
lea edx, [esp + 0x28]
push edx
push 0x18
push eax
call esi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 2
push ecx
push edx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x226
push 0x142
lea edi, [ebx + 0xc20]
push 0
mov ecx, edi
call fcn.00424c17
push 0xc8
push 0xc8
push 0xca
push 0xc9
push 0xc8
mov eax, edi
call fcn.00413190
mov ecx, dword [edi + 0x58]
lea eax, [esp + 0x28]
push eax
push 0x18
push ecx
call esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 2
push edx
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x226
push 0x1bc
lea edi, [ebx + 0xd34]
push 0
mov ecx, edi
call fcn.00424c17
push 0xcb
push 0xcb
push 0xce
push 0xcd
push 0xcb
mov eax, edi
call fcn.00413190
mov edx, dword [edi + 0x58]
lea ecx, [esp + 0x28]
push ecx
push 0x18
push edx
call esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 2
push eax
push ecx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x226
push 0x236
lea edi, [ebx + 0xe48]
push 0
mov ecx, edi
call fcn.00424c17
push 0xcf
push 0xcf
push 0xd1
push 0xd2
push 0xcf
mov eax, edi
call fcn.00413190
mov eax, dword [edi + 0x58]
lea edx, [esp + 0x28]
push edx
push 0x18
push eax
call esi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 2
push ecx
push edx
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 5
push 0
push 0
push 0x226
push 0x2b0
lea edi, [ebx + 0xf5c]
push 0
mov ecx, edi
call fcn.00424c17
push 0xd3
push 0xd3
push 0xd5
push 0xd4
push 0xd3
mov eax, edi
call fcn.00413190
mov ecx, dword [edi + 0x58]
lea eax, [esp + 0x28]
push eax
push 0x18
push ecx
call esi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 2
push edx
push eax
push 0
push 0
push 0
mov ecx, edi
call fcn.00424c17
push 4
push 0xf5
push 0xb4
push 0x82
push 0x31b
lea edi, [ebx + 0x1298]
push 0
mov ecx, edi
call fcn.00424c17
mov ecx, dword [ebx + 0x12b8]
mov esi, dword [0x4575b0]
push 0
push 0
push 0x111d
push ecx
call esi
mov edx, dword [ebx + 0x12b8]
push 0xff00
push 0
push 0x1128
push edx
call esi
mov eax, dword [ebx + 0x12b8]
push 0xff00
push 0
push 0x111e
push eax
call esi
push 1
xor esi, esi
push esi
push 0x200
mov ecx, edi
call fcn.004248be
push 0x20
push 0x800000
push esi
mov ecx, edi
call fcn.00424892
push 1
push esi
lea edi, [ebx + 0x12f8]
push 0x200
mov ecx, edi
call fcn.004248be
push 0x20
push 0x800000
push esi
mov ecx, edi
call fcn.00424892
push 4
push 0x19a
push 0x2e4
push 0x71
push 2
lea edi, [ebx + 0x1424]
push esi
mov ecx, edi
call fcn.00424c17
mov ecx, edi
call fcn.00424791
cmp eax, esi
je 0x4061a6
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x45d458
push eax
mov eax, dword [ecx]
mov dword [esp + 0x1c], esi
call eax
test eax, eax
jl 0x4061a6
mov edi, dword [esp + 0x10]
cmp edi, esi
je 0x4061a6
mov dword [ebx + 0x14ac], esi
mov dword [ebx + 0x14b0], esi
lea esi, [ebx + 0x1498]
call fcn.00405200
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor esi, esi
push 5
push esi
push esi
push 0x212
push 2
lea edi, [ebx + 0x864]
push esi
mov ecx, edi
call fcn.00424c17
mov eax, dword [edi + 0x20]
push 1
push esi
mov esi, dword [0x4575cc]
push eax
mov dword [edi + 0x60], 0x2e4
mov dword [edi + 0x64], 6
call esi
mov ecx, dword [edi + 0x20]
push 1
push 0
push ecx
mov dword [edi + 0x5c], 0
call esi
push 0xc
call fcn.004162af
add esp, 4
test eax, eax
je 0x40620d
mov dword [eax], vtable.CMethodDelegate1_class_CLaoqnLauncherDlg__int_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x409c70
jmp 0x40620f
xor eax, eax
push eax
lea edx, [ebx + 0x580]
push edx
call fcn.0040d500
lea eax, [esp + 0x18]
push eax
push 0
push ebx
push 0x4059d0
push 0
push 0
mov dword [esp + 0x30], 0
call fcn.004388ab
add esp, 0x14
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x45e468
call fcn.00403280
lea ecx, [ebx + 0x134c]
call fcn.00412a90
push ebx
mov byte [ebx + 0x534], 1
call fcn.0040ae60
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push 0x4058f0
push 0
push 0
call fcn.004388ab
mov edx, dword [ebx + 0x20]
add esp, 0x18
push 0
push 0x2710
push 3
push edx
mov dword [ebx + 0x14f4], eax
call dword [0x4575c0]
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret