Function at 0x4024d0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4518dd
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x468850]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0x6a0]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041c728
call fcn.00420c37
call fcn.00420a7c
xor ebx, ebx
push 0x4594bc
mov ecx, esi
mov dword [eax + 0x7c], ebx
call fcn.0041d2e6
push ebx
lea eax, [esi + 0xa8]
push eax
lea ecx, [esi + 0xa4]
push ecx
call sub.gdiplus.dll_GdiplusStartup
push ebx
call fcn.0041e114
add esp, 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push str.http:__azads.yxdown.cn_201408_yxun.ini
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004017f0
mov edi, 1
mov dword [esp + 0x6a8], ebx
cmp dword [esp + 0x18], edi
jle 0x402809
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.004017f0
mov eax, dword [esp + 0x10]
mov ecx, 0x459520
jmp 0x4025b0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4025d6
cmp dx, bx
je 0x4025d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4025d6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4025b0
xor eax, eax
jmp 0x4025db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
test al, al
je 0x4025ec
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40260c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, dword [esp + 0x18]
jl 0x402591
cmp dword [esp + 0x1c], ebx
je 0x402809
lea esi, [esp + 0x3c4]
call fcn.004129e0
sub esp, 0x1c
mov byte [esp + 0x6c4], 1
mov esi, esp
mov dword [esp + 0x3c], esp
mov edi, 7
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push ebx
mov eax, 0x4592dc
mov word [esi + 4], cx
call fcn.00402910
mov byte [esp + 0x6c4], 2
mov eax, dword [esp + 0x30]
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], edi
xor edx, edx
mov ecx, eax
mov dword [esi + 0x14], ebx
mov dword [esp + 0x54], esp
mov word [esi + 4], dx
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x402680
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00402910
lea ecx, [esp + 0x3fc]
mov byte [esp + 0x6e0], 1
call fcn.00412da0
cmp eax, ebx
je 0x4027f3
lea eax, [esp + 0x414]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00402d90
mov bl, 3
mov byte [esp + 0x6a8], bl
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x4027de
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x496]
push ecx
mov word [esp + 0x498], ax
call fcn.0043a5b0
add esp, 0xc
lea edx, [esp + 0x48c]
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [esp + eax*2 + 0x48a], 0x5c
je 0x40273f
push 0x459528
lea eax, [esp + 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x48c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004017f0
push 8
push 0x45952c
lea ecx, [esp + 0x18]
mov byte [esp + 0x6b0], 4
call fcn.004021f0
lea ecx, [esp + 0x34]
call fcn.0041e967
push 0
mov byte [esp + 0x6ac], 5
mov edx, dword [esp + 0x14]
push 0x9001
push edx
lea ecx, [esp + 0x40]
call fcn.0041edd6
test eax, eax
je 0x4027a6
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.0041e69d
lea ecx, [esp + 0x34]
call fcn.0041e901
lea ecx, [esp + 0x34]
mov byte [esp + 0x6a8], 4
call fcn.0041ea80
mov byte [esp + 0x6a8], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6a8], 1
test edi, edi
je 0x4027f3
push edi
call fcn.00419c68
add esp, 4
lea ecx, [esp + 0x3c4]
mov byte [esp + 0x6a8], 0
call fcn.00412ab0
jmp 0x40283a
lea ecx, [esp + 0x44]
push ecx
call fcn.00403390
lea edx, [esp + 0x44]
mov byte [esp + 0x6a8], 6
mov ecx, edx
mov dword [esi + 0x20], edx
call fcn.0041fe76
lea ecx, [esp + 0x44]
mov byte [esp + 0x6a8], 0
call fcn.00403990
mov dword [esp + 0x6a8], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402865
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x6a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.00437d66
mov esp, ebp
pop ebp
ret