Function at 0x1003f12e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1fac]
mov eax, 0x1fac
call fcn.100541e0
push 0xffffffffffffffff
push 0x1008bc90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100a8810]
xor eax, ebp
mov dword [ebp + 0x1fa8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x1fb4]
mov dword [ebp - 0x1c], ebx
mov dword [ebx + 4], 0
xor eax, eax
mov word [ebp + 0xb58], ax
push 0x144e
push eax
lea ecx, [ebp + 0xb5a]
push ecx
call fcn.10054210
mov byte [ebp + 0x130], 0
push 0xa27
push 0
lea edx, [ebp + 0x131]
push edx
call fcn.10054210
push 0x94
push 0
lea eax, [ebp + 0x9c]
push eax
call fcn.10054210
add esp, 0x24
mov dword [ebp + 0x9c], 0x94
lea ecx, [ebp + 0x9c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1003f111
mov edx, dword [ebp + 0xa8]
mov dword [ebx + 0x14], edx
mov eax, dword [ebp + 0xa0]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0xa4]
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 4]
add eax, 0xfffffffd
cmp eax, 0xc
ja case.0x1003f127.4
movzx edx, byte [eax + 0x1003f400]
jmp dword [edx*4 + 0x1003f3f0]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x18], eax
lea esi, [ebp + 0xb58]
test eax, eax
je case.0x1003f127.4
cmp dword [ebp - 0x14], 2
jge 0x1003f162
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x1003f127.4
push 0xa27
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp + 0xb58]
push edx
call fcn.10057ad0
add esp, 0xc
xor ebx, ebx
add esi, 2
push 0x3f
push esi
call fcn.10057706
add esp, 8
mov edi, eax
test edi, edi
je 0x1003f1aa
add edi, 2
push 0x3f
push edi
call fcn.10057706
add esp, 8
mov esi, eax
test esi, esi
je 0x1003f1aa
inc ebx
cmp ebx, 2
jl 0x1003f17c
cmp ebx, 2
jne 0x1003f1d6
test esi, esi
je 0x1003f1b8
xor eax, eax
mov word [esi], ax
push edi
call fcn.10057a8b
add esp, 4
mov esi, dword [ebp - 0x1c]
mov dword [esi], eax
call fcn.10057973
cmp dword [eax], 0x22
jne 0x1003f1d6
mov dword [esi], 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x1003f127.4
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je case.0x1003f127.4
mov eax, dword [ebp - 0x14]
cmp eax, 2
jl 0x1003f29f
mov esi, 1
dec eax
cmp eax, esi
jle 0x1003f234
push 0x100901e0
mov eax, dword [edi + esi*4]
push eax
call fcn.1005789e
add esp, 8
test eax, eax
je 0x1003f240
inc esi
mov ecx, dword [ebp - 0x14]
dec ecx
cmp esi, ecx
jl 0x1003f216
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x1003f127.4
push 0xa27
mov edx, dword [edi + esi*4 + 4]
push edx
lea eax, [ebp + 0xb58]
push eax
call fcn.10057ad0
push 0x3a
lea ecx, [ebp + 0xb58]
push ecx
call fcn.10057706
add esp, 0x14
mov esi, eax
test esi, esi
je 0x1003f29f
add esi, 2
push 0x3a
push esi
call fcn.10057706
add esp, 8
test eax, eax
je 0x1003f29f
xor edx, edx
mov word [eax], dx
push esi
call fcn.10057a8b
add esp, 4
mov dword [ebx], eax
call fcn.10057973
cmp dword [eax], 0x22
jne 0x1003f29f
mov dword [ebx], 0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x1003f127.4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je case.0x1003f127.4
mov eax, dword [ebp - 0x14]
cmp eax, 2
jl 0x1003f29f
mov esi, 1
cmp eax, esi
jle 0x1003f2f2
mov eax, dword [edi + esi*4]
push str.QQCMD
push eax
call fcn.1005772c
add esp, 8
test eax, eax
jne 0x1003f2fe
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x1003f2d7
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp case.0x1003f127.4
push 0
push 0
push 0xa28
lea ecx, [ebp + 0x130]
push ecx
push 0xffffffffffffffff
mov edx, dword [edi + esi*4]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
test eax, eax
je 0x1003f1da
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.QQToolKit.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je case.0x1003f127.4
push str.ParserQQCommandLine
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1003f3c4
push 0x9c
push 0
lea eax, [ebp]
push eax
call fcn.10054210
add esp, 0xc
mov dword [ebp], 0x9c
mov dword [ebp - 4], 0
lea ecx, [ebp]
push ecx
lea edx, [ebp + 0x130]
push edx
call esi
mov dword [ebp - 4], 0xffffffff
jmp 0x1003f3bb
mov eax, dword [ebp + 4]
test eax, eax
je 0x1003f3c4
mov dword [ebx], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1fa8]
xor ecx, ebp
call fcn.10053b60
add ebp, 0x1fac
mov esp, ebp
pop ebp
ret