Function at 0x436b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637800
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x6dff44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x54
push 0
push 0x75e2e0
call fcn.005f6720
add esp, 0xc
push 0x104
push 0x75e0c0
push 0
call dword [0x64e258]
push 0x5c
push 0x75e0c0
call fcn.005f5979
push 0x75e0c0
xor ecx, ecx
push 0x699f60
push 0x75e2dc
mov word [eax + 2], cx
call fcn.00421340
add esp, 0x14
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 5
push eax
push 0
call dword [0x64e594]
push str.ChangguangCG100_
lea eax, [ebp - 0x420]
push eax
push str._s_s
push 0x75e334
call fcn.00421340
push 0
push dword [0x75e334]
call fcn.005fd94c
mov ebx, dword [0x64e254]
or edi, 0xffffffff
add esp, 0x18
cmp eax, edi
jne 0x436c50
call fcn.004890d4
mov ecx, eax
test ecx, ecx
je 0x4377e8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x420]
push str.Changguang_
push eax
lea eax, [ebp - 0x62c]
push str._s_s
push eax
call fcn.00421340
mov esi, dword [ebp - 0x62c]
push 0
push esi
call fcn.005fd94c
add esp, 0x18
cmp eax, edi
jne 0x436c2f
push 0
push esi
call ebx
push 0
push dword [0x75e334]
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x436c50
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push str.Log_
lea eax, [ebp - 0x62c]
push 0x75e334
push eax
call fcn.0041d7d0
add esp, 0xc
push 0
push dword [eax]
call fcn.005fd94c
mov edx, dword [ebp - 0x62c]
add esp, 8
cmp eax, 0xffffffff
mov eax, edi
sete byte [ebp - 0x661]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436c9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x661], 0
je 0x436ce1
push str.Log_
lea eax, [ebp - 0x62c]
push 0x75e334
push eax
call fcn.0041d7d0
add esp, 0xc
push 0
push dword [eax]
call ebx
mov edx, dword [ebp - 0x62c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x436ce1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5d8
call fcn.00488d56
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436db7
push 0x5d8
push 0
push ebx
call fcn.005f6720
mov dword [ebx], 0x6917a0
lea esi, [ebx + 0x18]
mov dword [ebx + 0x10], 0x691798
add esp, 8
mov dword [ebx + 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
push esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00413500
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
mov dword [ebx + eax + 0x10], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx + 0xc], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov ecx, esi
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x78]
mov dword [edx + ebx - 4], eax
call fcn.00413430
push 0
push 0
mov ecx, esi
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.00415900
jmp 0x436db9
xor ebx, ebx
mov esi, dword [0x64e5e0]
lea eax, [ebp - 0x420]
push 0x69af8c
push str._________CG100__s_______________________________
push eax
mov dword [0x75d8bc], ebx
call esi
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
call fcn.004127e0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x75e0c0
push str._sconfig
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005fd94c
add esp, 8
cmp eax, 0xffffffff
jne 0x436ebb
push 0x208
lea eax, [ebp - 0x628]
mov dword [0x75e2e0], 1
push 0
push eax
mov dword [0x75e2e4], 0xc
mov dword [0x75e2e8], 1
mov dword [0x75e2d8], 0
call fcn.005f6720
add esp, 0xc
lea eax, [ebp - 0x628]
push 1
push 0x69a160
push eax
call esi
mov esi, dword [0x64e250]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
lea eax, [ebp - 0x628]
push eax
push str.lang
push 0x69b024
call esi
lea eax, [ebp - 0x218]
push eax
push 0x699ddc
push str.init
push 0x69b024
call esi
jmp 0x436fce
mov ebx, dword [0x64e24c]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x69b040
push 0x69b024
call ebx
mov esi, eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x69b05c
push 0x69b024
call ebx
cmp esi, 1
je 0x437590
cmp eax, 1
je 0x437590
lea eax, [ebp - 0x218]
push eax
push 1
push str.lang
push 0x69b024
call ebx
mov dword [0x75e2e0], eax
lea eax, [ebp - 0x218]
push eax
push 0xc
push str.font
push 0x69b024
call ebx
mov dword [0x75e2e4], eax
lea eax, [ebp - 0x218]
push eax
push 1
push str.area
push 0x69b024
call ebx
mov dword [0x75e2e8], eax
lea eax, [ebp - 0x218]
push eax
push 0
push str.init
push 0x69b024
mov dword [0x75e2d8], 0
call ebx
test eax, eax
jne 0x436fce
push str.cginit
call fcn.00412320
push str.CGInit.exe
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push 0x75e2dc
push eax
call fcn.0041d7d0
add esp, 0xc
push 1
push 0
push 0
push dword [ebp - 0x62c]
push 0
push 0
call dword [0x64e590]
mov edx, dword [ebp - 0x62c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x436fce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x69166c
push 0
push 0
call dword [0x64e248]
mov ebx, eax
push 0
push ebx
call dword [0x64e244]
test eax, eax
je 0x43702f
push ebx
call dword [0x64e240]
cmp dword [0x75e2e0], 1
push 0x1010
jne 0x437018
push 0x69b150
push 0x69b158
push 0
call dword [0x64e5e4]
jmp 0x4377c8
push 0x69b184
push str.CG100_software_is_running__can_not_be_repeated_start___t_t
push 0
call dword [0x64e5e4]
jmp 0x4377c8
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x658]
push eax
push 0x69b20c
call dword [0x64e25c]
mov esi, dword [0x64e5e4]
test eax, eax
jne 0x437065
push str.ERROR:_Call_to_GetDiskFreeSpaceEx___failed.
call fcn.00412320
jmp 0x437094
mov edx, dword [ebp - 0x634]
mov ecx, dword [ebp - 0x638]
call fcn.00634cb0
mulsd xmm0, qword [0x6b5eb8]
movsd xmm1, qword [0x6b5ee0]
mulsd xmm0, qword [0x6b5eb8]
comisd xmm1, xmm0
jbe 0x4370f8
mov edx, 0x1464
lea ecx, [ebp - 0x67c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x4370ac
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push 0
call esi
mov edx, dword [ebp - 0x668]
cmp edx, 8
jb 0x4370f8
mov ecx, dword [ebp - 0x67c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4370ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377f2
push edx
push ecx
call fcn.005b978b
add esp, 8
call fcn.00447a80
mov dword [ebp - 0x62c], eax
test eax, eax
jne 0x43717e
push str.load_library_error:_DevOper.dll
call fcn.00412320
mov edx, 0x1399
lea ecx, [ebp - 0x67c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x437129
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push 0
call esi
mov edx, dword [ebp - 0x668]
cmp edx, 8
jb 0x4377c8
mov ecx, dword [ebp - 0x67c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43716f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377f7
push edx
push ecx
call fcn.005b978b
add esp, 8
jmp 0x4377c8
call fcn.00447750
mov dword [ebp - 0x654], eax
test eax, eax
jne 0x4371fa
push str.load_library_error:_DBLink.dll
call fcn.00412320
mov edx, 0x1399
lea ecx, [ebp - 0x67c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x4371af
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push 0
call esi
mov edx, dword [ebp - 0x668]
cmp edx, 8
jb 0x4377c8
mov ecx, dword [ebp - 0x67c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43716f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377fc
jmp 0x43716f
call fcn.00447de0
mov dword [ebp - 0x65c], eax
test eax, eax
jne 0x43727a
push str.load_library_error:_Key.dll
call fcn.00412320
mov edx, 0x1399
lea ecx, [ebp - 0x67c]
call fcn.004475d0
cmp dword [eax + 0x14], 8
jb 0x43722b
mov eax, dword [eax]
push 0
push 0x69166c
push eax
push 0
call esi
mov edx, dword [ebp - 0x668]
cmp edx, 8
jb 0x4377c8
mov ecx, dword [ebp - 0x67c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43716f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437801
jmp 0x43716f
push 3
call fcn.005bcd40
add esp, 4
push 0
call dword [0x64eaac]
push 0
call dword [0x64eaa8]
push 0
push dword [0x75e2e4]
push str.Microsoft_YaHei
call dword [0x64ea80]
push eax
call dword [0x64eaa4]
push 0xe4
call fcn.00488d56
mov edi, eax
add esp, 4
test edi, edi
je 0x4373cb
push 0xe4
push 0
push edi
call fcn.005f6720
mov dword [edi + 0x88], 0
add esp, 0xc
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0xf
mov byte [edi + 0x90], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
call fcn.00443a00
mov dword [edi + 0xd4], eax
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
call fcn.00443950
mov dword [edi + 0xdc], eax
push 0
push 0
mov byte [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
push 0
mov dword [0x75e2d0], 0x400
mov dword [0x75e2d4], 0x279
mov dword [0x75e2ec], 0x1388
mov word [0x75e330], 0
call dword [0x64e248]
push 0
push 0x94f
push 0x72c810
call dword [0x64ebb4]
mov dword [0x75d700], eax
jmp 0x4373cd
xor edi, edi
mov ecx, edi
call fcn.00437a60
push dword [0x75d8b8]
call dword [0x75d75c]
add esp, 4
push 0x69b3a4
call dword [0x75d7b8]
add esp, 4
mov ecx, edi
call fcn.0043ebe0
push 0
push 0
push edi
push 0x43fe80
push 0
push 0
call fcn.005fdc83
add esp, 0x18
push eax
call dword [0x64e450]
call dword [0x64eaa0]
call dword [0x64ea9c]
test edi, edi
je 0x43754a
mov dword [ebp - 4], 0
mov byte [edi + 0xd0], 1
call fcn.00471100
call dword [0x75d764]
mov eax, dword [edi + 0xdc]
lea ecx, [edi + 0xdc]
push eax
push dword [eax]
lea eax, [ebp - 0x634]
push eax
call fcn.00443580
push 0x70
push dword [edi + 0xdc]
call fcn.005b978b
mov eax, dword [edi + 0xd4]
lea ecx, [edi + 0xd4]
add esp, 8
push eax
push dword [eax]
lea eax, [ebp - 0x634]
push eax
call fcn.00443710
push 0x40
push dword [edi + 0xd4]
call fcn.005b978b
mov ecx, dword [edi + 0xa4]
add esp, 8
cmp ecx, 0x10
jb 0x4374d2
mov eax, dword [edi + 0x90]
inc ecx
cmp ecx, 0x1000
jb 0x4374c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377f2
mov eax, edx
push ecx
push eax
call fcn.005b978b
add esp, 8
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0xf
mov byte [edi + 0x90], 0
mov ecx, dword [edi + 0x8c]
cmp ecx, 0x10
jb 0x437524
mov eax, dword [edi + 0x78]
inc ecx
cmp ecx, 0x1000
jb 0x43751a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377f2
mov eax, edx
push ecx
push eax
call fcn.005b978b
add esp, 8
push 0xe4
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xf
push edi
mov byte [edi + 0x78], 0
call fcn.005b978b
add esp, 8
mov ecx, dword [0x75d8bc]
test ecx, ecx
je 0x43755a
push ecx
call fcn.00437820
call fcn.005bcd00
push dword [ebp - 0x62c]
mov esi, dword [0x64e270]
call esi
push dword [ebp - 0x654]
call esi
push dword [ebp - 0x65c]
call esi
push ebx
call dword [0x64e240]
push ebx
call dword [0x64e450]
jmp 0x4377c8
push str.need_update
call fcn.00412320
push 0x69b078
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push 0x75e2dc
push eax
call fcn.0041d7d0
mov esi, dword [0x64e590]
add esp, 0xc
push 1
push 0
push 0
push dword [ebp - 0x62c]
push 0
push 0
call esi
cmp eax, 0x20
ja 0x43778e
push str.download_update.exe
call fcn.00412320
push 0x2b
push str.http:__update.cg100iii.com_cg100_Update.exe
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0xf
mov byte [ebp - 0x650], 0
call fcn.00411fd0
mov edx, dword [ebp - 0x62c]
lea ecx, [ebp - 0x67c]
call fcn.004682a0
cmp dword [eax + 0x14], 0x10
jb 0x43762e
mov eax, dword [eax]
cmp dword [ebp - 0x63c], 0x10
lea ecx, [ebp - 0x650]
mov edx, eax
cmovae ecx, dword [ebp - 0x650]
call fcn.0046c9a0
mov edx, dword [ebp - 0x668]
mov ebx, eax
cmp edx, 0x10
jb 0x437685
mov ecx, dword [ebp - 0x67c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43767b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437806
push edx
push ecx
call fcn.005b978b
add esp, 8
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x668], 0xf
mov byte [ebp - 0x67c], 0
test ebx, ebx
je 0x4376cf
push str.download_update.exe_error
call fcn.00412320
mov esi, dword [0x75d8bc]
test esi, esi
je 0x437701
mov ecx, esi
call fcn.00415be0
push 0x5d8
push esi
call fcn.005b978b
add esp, 8
jmp 0x437701
push 1
push 0
push 0
push dword [ebp - 0x62c]
push 0
push 0
call esi
cmp eax, 0x20
ja 0x437739
push eax
push 0x69b0ec
call fcn.00412c70
mov ecx, dword [0x75d8bc]
test ecx, ecx
je 0x437701
push ecx
call fcn.00437820
mov edx, dword [ebp - 0x63c]
cmp edx, 0x10
jb 0x4377ad
mov ecx, dword [ebp - 0x650]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x437735
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43780b
push edx
push ecx
jmp 0x4377a5
mov edx, dword [ebp - 0x63c]
cmp edx, 0x10
jb 0x437773
mov ecx, dword [ebp - 0x650]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x437769
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x437810
push edx
push ecx
call fcn.005b978b
add esp, 8
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0xf
mov byte [ebp - 0x650], 0
mov esi, dword [0x75d8bc]
test esi, esi
je 0x4377ad
mov ecx, esi
call fcn.00415be0
push 0x5d8
push esi
call fcn.005b978b
add esp, 8
mov edx, dword [ebp - 0x62c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4377c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b977a
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004172b0
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
call fcn.005f9639
int3