Function at 0x409730
Capabilities:
Create process on windows
Delete file
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x450fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x468850]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x30], eax
call fcn.00419d0b
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409791
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], esi
call fcn.00419d0b
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4097bd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0041adaf
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
call fcn.00419d0b
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409800
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
call fcn.00419d0b
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40982d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
push 0x2a
push str.http:__box64.yxdown.com_qidongqi_start.ini
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402080
mov ebx, dword [ebp - 0x28]
push ecx
lea eax, [ebx - 0x10]
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00402180
lea ecx, [ebp - 0x14]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00410a40
add esp, 8
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00401dd0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4098a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x24]
cmp dword [esi - 0xc], 0
je 0x4098bc
push ebx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x400002
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.0041b72b
mov esi, eax
mov dword [ebp - 0x18], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push 0x400
lea eax, [ebp]
push eax
mov ecx, esi
call edx
test eax, eax
jg 0x4098d5
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x18], 0
call fcn.0041b386
push ecx
mov ecx, dword [ebx - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add ebx, 0xfffffff0
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x20], ebx
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x40993f
cmp eax, dword [ebx]
jne 0x40993f
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x40997b
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x409958
call fcn.004022c0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00438529
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x34]
add esi, 0x10
push edx
mov dword [ecx], esi
call fcn.00410a40
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x24]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4099ee
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4099de
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4099de
push eax
call fcn.00402180
mov dword [ebp - 0x14], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4099d3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x24], ebx
jmp 0x4099ee
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00402080
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x409a38
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00402130
mov esi, dword [ebp - 0x1c]
push ebx
push 0x104
push esi
push 0x4592dc
push 0x45a260
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00438073
add esp, 8
test eax, eax
jl 0x409eda
cmp eax, dword [esi - 8]
jg 0x409eda
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x14
or eax, ecx
jge 0x409a9a
push 0x14
lea ecx, [ebp - 0x2c]
call fcn.00402130
mov edi, dword [ebp - 0x2c]
push ebx
push 0x14
push edi
push 0x4592dc
push 0x45a268
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00438073
add esp, 8
test eax, eax
jl 0x409eda
cmp eax, dword [edi - 8]
jg 0x409eda
mov ebx, dword [ebp - 0x30]
mov dword [edi - 0xc], eax
xor edx, edx
add ebx, 0x300
mov word [edi + eax*2], dx
mov esi, dword [ebx]
lea eax, [edi - 0x10]
sub esi, 0x10
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x409b34
cmp dword [esi + 0xc], edx
jl 0x409b28
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x409b28
push eax
call fcn.00402180
mov edi, eax
add esp, 4
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x409b21
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add edi, 0x10
mov dword [ebx], edi
jmp 0x409b34
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebx
call fcn.00402080
mov esi, dword [ebp - 0x30]
mov eax, dword [esi + 0x2fc]
add esi, 0x2fc
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x409b66
push 0x104
mov ecx, esi
call fcn.00402130
mov edi, dword [ebp - 0x24]
mov eax, dword [esi]
push edi
push 0x104
push eax
push 0x4592dc
push 0x45a270
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x409ba2
push ecx
push eax
call fcn.00438073
add esp, 8
test eax, eax
jl 0x409eda
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x409eda
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 2
mov esi, dword [ecx + 0x2f8]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov dword [ebp - 0x20], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x409c35
cmp eax, dword [esi]
jne 0x409c35
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x409c71
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x409c4e
call fcn.004022c0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00438529
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.00410390
add esp, 4
test eax, eax
je 0x409e86
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409ca0
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push ecx
mov bl, 9
mov byte [ebp - 4], bl
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x459ba4
call fcn.004017f0
push ecx
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
mov eax, dword [ecx + 0x2f8]
sub eax, 0x10
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
lea edx, [ebp - 0x20]
add esp, 4
mov dword [esi], eax
push edx
mov byte [ebp - 4], bl
call fcn.0040b6a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00401dd0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x409daa
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0041b469
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409f46
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x2e8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
mov dword [ebx + 0x30c], 1
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040b380
push ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], esp
mov edi, esp
push ecx
mov esi, eax
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040b380
cmp eax, esi
jle 0x409e63
mov edx, dword [ebp - 0x2c]
cmp dword [edx - 0xc], 0
je 0x409e63
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x409e1e
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00401dd0
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x2f8]
push 5
push 0x4592dc
push edx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call fcn.00438e0f
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.0041b469
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409eb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409f46
push 0x80070057
call fcn.00401090
mov ecx, dword [ebp - 0x4c]
call fcn.0041a159
lea ecx, [ebp - 0x48]
call fcn.0041b386
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 2
mov eax, 0x409f2a
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00437d66
add ebp, 0x804
mov esp, ebp
pop ebp
ret 4