Function at 0x422490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459abb
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x690], eax
push ebx
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x6a8]
mov dword fs:[0], eax
lea eax, [esp + 0x34]
push eax
call fcn.00422090
add esp, 4
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, 0x472080
mov dword [esp + 0x6b8], ebx
call fcn.00406cc0
mov dword [esp + 0x6b0], 0xffffffff
cmp dword [esp + 0x4c], 8
jb 0x422512
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [0x472094], ebx
jne 0x4229a0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x6b0], 1
push 0x16
push str.SOFTWARETencentQTalk
lea esi, [esp + 0x80]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
mov word [esp + 0x84], bx
call fcn.00406f20
lea edx, [esp + 0x14]
push edx
mov ecx, str.SOFTWARETencentQQ2009
mov byte [esp + 0x6b4], 2
call fcn.0040eb30
push 0x20019
lea edi, [esp + 0x18]
lea esi, [esp + 0x54]
call fcn.00426a30
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4225ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4228ae
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.Install
call fcn.0040eb30
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b8], 3
call fcn.00426bb0
mov byte [esp + 0x6b0], 4
mov ecx, dword [eax]
mov edi, 7
mov eax, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422600
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x64]
call fcn.00406f20
mov byte [esp + 0x6b0], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422642
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x6b0], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42266a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x5c]
push ecx
lea esi, [esp + 0x38]
call fcn.00427470
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x6b8], 8
call fcn.00406cc0
mov byte [esp + 0x6b0], 7
cmp dword [esp + 0x4c], 8
jb 0x4226ab
mov edx, dword [esp + 0x38]
push edx
call fcn.0043ef40
add esp, 4
push 6
push str.Trial0
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406f20
mov byte [esp + 0x6b0], 9
mov eax, dword [esp + 0x2c]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411e60
test eax, eax
mov edi, 8
sete byte [esp + 0x13]
mov byte [esp + 0x6b0], 7
cmp dword [esp + 0x30], edi
jb 0x42270c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043ef40
add esp, 4
cmp byte [esp + 0x13], bl
lea eax, [esp + 0x34]
je 0x422747
mov edx, str.QTTrial
call fcn.00406a70
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b4], 0xa
call fcn.00427350
add esp, 4
mov byte [esp + 0x6b0], 0xb
jmp 0x422776
mov edx, 0x4603c4
call fcn.00406a70
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6b4], 0xc
call fcn.00427350
add esp, 4
mov byte [esp + 0x6b0], 0xd
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.00406cc0
cmp dword [esp + 0x30], edi
jb 0x422795
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043ef40
add esp, 4
mov byte [esp + 0x6b0], 7
cmp dword [esp + 0x4c], edi
mov word [esp + 0x1c], bx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 7
jb 0x4227c1
mov eax, dword [esp + 0x38]
push eax
call fcn.0043ef40
add esp, 4
push 9
push str.V99.99.99
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406f20
mov ecx, esi
push ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6b4], 0xe
call fcn.00427350
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x6b8], 0xf
call fcn.00406cc0
cmp dword [esp + 0x4c], edi
jb 0x422824
mov edx, dword [esp + 0x38]
push edx
call fcn.0043ef40
add esp, 4
mov byte [esp + 0x6b0], 7
cmp dword [esp + 0x30], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x422850
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0x5c]
push ecx
call fcn.0041c230
add esp, 4
cmp eax, 3
je 0x422876
cmp eax, 2
je 0x422876
cmp eax, 4
je 0x422876
cmp eax, 6
je 0x422876
cmp eax, 5
jne 0x422889
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
mov ecx, 0x472080
call fcn.00406cc0
jmp 0x422899
push ebx
push 0x4606f4
mov esi, 0x472080
call fcn.00406f20
cmp dword [esp + 0x74], edi
jb 0x4228b3
mov edx, dword [esp + 0x60]
push edx
call fcn.0043ef40
add esp, 4
jmp 0x4228b3
mov edi, 8
cmp dword [esp + 0x90], edi
jb 0x4228c9
mov eax, dword [esp + 0x7c]
push eax
call fcn.0043ef40
add esp, 4
mov dword [esp + 0x6b0], 0xffffffff
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
je 0x4228fa
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x472094], ebx
jne 0x4229a0
push 0x206
lea ecx, [esp + 0x9a]
push ebx
push ecx
mov word [esp + 0xa0], bx
call fcn.00443e10
add esp, 0xc
lea esi, [esp + 0x94]
call fcn.00422af0
mov eax, esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422946
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x98]
push edx
lea esi, [esp + 0x20]
call fcn.00406f20
push 0xffffffffffffffff
push ebx
mov eax, esi
mov ecx, 0x472080
mov dword [esp + 0x6b8], 0x10
call fcn.00406cc0
mov dword [esp + 0x6b0], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x4229a0
mov eax, dword [esp + 0x1c]
push eax
call fcn.0043ef40
add esp, 4
mov eax, dword [0x472084]
mov edi, 8
cmp dword [0x472098], edi
jae 0x4229b7
mov eax, 0x472084
push eax
push 0x463670
push 0x400
lea ecx, [esp + 0x2a8]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x78]
call fcn.0042a750
mov dword [esp + 0x6b0], 0x11
lea eax, [esp + 0x29c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422a06
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2a0]
push edx
lea esi, [esp + 0x64]
call fcn.00406f20
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x80]
mov byte [esp + 0x6b8], 0x12
call fcn.00406d90
cmp dword [esp + 0x74], edi
jb 0x422a55
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x90], edi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
jae 0x422a77
lea edx, [esp + 0x7c]
mov edi, dword [0x471b30]
cmp edi, ebx
je 0x422ab0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422a86
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x90], 8
jb 0x422ac7
mov edx, dword [esp + 0x7c]
push edx
call fcn.0043ef40
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x6a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x690]
xor ecx, esp
call fcn.0043ef12
mov esp, ebp
pop ebp
ret