Function at 0x40e570
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x491213
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x4b5a50]
xor eax, esp
mov dword [esp + 0x400], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
xor eax, esp
push eax
lea eax, [esp + 0x41c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x42c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x424], 1
call fcn.0043e9ec
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e5dd
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x424], 2
call fcn.0043e9ec
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e60f
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x13c]
mov byte [esp + 0x424], 3
call fcn.00414620
mov edx, dword [esp + 0x24]
mov edi, 7
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e654
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00411830
lea ecx, [esp + 0x28]
lea esi, [esp + 0x104]
mov byte [esp + 0x424], 4
call fcn.00421be0
mov byte [esp + 0x424], 6
cmp dword [esp + 0x40], 8
jb 0x40e6a2
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043e229
add esp, 4
xor eax, eax
push 0x200
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov dword [esp + 0x68], 0x200
call fcn.0043e1fa
add esp, 4
push 0x200
mov dword [esp + 0x60], eax
call fcn.0043e1fa
add esp, 4
mov dword [esp + 0x60], eax
mov byte [esp + 0x424], 7
cmp dword [esp + 0x11c], 0x10
mov eax, dword [esp + 0x108]
jae 0x40e6fb
lea eax, [esp + 0x108]
push eax
mov eax, dword [esp + 0x11c]
lea edi, [esp + 0x60]
call fcn.0042efa0
mov ebp, 0xf
mov ecx, eax
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], 0
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40e730
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xd4]
call fcn.00411600
mov byte [esp + 0x424], 8
cmp dword [esp + 0xe4], 0x10
mov eax, dword [esp + 0xd0]
jae 0x40e767
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x94]
call fcn.00421ba0
mov esi, 8
mov byte [esp + 0x424], 9
cmp dword [eax + 0x18], esi
jb 0x40e78a
mov eax, dword [eax + 4]
jmp 0x40e78d
add eax, 4
push eax
lea ecx, [esp + 0x5c]
call fcn.00401600
mov byte [esp + 0x424], 0xb
cmp dword [esp + 0xac], esi
jb 0x40e7b8
mov ecx, dword [esp + 0x98]
push ecx
call fcn.0043e229
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], dx
call fcn.0043e9ec
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40e7ef
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebx
mov byte [esp + 0x428], 0xc
call fcn.0045d80b
add esp, 4
push edx
push eax
lea ecx, [esp + 0x28]
push 0x49a7d8
push ecx
call fcn.00411ee0
add esp, 0x10
push str.youxun____
lea ecx, [esp + 0x50]
call fcn.00401600
push str.yx_gameguide
lea ecx, [esp + 0x58]
mov byte [esp + 0x428], 0xd
call fcn.00401600
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push str.yxgame
push eax
mov byte [esp + 0x430], 0xe
call fcn.00410cd0
add esp, 0xc
lea ecx, [esp + 0x434]
push ecx
push eax
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0x430], 0xf
call fcn.00410c10
add esp, 0xc
lea ecx, [esp + 0x430]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x430], 0x10
call fcn.00410c10
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x430], 0x11
call fcn.00410c10
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x430], 0x12
call fcn.00410c10
add esp, 8
mov ecx, esp
mov dword [esp + 0x78], esp
lea edx, [esp + 0x50]
push edx
push eax
push ecx
mov byte [esp + 0x434], 0x13
call fcn.00410c10
add esp, 0xc
lea ecx, [esp + 0x54]
call fcn.00415780
add esp, 4
mov byte [esp + 0x424], 0x15
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e92a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0x16
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e952
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0x17
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e97a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0x18
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e9a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0x19
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e9ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x438]
push edx
mov edx, dword [esp + 0x438]
push eax
push ecx
push str.yx_gameguide
push str.yxgame
push edx
lea eax, [esp + 0x34]
push str.type_sfrom_scfrom_spks_ssn_scode_stime_s
push eax
call fcn.00411ee0
mov edx, dword [esp + 0x3c]
add esp, 0x24
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40ea20
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.00411830
lea ecx, [esp + 0x28]
lea esi, [esp + 0xe8]
mov byte [esp + 0x424], 0x1a
call fcn.00421be0
mov byte [esp + 0x424], 0x1c
cmp dword [esp + 0x40], 8
jb 0x40ea6e
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043e229
add esp, 4
xor eax, eax
cmp dword [esp + 0x100], 0x10
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
jae 0x40ea95
lea eax, [esp + 0xec]
push eax
mov eax, dword [esp + 0x100]
lea edi, [esp + 0x60]
call fcn.0042efa0
mov ecx, eax
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x40eac1
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0xb8]
call fcn.00411600
mov byte [esp + 0x424], 0x1d
cmp dword [esp + 0xc8], 0x10
mov eax, dword [esp + 0xb4]
jae 0x40eaf8
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x78]
call fcn.00421ba0
mov esi, 8
mov byte [esp + 0x424], 0x1e
cmp dword [eax + 0x18], esi
jb 0x40eb18
mov eax, dword [eax + 4]
jmp 0x40eb1b
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.00401600
mov byte [esp + 0x424], 0x20
cmp dword [esp + 0x90], esi
jb 0x40eb43
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0043e229
add esp, 4
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
xor edx, edx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
mov dword [esp + 0x1c], ecx
call fcn.0043e9ec
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40eb81
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x424], 0x21
mov ebx, dword [esp + 0x1c]
add ebx, 0xffffffff
js 0x40ec06
test ebx, ebx
jl 0x40ec45
mov eax, dword [esp + 0x48]
cmp ebx, dword [eax - 0xc]
jg 0x40ec45
movzx ecx, word [eax + ebx*2]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [esp + 0x44], ecx
mov ecx, 1
sub ecx, dword [ebp - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x40ebe4
push esi
lea ecx, [esp + 0x18]
call fcn.00401de0
mov ebp, dword [esp + 0x14]
mov dx, word [esp + 0x44]
mov word [ebp + edi*2], dx
test esi, esi
jl 0x40ec45
cmp esi, dword [ebp - 8]
jg 0x40ec45
xor eax, eax
sub ebx, 1
mov dword [ebp - 0xc], esi
mov word [ebp + esi*2], ax
jns 0x40eba2
mov ecx, 0x1f
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
lea edi, [esp + 0x394]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [esp + 0x1c], esi
jle 0x40ec9b
xor eax, eax
test esi, esi
jl 0x40ec45
cmp esi, dword [ebp - 0xc]
jg 0x40ec45
movzx ecx, word [ebp + esi*2]
cmp cx, word [esp + eax*2 + 0x394]
je 0x40ec4f
inc eax
cmp eax, 0x3e
jl 0x40ec25
jmp 0x40ec94
push 0x80070057
call fcn.004010b0
cmp eax, 0x3d
jne 0x40ec57
or eax, 0xffffffff
mov edi, dword [ebp - 0xc]
cmp esi, edi
movzx ebx, word [esp + eax*2 + 0x396]
jge 0x40ec45
cmp dword [ebp - 4], 1
jle 0x40ec7c
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.00401eb0
mov ebp, dword [esp + 0x14]
mov word [ebp + esi*2], bx
test edi, edi
jl 0x40ec45
cmp edi, dword [ebp - 8]
jg 0x40ec45
xor edx, edx
mov dword [ebp - 0xc], edi
mov word [ebp + edi*2], dx
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x40ec23
xor eax, eax
mov word [esp + 0x2c], ax
mov eax, ebp
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ecb7
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.00411830
lea edx, [esp + 0x28]
lea edi, [esp + 0x120]
mov byte [esp + 0x424], 0x22
call fcn.0042c740
mov ebx, 8
mov byte [esp + 0x424], 0x24
cmp dword [esp + 0x40], ebx
jb 0x40ed09
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0043e229
add esp, 4
push 0x28
xor edx, edx
push str.http:__ggstats.box.uuuo.com_count.do_sc
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], dx
call fcn.00401d30
cmp dword [esp + 0x138], ebx
jb 0x40ed48
mov eax, dword [esp + 0x124]
mov edx, eax
test eax, eax
jne 0x40ed4f
jmp 0x40ed63
lea edx, [esp + 0x124]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed54
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00411980
mov edi, dword [esp + 0x68]
add edi, 0x224
lea ecx, [esp + 0x18]
call fcn.0041ac20
cmp dword [esp + 0x138], ebx
jb 0x40ed9a
mov eax, dword [esp + 0x124]
push eax
call fcn.0043e229
add esp, 4
xor edi, edi
xor ecx, ecx
add ebp, 0xfffffff0
mov dword [esp + 0x138], 7
mov dword [esp + 0x134], edi
mov word [esp + 0x124], cx
mov byte [esp + 0x424], 0x20
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40eddd
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0x424], 0x1d
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0xc8], ebx
jb 0x40ee23
mov ecx, dword [esp + 0xb4]
push ecx
call fcn.0043e229
add esp, 4
mov esi, 0xf
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
cmp dword [esp + 0x100], ebx
jb 0x40ee57
mov edx, dword [esp + 0xec]
push edx
call fcn.0043e229
add esp, 4
mov byte [esp + 0x424], 0xe
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov byte [esp + 0xec], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ee95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0xd
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eebd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0xc
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0xb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 8
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0xe4], ebx
jb 0x40ef4e
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0043e229
add esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
cmp eax, edi
je 0x40ef75
push eax
call fcn.0043e229
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, edi
je 0x40ef86
push eax
call fcn.0043e229
add esp, 4
cmp dword [esp + 0x11c], ebx
jb 0x40ef9f
mov edx, dword [esp + 0x108]
push edx
call fcn.0043e229
add esp, 4
mov byte [esp + 0x424], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x11c], esi
mov dword [esp + 0x118], edi
mov byte [esp + 0x108], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40efdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f005
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x424], 0
mov eax, dword [esp + 0x430]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f030
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x424], 0xffffffff
mov eax, dword [esp + 0x434]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f05e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x41c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0045ceb0
add esp, 0x414
ret 0xc