Function at 0x411500
Capabilities:
Accept command line arguments
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8f09
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x120
mov eax, dword [0x530010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x108], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x58], 0
mov ecx, edx
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411570
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.004014e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x48]
cmovae ecx, esi
push 7
push str._update
push 0
mov edx, edi
setae byte [ebp - 0xe5]
call fcn.004064c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x411622
push str.update
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x411604
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203a
push edx
push ecx
call fcn.00476a87
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00476a44
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebp - 0xe5], 0
lea ecx, [ebp - 0x58]
push 2
push 0x518df8
cmovne ecx, esi
mov edx, edi
push 0
call fcn.004064c0
add esp, 0xc
cmp eax, 0xffffffff
je 0x411651
push 0x518efc
jmp 0x4115c4
lea eax, [ebp - 0x104]
push eax
call fcn.004122d0
mov edi, dword [ebp - 0x108]
mov ecx, edi
push eax
call fcn.00406290
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x4116ab
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4116a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
cmp dword [edi + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jne 0x4116be
push 0x518f00
call esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push 0x32
mov dword [ebp - 0x70], 0
push str.http:__box.yunjiwan.com_Static_refDownloadGame.txt
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004015f0
push 0x7d0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00407a70
add esp, 4
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
test al, al
sete al
mov byte [ebp - 0xe5], al
cmp edx, 0x10
jb 0x411763
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411753
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412044
push edx
push ecx
call fcn.00476a87
mov al, byte [ebp - 0xe5]
add esp, 8
test al, al
je 0x4117b9
push str.nogame
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4117a2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411798
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203a
push edx
push ecx
call fcn.00476a87
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x4115ca
cmp dword [ebp - 0x30], 0
jne 0x411811
push str.nodata
call esi
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4117a2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4117f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203a
push edx
push ecx
call fcn.00476a87
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
jmp 0x4115ca
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x70
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004c6550
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.00414f20
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0xb8]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.004015f0
cmp dword [ebp - 0xa4], 0x10
lea ecx, [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0xb8]
push ecx
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.00415010
test al, al
je 0x411fad
push 0x518f60
lea ecx, [ebp - 0x28]
call fcn.00414170
cmp eax, 0x5323c0
je 0x411fad
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00414170
cmp eax, 0x5323c0
je 0x411fad
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.0046a620
push ecx
xor edi, edi
mov byte [ebp - 4], 6
push 0x517f74
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xec], edi
call fcn.00413f80
mov ecx, eax
call fcn.00413c50
mov esi, dword [ebp - 0x70]
test eax, eax
je 0x411f7a
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
push edi
mov ecx, eax
call fcn.00413ce0
push str.channel
mov ecx, eax
call fcn.00414170
cmp eax, 0x5323c0
je 0x411f56
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
push edi
mov ecx, eax
call fcn.00413ce0
push ecx
push str.channel
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x104]
push ecx
mov ecx, eax
call fcn.00413b40
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
mov ecx, eax
cmovae edx, esi
cmp dword [eax + 0x14], 0x10
jb 0x411974
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
cmp esi, dword [ebp - 0x60]
jne 0x4119d8
sub esi, 4
jb 0x411992
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x411997
add ecx, 4
add edx, 4
sub esi, 4
jae 0x411981
cmp esi, 0xfffffffc
je 0x4119cb
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4119c4
cmp esi, 0xfffffffd
je 0x4119cb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4119c4
cmp esi, 0xfffffffe
je 0x4119cb
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4119c4
cmp esi, 0xffffffff
je 0x4119cb
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4119cb
sbb eax, eax
or eax, 1
jmp 0x4119cd
xor eax, eax
mov byte [ebp - 0xe5], 1
test eax, eax
je 0x4119df
mov byte [ebp - 0xe5], 0
mov edx, dword [ebp - 0xf0]
cmp edx, 0x10
jb 0x411a19
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411a0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
cmp byte [ebp - 0xe5], 0
je 0x411f53
push 0x68
call fcn.00476a57
add esp, 4
mov edi, eax
mov dword [ebp - 0xe4], edi
push 0x68
push 0
push edi
call fcn.004c6550
lea eax, [edi + 4]
mov dword [edi + 0x34], 0
mov dword [eax + 0x10], 0
lea esi, [edi + 0x1c]
mov dword [eax + 0x14], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x110], eax
add esp, 8
lea eax, [edi + 0x34]
mov dword [esi], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov dword [ebp - 0x114], eax
lea eax, [edi + 0x4c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
push 0x517f74
mov dword [ebp - 0x10c], eax
mov byte [edi], 0
mov dword [edi + 0x64], 0
call fcn.00413f80
push dword [ebp - 0xec]
mov ecx, eax
call fcn.00413ce0
push str.start_time
mov ecx, eax
call fcn.00414170
cmp eax, 0x5323c0
je 0x411b6d
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
push dword [ebp - 0xec]
mov ecx, eax
call fcn.00413ce0
push ecx
push str.start_time
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x104]
push ecx
mov ecx, eax
call fcn.00413b40
cmp dword [eax + 0x14], 0x10
jb 0x411b27
mov eax, dword [eax]
push eax
call fcn.004cf436
mov edx, dword [ebp - 0xf0]
add esp, 4
mov dword [edi + 0x64], eax
cmp edx, 0x10
jb 0x411b6d
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411b63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
mov edi, dword [ebp - 0xec]
mov ecx, eax
push edi
call fcn.00413ce0
push ecx
push 0x517e08
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00413b40
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x104]
call fcn.0046a390
mov ecx, dword [ebp - 0x110]
push eax
call fcn.00406290
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x411c01
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411bf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp edx, 0x10
jb 0x411c5c
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411c52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
push edi
mov ecx, eax
call fcn.00413ce0
push ecx
push str.download_url
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00413b40
mov edi, eax
cmp esi, edi
je 0x411cf8
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x411cc6
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x411cbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
mov eax, edx
push ecx
push eax
call fcn.00476a87
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x411d32
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411d28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
mov edi, dword [ebp - 0xec]
mov ecx, eax
push edi
call fcn.00413ce0
push ecx
push str.regedit_id
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00413b40
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x104]
call fcn.0046a390
mov ecx, dword [ebp - 0x114]
push eax
call fcn.00406290
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x411dc6
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411dbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp edx, 0x10
jb 0x411e21
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411e17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
push ecx
push 0x517f74
lea ecx, [ebp - 0x28]
call fcn.00413f80
push edi
mov ecx, eax
call fcn.00413ce0
push ecx
push str.param
mov ecx, eax
call fcn.00413f80
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, eax
call fcn.00413b40
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.0046a390
mov ecx, dword [ebp - 0x10c]
push eax
call fcn.00406290
mov edx, dword [ebp - 0xf0]
cmp edx, 8
jb 0x411eaf
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411ea5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
cmp edx, 0x10
jb 0x411f0a
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411f00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203f
push edx
push ecx
call fcn.00476a87
add esp, 8
mov esi, dword [ebp - 0xe4]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esi
lea eax, [esi + 0x34]
push eax
call fcn.00406340
call fcn.00412050
test al, al
jne 0x411f53
mov ecx, dword [ebp - 0x108]
add ecx, 0x18
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x411f46
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x411f53
lea edx, [ebp - 0xe4]
push edx
push eax
call fcn.0040e0b0
mov esi, dword [ebp - 0x70]
push ecx
inc edi
lea ecx, [ebp - 0x28]
push 0x517f74
mov dword [ebp - 0xec], edi
call fcn.00413f80
mov ecx, eax
call fcn.00413c50
cmp edi, eax
jb 0x411902
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x411fad
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x411fa3
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203a
push ecx
push esi
call fcn.00476a87
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00409df0
lea ecx, [ebp - 0x28]
call fcn.00413990
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x411ff0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41203a
push edx
push ecx
call fcn.00476a87
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x411604
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4115fa
call fcn.004ca66d
call fcn.004ca66d
call fcn.004ca66d
int3