Function at 0x40cbb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47db4e
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x49c4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x5e0], 0
je 0x40cbfe
push 0
push 0xbb8
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x5a8]
test ecx, ecx
je 0x40d1c0
mov eax, dword [ecx]
lea edx, [ebp - 0x110]
push edx
call dword [eax + 0x28]
mov byte [ebp - 4], 1
mov edx, dword [eax]
cmp word [edx], 0
jne 0x40cc3f
xor ecx, ecx
jmp 0x40cc53
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40cc44
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00406350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
cmp eax, ecx
je 0x40cc7a
push eax
call fcn.0045ebf9
add esp, 4
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00401d90
mov edi, eax
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x40ccbc
cmp dword [ebp - 0x44], 8
jb 0x40cc9f
push dword [ebp - 0x58]
call fcn.0045eb11
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00405e60
cmp dword [ebp - 0x14], 8
jb 0x40cccd
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x40ccf5
push 1
push 0x4875bc
lea ecx, [ebp - 0x58]
call fcn.00403ad0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x40d1c0
lea ecx, [ebp - 0x58]
call fcn.00401880
test al, al
je 0x40d1c0
lea edi, [esi + 0x570]
lea eax, [ebp - 0x58]
cmp edi, eax
je 0x40cd26
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00405fe0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push edi
mov word [ecx], ax
call fcn.00405fe0
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.00401c00
add esp, 0x18
lea edi, [esi + 0x448]
mov ecx, edi
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40cd73
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
lea ebx, [esi + 0x388]
mov edx, edi
push ebx
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x400]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00411be0
add esp, 4
lea ecx, [esi + 0x460]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x2c], 0x10
jb 0x40cdd2
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40cdf5
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40ce1c
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push str.FRServerFRUpdateServer.exe
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00403c80
add esp, 4
lea ecx, [esi + 0x490]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x5c], 0x10
jb 0x40ce4b
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push ebx
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404130
add esp, 4
push str.FeiRarService.exe
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x4c0]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40cea2
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40cec5
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40ceec
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push ebx
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00404130
add esp, 4
push str.FeiRarShell64.dll
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x4d8]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40cf43
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40cf66
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40cf8d
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push ebx
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00404130
add esp, 4
push str.FeiRarUpdate.exe
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x4a8]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40cfe4
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40d007
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40d02e
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push ebx
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x418]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.00411be0
add esp, 4
lea ecx, [esi + 0x478]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40d087
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40d0aa
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40d0d1
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push ebx
mov edx, edi
lea ecx, [ebp - 0x70]
call fcn.00411b20
add esp, 4
push 0x487590
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.00404130
add esp, 4
push str.Reflective.dll
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00404130
add esp, 4
lea ecx, [esi + 0x4f0]
push eax
call fcn.00402fa0
cmp dword [ebp - 0x14], 0x10
jb 0x40d128
push dword [ebp - 0x28]
call fcn.0045eb11
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x40d14b
push dword [ebp - 0x40]
call fcn.0045eb11
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x40d172
push dword [ebp - 0x70]
call fcn.0045eb11
add esp, 4
push 0
push 0
push esi
push fcn.0040d2d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x17c
push ecx
mov ecx, esi
call fcn.00423980
mov ecx, dword [esi + 0x58c]
test ecx, ecx
je 0x40d1c0
mov eax, dword [ecx]
push 1
call dword [eax + 0x1b4]
push 0
push 0x64
push 0x3e9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x44], 8
jb 0x40d1d8
push dword [ebp - 0x58]
call fcn.0045eb11
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x570]
push eax
call fcn.00405fe0
xor edx, edx
lea ecx, [ebp - 0x88]
call fcn.00401c00
mov ecx, esp
mov dword [ebp - 4], 0xe
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004065c0
cmp dword [esi + 0x51c], 0x10
lea edx, [esi + 0x508]
jb 0x40d247
mov edx, dword [edx]
push str.InstallPath
mov ecx, SysReAllocString
call fcn.00412ab0
add esp, 4
lea eax, [ebp - 0x88]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004065c0
push 0x487bb4
mov edx, str.SOFTWAREFeiRar
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00412ab0
add esp, 0x1c
cmp dword [ebp - 0x74], 0x10
jb 0x40d2a7
push dword [ebp - 0x88]
call fcn.0045eb11
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045eb02
mov esp, ebp
pop ebp
ret