Function at 0x40ed20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5245b4
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x590cc0]
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
mov eax, dword [ebp + 0xc]
mov esi, ecx
xor ecx, ecx
push 0x11
mov word [ebp - 0x190], cx
mov edi, 7
xor ebx, ebx
push str._wps_client_uinfo
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x180], ebx
call fcn.00402460
push 0xd
xor edx, edx
push str.guidexception
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x164], ebx
mov word [ebp - 0x174], dx
call fcn.00402460
xor eax, eax
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x12c], ebx
mov word [ebp - 0x13c], ax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
lea edx, [ebp - 0x13c]
push edx
push esi
mov byte [ebp - 4], 2
call eax
xor ecx, ecx
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x148], ebx
mov word [ebp - 0x158], cx
mov edx, dword [esi]
mov ecx, dword [edx + 0x3c]
lea eax, [ebp - 0x158]
push eax
push esi
mov byte [ebp - 4], 3
call ecx
xor edx, edx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x94], dx
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
lea ecx, [ebp - 0x94]
push ecx
push esi
mov byte [ebp - 4], 4
call edx
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp - 0x94]
mov edi, 8
cmp eax, edi
jb 0x40ee40
mov dword [ebp - 0x1b4], edx
jmp 0x40ee4c
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x1b4], ecx
mov ecx, edx
cmp eax, edi
jae 0x40ee58
lea ecx, [ebp - 0x94]
mov esi, dword [ebp - 0x84]
cmp eax, edi
lea ecx, [ecx + esi*2]
mov eax, edx
jae 0x40ee6d
lea eax, [ebp - 0x94]
cmp eax, ecx
je 0x40ee8e
mov edx, dword [ebp - 0x1b4]
push 0x4bb420
push edx
push ecx
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040b080
add esp, 0x14
xor ecx, ecx
push 0x28
mov word [ebp - 0xe8], cx
mov esi, 7
push str.http:__ic.wps.cn_wpsv6internet_infos.ads
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
call fcn.00402460
push 0xb
xor edx, edx
push str.vD1S1E2d
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], dx
call fcn.00402460
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x5c]
push 0x53ea34
push edx
mov byte [ebp - 4], 7
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40ef32
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
lea ecx, [ebp - 0x174]
push ecx
lea edx, [ebp - 0x5c]
push 0x53ea20
push edx
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40ef6f
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
push edi
push str.pnum10
lea ecx, [ebp - 0x40]
call fcn.00402340
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x5c]
push str.p00
push edx
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40efba
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
push 2
push 0x53e9f4
lea ecx, [ebp - 0x40]
call fcn.00402340
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x5c]
push str.p1
push edx
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40f006
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x5c]
push str.p2
push edx
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40f043
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
mov ecx, dword [ebp - 0x1b0]
push ecx
lea edx, [ebp - 0x5c]
push str.p3
push edx
call fcn.0040d480
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.00401fb0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], edi
jb 0x40f080
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
push 4
push str.p4
lea ecx, [ebp - 0x40]
call fcn.00402340
mov edx, dword [ebp + 8]
push edx
push str._08x
lea eax, [ebp - 0x24]
xor ecx, ecx
push edi
push eax
mov word [ebp - 0x24], cx
mov dword [ebp - 0x22], ebx
mov dword [ebp - 0x1e], ebx
mov dword [ebp - 0x1a], ebx
mov dword [ebp - 0x16], ebx
call fcn.0040a790
lea eax, [ebp - 0x24]
add esp, 0x10
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f0c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402340
push 5
push str.p50
lea ecx, [ebp - 0x40]
call fcn.00402340
push 5
push str.p60
lea ecx, [ebp - 0x40]
call fcn.00402340
push 4
push str.p7
lea ecx, [ebp - 0x40]
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
call sub.KERNEL32.DLL_GetCurrentProcessId
mov esi, eax
push esi
push 0x53a180
lea edx, [ebp - 0x24]
push edi
push edx
call fcn.0040a790
lea eax, [ebp - 0x24]
add esp, 0x10
lea ecx, [eax + 2]
jmp 0x40f140
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40f140
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402340
push 4
push str.p8
lea ecx, [ebp - 0x40]
call fcn.00402340
lea ecx, [ebp - 0x104]
push esi
push ecx
call fcn.0044a540
add esp, 8
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x1b0], 0x5c
call fcn.00401630
mov ecx, dword [ebp - 0xf4]
sub ecx, eax
dec ecx
push ecx
inc eax
push eax
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x104]
call fcn.00408740
push eax
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xf
call fcn.00402630
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x48], edi
jb 0x40f1df
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401fb0
push 4
push 0x53e97c
lea ecx, [ebp - 0x40]
call fcn.00402340
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea edx, [ebp - 0x1b8]
push edx
push eax
mov dword [ebp - 0x1b8], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1b0], eax
xor eax, eax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], ebx
mov word [ebp - 0xcc], ax
mov esi, 1
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x1b8], esi
jle 0x40f29c
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx + esi*4]
mov eax, edx
lea edi, [eax + 2]
jmp 0x40f260
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f260
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xcc]
call fcn.00402340
push 1
push 0x53e978
lea ecx, [ebp - 0xcc]
call fcn.00402340
inc esi
cmp esi, dword [ebp - 0x1b8]
jl 0x40f24a
mov edi, 8
lea ecx, [ebp - 0xcc]
call fcn.0040c360
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fb0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], edi
jae 0x40f2c4
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
push ecx
push eax
lea edx, [ebp - 0x1ac]
push edx
call fcn.0040e8a0
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0x120]
push edx
mov byte [ebp - 4], 0x12
call fcn.0040c040
add esp, 0x14
cmp dword [ebp - 0x10c], 0x10
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 0x13
jae 0x40f318
lea eax, [ebp - 0x120]
mov ecx, dword [ebp - 0x110]
push ecx
push eax
lea edx, [ebp - 0x5c]
push edx
call fcn.0040e970
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x78]
cmp eax, esi
je 0x40f393
cmp dword [ebp - 0x64], edi
jb 0x40f346
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], dx
cmp dword [esi + 0x14], edi
jae 0x40f371
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x78]
push esi
push ecx
call fcn.004b96c0
add esp, 0xc
jmp 0x40f378
mov edx, dword [esi]
mov dword [ebp - 0x78], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x64], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x48], edi
jb 0x40f3a8
mov eax, dword [ebp - 0x5c]
push eax
call fcn.004b9008
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00401fb0
push ebx
push ebx
lea ecx, [ebp - 0x1c0]
call fcn.00447870
mov ecx, dword [ebp - 0xb0]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x9c], edi
jae 0x40f3df
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0xd4], edi
jae 0x40f3f3
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0xa0]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
push ecx
push eax
push 0x53a154
lea ecx, [ebp - 0x1c0]
call fcn.00448720
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x13
call fcn.004771a0
cmp dword [ebp - 0x10c], 0x10
jb 0x40f439
mov eax, dword [ebp - 0x120]
push eax
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x120], bl
cmp dword [ebp - 0x64], edi
jb 0x40f460
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
cmp dword [ebp - 0x198], 0x10
mov esi, 7
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], dx
jb 0x40f489
mov eax, dword [ebp - 0x1ac]
push eax
call fcn.004b9008
add esp, 4
mov dword [ebp - 0x198], 0xf
mov dword [ebp - 0x19c], ebx
mov byte [ebp - 0x1ac], bl
cmp dword [ebp - 0xb8], edi
jb 0x40f4b6
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xbc], ebx
mov word [ebp - 0xcc], dx
cmp dword [ebp - 0xf0], edi
jb 0x40f4e2
mov eax, dword [ebp - 0x104]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], ebx
mov word [ebp - 0x104], cx
cmp dword [ebp - 0x2c], edi
jb 0x40f508
mov edx, dword [ebp - 0x40]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x9c], edi
jb 0x40f52b
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], dx
cmp dword [ebp - 0xd4], edi
jb 0x40f557
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
mov word [ebp - 0xe8], cx
cmp dword [ebp - 0x80], edi
jb 0x40f580
mov edx, dword [ebp - 0x94]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x94], ax
cmp dword [ebp - 0x144], edi
jb 0x40f5a9
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], ebx
mov word [ebp - 0x158], dx
cmp dword [ebp - 0x128], edi
jb 0x40f5d5
mov eax, dword [ebp - 0x13c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], ebx
mov word [ebp - 0x13c], cx
cmp dword [ebp - 0x160], edi
jb 0x40f601
mov edx, dword [ebp - 0x174]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x164], ebx
mov word [ebp - 0x174], ax
cmp dword [ebp - 0x17c], edi
jb 0x40f62d
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.004b9008
add esp, 4
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.004b9ff3
mov esp, ebp
pop ebp
ret 8