Function at 0x42f210
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x4744f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
push esi
mov dword [ebp - 0x47c], eax
push edi
xor edi, edi
add eax, 0x14
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x480], edi
jb 0x42f241
mov eax, dword [eax]
lea ecx, [ebp - 0x480]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push edi
xor edx, edx
push 0x466890
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], edi
mov word [ebp - 0x20], dx
call fcn.00401db0
mov eax, dword [ebp - 0x480]
cmp eax, 1
jle 0x42f3f1
mov dword [ebp - 0x478], edi
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x470], edi
mov ebx, 1
lea esp, [esp]
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax + ebx*4]
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x3c], dx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x42f2c0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00401db0
push 1
xor eax, eax
push 0x46b588
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], ax
call fcn.00401db0
lea ecx, [ebp - 0x478]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.004252f0
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x44], esi
jb 0x42f325
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00435bb0
add esp, 4
mov ecx, dword [ebp - 0x474]
sub ecx, dword [ebp - 0x478]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x42f39f
mov ecx, dword [ebp - 0x478]
mov edx, dword [ecx + 0x10]
push 3
push 0x461a6c
push edx
push edi
call fcn.00405e63
test eax, eax
jne 0x42f369
lea ecx, [ebp - 0x20]
jmp 0x42f38d
mov ecx, dword [ebp - 0x478]
mov edx, dword [ecx + 0x10]
push 4
push str.name
push edx
push edi
call fcn.00405e63
test eax, eax
jne 0x42f39f
mov ecx, dword [ebp - 0x47c]
add ecx, 0x68
mov eax, dword [ebp - 0x478]
push 0xffffffffffffffff
push edi
add eax, 0x1c
push eax
call fcn.00401b49
cmp dword [ebp - 0x28], esi
jb 0x42f3b0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00435bb0
add esp, 4
inc ebx
cmp ebx, dword [ebp - 0x480]
jl 0x42f2a0
mov eax, dword [ebp - 0x478]
cmp eax, edi
je 0x42f3f1
mov edx, dword [ebp - 0x468]
push edx
mov edx, dword [ebp - 0x474]
lea ecx, [ebp - 0x46c]
push ecx
push edx
push eax
call fcn.004061f3
mov eax, dword [ebp - 0x478]
push eax
call fcn.00435bb0
add esp, 0x14
cmp dword [ebp - 0x10], edi
jne 0x42f42b
cmp dword [0x4762cc], edi
jne 0x42f410
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42f42b
push str.MiniGamePacker_start_cmd_param_not_valid__no_gid
push str.Log_Debug
call fcn.00423a60
add esp, 8
mov ecx, dword [ebp - 0x47c]
cmp dword [ecx + 0x78], edi
jne 0x42f46b
cmp dword [0x4762cc], edi
jne 0x42f450
push str.Log_Debug
push 0x4762cc
call fcn.00423330
add esp, 8
cmp dword [0x4762cc], 2
jne 0x42f46b
push str.MiniGamePacker_start_cmd_param_not_valid__no_name
push str.Log_Debug
call fcn.00423a60
add esp, 8
lea edx, [ebp - 0x458]
push 0x3a
mov eax, edx
push str.http:__wan.sogou.com_img_game
push eax
mov dword [ebp - 0x460], 0x200
mov dword [ebp - 0x45c], edx
call fcn.004378e0
mov esi, 0x1e
add esp, 0xc
mov dword [ebp - 0x464], 0x1d
cmp dword [ebp - 0x460], esi
ja 0x42f4b6
push esi
lea ecx, [ebp - 0x464]
call fcn.00401ea1
mov eax, dword [ebp - 0x464]
mov cx, word [0x46b554]
mov edx, dword [ebp - 0x45c]
mov word [edx + eax*2], cx
cmp dword [ebp - 0xc], 8
mov dword [ebp - 0x464], esi
jb 0x42f4e4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x468], ecx
jmp 0x42f4ed
lea edx, [ebp - 0x20]
mov dword [ebp - 0x468], edx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x46c], ebx
cmp ebx, edi
je 0x42f593
mov eax, dword [ebp - 0x460]
add ebx, esi
cmp ebx, eax
jb 0x42f562
lea eax, [eax + eax + 2]
cmp ebx, eax
jb 0x42f515
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0x45c]
lea edx, [ebp - 0x458]
mov dword [ebp - 0x460], eax
cmp ecx, edx
jne 0x42f54f
add eax, eax
push eax
call fcn.00435c89
mov ecx, 0x100
lea esi, [ebp - 0x458]
mov edi, eax
mov dword [ebp - 0x45c], eax
add esp, 4
rep movsd dword es:[edi], dword [esi]
xor edi, edi
jmp 0x42f562
lea edx, [eax + eax]
push edx
push ecx
call fcn.00438c3d
add esp, 8
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x46c]
mov edx, dword [ebp - 0x468]
lea ecx, [eax + eax]
mov eax, dword [ebp - 0x45c]
push ecx
mov ecx, dword [ebp - 0x464]
push edx
lea edx, [eax + ecx*2]
push edx
call fcn.004378e0
mov esi, ebx
add esp, 0xc
mov dword [ebp - 0x464], esi
add esi, 0xa
cmp esi, dword [ebp - 0x460]
jb 0x42f5aa
push esi
lea ecx, [ebp - 0x464]
call fcn.00401ea1
mov ecx, dword [ebp - 0x464]
mov eax, dword [ebp - 0x45c]
mov edx, dword [str._20.20.jpg]
mov dword [eax + ecx*2], edx
lea eax, [eax + ecx*2]
mov ecx, dword [0x4628a0]
mov dword [eax + 4], ecx
mov edx, dword [0x4628a4]
mov dword [eax + 8], edx
mov ecx, dword [0x4628a8]
mov dword [eax + 0xc], ecx
mov edx, dword [0x4628ac]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x45c]
xor eax, eax
mov dword [ebp - 0x464], esi
mov word [ecx + esi*2], ax
mov edx, dword [ebp - 0x45c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42f603
sub eax, esi
mov esi, dword [ebp - 0x47c]
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x30]
call fcn.00401db0
push edi
mov ecx, esi
call fcn.00424ec0
mov eax, dword [ebp - 0x45c]
pop edi
lea edx, [ebp - 0x458]
pop esi
pop ebx
cmp eax, edx
je 0x42f646
push eax
call fcn.00435d1d
add esp, 4
cmp dword [ebp - 0xc], 8
jb 0x42f658
mov eax, dword [ebp - 0x20]
push eax
call fcn.00435bb0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bbb
mov esp, ebp
pop ebp
ret