Function at 0x41f070
Capabilities:
Check for time delay via gettickcount
Persist via default file association registry key
Set registry value
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b327
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x8c0]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, ecx
call ebp
xor ebx, ebx
cmp dword [edi + 0x14], ebx
mov dword [esp + 0x48], eax
jne 0x41f1d8
push str._setup_WriteProtocalInfo_is_empty_n
lea eax, [esp + 0xc0]
push 0x200
push eax
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov dword [esp + 0x8c8], ebx
mov edi, 7
lea eax, [esp + 0xbc]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f112
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc0]
push ecx
lea esi, [esp + 0x54]
call fcn.00406f80
mov edx, esi
push ebx
push edx
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 1
call fcn.00406df0
mov ebp, 8
cmp dword [esp + 0x64], ebp
jb 0x41f163
mov eax, dword [esp + 0x50]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], ebp
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x41f181
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41f1bb
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f190
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.004422ed
mov edx, dword [0x474bb0]
push edx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x80], ebp
jb 0x41f1d1
mov eax, dword [esp + 0x6c]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x41ff02
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], SysStringLen
mov dword [esp + 0x8c8], 2
mov edx, dword [0x473cfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x473cfc
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x8c8], 3
push 6
push 0x462518
lea esi, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
call fcn.00406f80
mov ecx, esi
push ecx
mov edx, edi
lea ecx, [esp + 0x88]
mov byte [esp + 0x8cc], 4
call fcn.00428b10
add esp, 4
mov byte [esp + 0x8c8], 6
cmp dword [esp + 0x64], 8
jb 0x41f267
mov edx, dword [esp + 0x50]
push edx
call fcn.004415cb
add esp, 4
lea eax, [esp + 0x28]
push eax
mov ecx, 0x465058
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.0040df40
push 0xf003f
lea edi, [esp + 0x2c]
lea esi, [esp + 0x20]
call fcn.004281f0
test eax, eax
mov eax, dword [esp + 0x28]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41f49a
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x465058
call fcn.0040df40
lea edi, [esp + 0x28]
lea esi, [esp + 0x1c]
call fcn.00428250
test eax, eax
mov eax, dword [esp + 0x28]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f30d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41f49a
push str._setup_CreateKey_is_false__n
lea ecx, [esp + 0xc0]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 7
mov edi, 7
lea eax, [esp + 0xbc]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f366
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x54]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 8
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x41f3b7
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jae 0x41f3d5
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41f40e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f3e4
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x80], esi
jb 0x41f429
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x9c], esi
jb 0x41f442
mov eax, dword [esp + 0x88]
push eax
call fcn.004415cb
add esp, 4
mov dword [esp + 0x9c], 7
mov word [esp + 0x88], bx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x8c8], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41f493
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41ff02
call ebp
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0xbc]
push eax
push str._setup_WriteProtocalInfo_1_time__d__n
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 9
mov edi, 7
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f4f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 0xa
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41f541
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41f55f
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41f59a
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f570
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov esi, 8
mov byte [esp + 0x8c8], 6
cmp dword [esp + 0x80], esi
jb 0x41f5bd
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x9c], esi
mov eax, dword [esp + 0x88]
jae 0x41f5d4
lea eax, [esp + 0x88]
push eax
push 0x462510
lea edi, [esp + 0x2c]
call fcn.004073c0
add esp, 8
lea eax, [esp + 0x18]
push eax
mov ecx, str.QTalkProtocal
call fcn.0040df40
lea ecx, [esp + 0x28]
push ecx
mov ecx, 0x46278c
mov byte [esp + 0x8cc], 0xb
call fcn.0040df40
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x28]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ecx + ecx + 2]
push ecx
push eax
mov eax, dword [esp + 0x24]
push 1
push ebx
push edx
push eax
call ebp
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f64e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8c8], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.URL_Protocol
call fcn.0040df40
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 1
push ebx
push edx
push eax
call ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f6c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41f6d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0xbc]
push eax
push str._setup_WriteProtocalInfo_2_time__d__n
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 0xc
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f730
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 0xd
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41f781
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41f7a3
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41f7dc
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f7b2
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x8c8], 6
cmp dword [esp + 0x80], 8
jb 0x41f7fb
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, str.qtDefaultIcon
call fcn.0040df40
push 0xf003f
lea edi, [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.004281f0
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f843
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41f982
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.qtDefaultIcon
call fcn.0040df40
lea edi, [esp + 0x18]
lea esi, [esp + 0x1c]
call fcn.00428250
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f890
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41f982
push str._setup_Create_qtDefaultIcon_fail__n
lea ecx, [esp + 0xc0]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 0xe
mov edi, 7
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f8f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 0xf
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41f941
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41f95f
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41f40e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41f972
jmp 0x41f3ef
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x41f99a
lea eax, [esp + 0x88]
push eax
push str.__s__1
lea edi, [esp + 0x2c]
call fcn.004073c0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x46278c
call fcn.0040df40
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 1
push ebx
push edx
push eax
call ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f9f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41fa0a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0xbc]
push eax
push str._setup_WriteProtocalInfo_3_time__d__n
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 0x10
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fa63
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 0x11
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41fab4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov ebp, 7
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41fad7
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41fb10
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fae6
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
mov byte [esp + 0x8c8], 6
cmp dword [esp + 0x80], 8
jb 0x41fb2f
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, str.qt_shellopencommand
call fcn.0040df40
push 0xf003f
lea edi, [esp + 0x1c]
lea esi, [esp + 0x20]
call fcn.004281f0
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41fcf2
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.qt_shellopencommand
call fcn.0040df40
lea edi, [esp + 0x18]
lea esi, [esp + 0x1c]
call fcn.00428250
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41fbc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], bl
je 0x41fcf2
push str._setup_Create_qtDefaultIcon_fail__n
lea ecx, [esp + 0xc0]
push 0x200
push ecx
call fcn.004414db
add esp, 0xc
lea ecx, [esp + 0x68]
mov word [esp + 0x4ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 0x12
lea eax, [esp + 0xbc]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
jmp 0x41fc20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fc20
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x70]
mov byte [esp + 0x8d0], 0x13
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41fc71
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], esi
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41fc8f
lea edx, [esp + 0x6c]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41fcca
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fca0
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0x80], 8
jb 0x41fce1
mov edx, dword [esp + 0x6c]
push edx
call fcn.004415cb
add esp, 4
lea ecx, [esp + 0x84]
call fcn.00406b10
jmp 0x41f45c
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x41fd0a
lea eax, [esp + 0x88]
push eax
push str.__s_____1_
lea edi, [esp + 0x2c]
call fcn.004073c0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x46278c
call fcn.0040df40
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp - 0xc]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x20]
push ebp
push 1
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x48]
lea ecx, [esp + 0x4bc]
push eax
push str._setup_WriteProtocalInfo_4_time__d__n
push 0x200
push ecx
call fcn.004414db
add esp, 0x10
lea ecx, [esp + 0xa0]
mov word [esp + 0x8ba], bx
call fcn.0042bd40
mov byte [esp + 0x8c8], 0x14
lea eax, [esp + 0x4bc]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fdc7
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c0]
push edx
lea esi, [esp + 0x34]
call fcn.00406f80
mov eax, esi
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0xa8]
mov byte [esp + 0x8d0], 0x15
call fcn.00406df0
mov esi, 8
cmp dword [esp + 0x44], esi
jb 0x41fe1b
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0xb8], esi
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
jae 0x41fe43
lea edx, [esp + 0xa4]
mov edi, dword [0x474bb0]
cmp edi, ebx
je 0x41fe7c
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fe52
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.004422ed
mov ecx, dword [0x474bb0]
push ecx
call fcn.004428a9
add esp, 0x14
cmp dword [esp + 0xb8], 8
jb 0x41fe96
mov edx, dword [esp + 0xa4]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x9c], 8
jb 0x41feb0
mov eax, dword [esp + 0x88]
push eax
call fcn.004415cb
add esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], bx
mov byte [esp + 0x8c8], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41feee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41fefd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x8c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.004414cc
add esp, 0x8b8
ret