Function at 0x4024e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4194e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x41f908]
push ebx
push esi
push edi
mov dword [esp + 0x444], eax
xor eax, eax
xor ebx, ebx
mov word [esp + 0xd8], bx
mov ecx, 0x25
lea edi, [esp + 0xda]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xd8]
push 0x4c
push eax
call fcn.004011a0
xor eax, eax
mov word [esp + 0x178], bx
mov ecx, 0x31
lea edi, [esp + 0x17a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x240], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x242]
rep stosd dword es:[edi], eax
add esp, 8
stosw word es:[edi], ax
mov dword [0x420808], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x104
lea edx, [esp + 0x23c]
push edx
mov esi, eax
push ebx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x238]
push eax
call fcn.00405760
add esp, 4
cmp esi, ebx
je 0x40294c
mov eax, dword [esp + 0x1c]
cmp eax, 1
jle 0x402945
mov dword [esp + 0xc], 1
mov edi, 8
mov ecx, dword [esp + 0xc]
mov esi, dword [esi + ecx*4]
push esi
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
call fcn.0040e053
add esp, 4
push eax
push esi
lea ecx, [esp + 0x70]
call fcn.00401960
mov esi, dword [esp + 0x7c]
push str.__qudao:
mov dword [esp + 0x458], ebx
call fcn.0040e053
add esp, 4
cmp esi, eax
jb 0x402755
push str.__qudao:
call fcn.0040e053
add esp, 4
push eax
push ebx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x74]
call fcn.00401c70
mov esi, dword [esp + 0x7c]
push str.__qudao:
mov byte [esp + 0x458], 1
call fcn.0040e053
add esp, 4
sub esi, eax
push esi
push str.__qudao:
call fcn.0040e053
add esp, 4
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x74]
call fcn.00401c70
cmp dword [esp + 0xd4], edi
mov eax, dword [esp + 0xc0]
jae 0x40269a
lea eax, [esp + 0xc0]
push str.__qudao:
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x4026eb
cmp dword [esp + 0x9c], edi
mov eax, dword [esp + 0x88]
jae 0x4026c3
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x98]
push ecx
push eax
lea edx, [esp + 0x178]
push edx
call fcn.0040e069
mov eax, dword [esp + 0xa4]
add esp, 0xc
mov word [esp + eax*2 + 0x170], bx
cmp dword [esp + 0x9c], edi
jb 0x402704
mov ecx, dword [esp + 0x88]
push ecx
call fcn.0040e14c
add esp, 4
cmp dword [esp + 0xd4], edi
mov esi, 7
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov byte [esp + 0x454], bl
jb 0x40273f
mov edx, dword [esp + 0xc0]
push edx
call fcn.0040e14c
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], bx
mov esi, dword [esp + 0x7c]
push str.__country:
call fcn.0040e053
add esp, 4
cmp esi, eax
jb 0x4028f6
push str.__country:
call fcn.0040e053
add esp, 4
push eax
push ebx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x74]
call fcn.00401c70
mov esi, dword [esp + 0x7c]
push str.__country:
mov byte [esp + 0x458], 2
call fcn.0040e053
add esp, 4
sub esi, eax
push esi
push str.__country:
call fcn.0040e053
add esp, 4
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x74]
call fcn.00401c70
cmp dword [esp + 0xb8], edi
mov eax, dword [esp + 0xa4]
jae 0x4027dd
lea eax, [esp + 0xa4]
push str.__country:
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x4028a0
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x402801
lea eax, [esp + 0x50]
push 0x41a500
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x402822
mov dword [0x420808], 1
jmp 0x4028a0
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x402830
lea eax, [esp + 0x50]
push 0x41a4f8
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x40284e
mov dword [0x420808], 3
jmp 0x4028a0
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x40285c
lea eax, [esp + 0x50]
push 0x41a4f0
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x40287a
mov dword [0x420808], 2
jmp 0x4028a0
cmp dword [esp + 0x64], edi
mov eax, dword [esp + 0x50]
jae 0x402888
lea eax, [esp + 0x50]
push 0x41a4e8
push eax
call fcn.0040e556
add esp, 8
test eax, eax
jne 0x4028a0
mov dword [0x420808], ebx
cmp dword [esp + 0x64], edi
jb 0x4028b3
mov edx, dword [esp + 0x50]
push edx
call fcn.0040e14c
add esp, 4
cmp dword [esp + 0xb8], edi
mov esi, 7
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x4028de
mov eax, dword [esp + 0xa4]
push eax
call fcn.0040e14c
add esp, 4
mov dword [esp + 0xb8], esi
mov dword [esp + 0xb4], ebx
mov word [esp + 0xa4], bx
jmp 0x4028fb
mov esi, 7
cmp dword [esp + 0x80], edi
mov dword [esp + 0x454], 0xffffffff
jb 0x40291c
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0040e14c
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov dword [esp + 0xc], eax
jl 0x4025d6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.00405970
call fcn.0040ac70
push 0x41a1dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edx, dword [0x421564]
mov ecx, 0x421564
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x45c], 3
call fcn.00403f90
add esp, 8
cmp eax, ebx
jne 0x4029ac
push str.act_exact_fail
push 0x30
call fcn.00405820
add esp, 8
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
call fcn.004041d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x454], 4
mov esi, 1
call fcn.00403910
test eax, eax
jne 0x4029d6
xor esi, esi
lea ecx, [esp + 0x24]
call fcn.00404e70
test eax, eax
jne 0x402c14
push 0x41a488
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00402e10
test eax, eax
jne 0x402a12
push 0x41a450
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00403680
test eax, eax
jne 0x402a2e
push 0x41a408
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.004036a0
test eax, eax
jne 0x402a4a
push 0x41a3b8
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00403710
test eax, eax
jne 0x402a66
push 0x41a368
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00404a00
test eax, eax
jne 0x402a82
push 0x41a320
push 0x30
call fcn.00405820
add esp, 8
lea ecx, [esp + 0x24]
call fcn.00404c90
cmp esi, ebx
lea eax, [esp + 0xd8]
lea ecx, [esp + 0x170]
push eax
push ecx
jne 0x402c0c
call fcn.004021e0
mov edx, dword [0x421564]
add esp, 8
mov ecx, 0x421564
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x458], 5
call fcn.0040d920
add esp, 4
test eax, eax
je 0x402b79
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.004014c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409de0
mov edx, dword [0x421564]
add esp, 4
mov ecx, 0x421564
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov byte [esp + 0x458], 6
call fcn.0040a6a0
add esp, 4
test eax, eax
je 0x402b53
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
call fcn.004014c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409e70
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x454], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
call fcn.00406ac0
push 0x420808
call fcn.00406a50
add esp, 8
call fcn.004069d0
lea ecx, [esp + 0x24]
call fcn.00402e20
push eax
lea ecx, [esp + 0x24]
call fcn.00402430
mov eax, dword [esp + 0x20]
push 0x41a218
push eax
mov byte [esp + 0x45c], 7
call fcn.00405630
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x454], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402be4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x454], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x402c14
call fcn.00401cf0
add esp, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x454], 3
call fcn.00403550
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x454], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402c4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x444]
xor eax, eax
call fcn.0040da10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10