Function at 0x410a00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5f27f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6656b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6656b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov esi, ecx
lea ecx, [esp + 0x14]
mov ebx, ebp
mov dword [esp + 0x14], 0
call fcn.00410f00
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
mov dword [esp + 0x40], ebx
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410a70
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x1c]
call fcn.0040f730
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x410a9e
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.005b9cfa
add esp, 8
test eax, eax
je 0x410ad4
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], esi
jae 0x410aba
lea eax, [esp + 0x1c]
push eax
call fcn.005b965a
add esp, 4
test eax, eax
je 0x410ad4
push ebx
lea ecx, [esp + 0x1c]
call fcn.004b8ca0
add esp, 4
lea edi, [ebp + 0x28]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov ecx, dword [0x6226f0]
mov dword [edi], ecx
mov edx, dword [0x6226f4]
mov dword [edi + 4], edx
mov ax, word [0x6226f8]
mov word [edi + 8], ax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x38], 0x1000000
cmp dword [esp + 0x30], esi
jae 0x410b1d
lea eax, [esp + 0x1c]
cmp eax, ebx
jne 0x410b26
mov eax, 0x622024
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x410b30
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410b30
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x66f304
call fcn.0040f730
cmp dword [0x66f318], ebx
je 0x410b6c
mov ecx, 0x5c
mov edx, esi
call fcn.004bce60
push 1
mov eax, 0x622070
mov ecx, esi
call fcn.0040ec10
mov eax, 0x622024
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410b74
sub eax, edx
sar eax, 1
push eax
mov eax, 0x622024
mov esi, 0x66f33c
call fcn.0040f730
xor ecx, ecx
mov eax, str.updater
cmp ecx, str.updater
jne 0x410ba7
mov eax, 0x622024
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410bb0
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x66f320
call fcn.0040f730
mov eax, 1
push 0x66f2e8
mov byte [0x66f380], bl
mov dword [0x66f374], eax
call fcn.004a8200
mov byte [0x66f379], 1
mov dword [0x66f384], 7
mov byte [0x66f378], 1
xor edx, edx
cmp byte [ebp + 0x4a], 1
jne 0x410ce1
mov eax, str.logx
cmp edx, str.logx
jne 0x410c1a
mov eax, 0x622024
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410c20
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x66f358
call fcn.0040f730
mov eax, dword [0x66f394]
cmp eax, ebx
je 0x410c58
push eax
call fcn.004c4802
add esp, 4
mov dword [0x66f394], ebx
mov dword [0x66f398], ebx
cmp edi, ebx
je 0x410cd5
push 0x26
call fcn.004c47f7
mov dword [0x66f394], eax
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [0x66f394]
mov dword [eax + 4], ecx
mov edx, dword [0x66f394]
mov dword [edx + 8], ecx
mov eax, dword [0x66f394]
mov dword [eax + 0xc], ecx
mov edx, dword [0x66f394]
mov dword [edx + 0x10], ecx
mov eax, dword [0x66f394]
mov dword [eax + 0x14], ecx
mov edx, dword [0x66f394]
mov dword [edx + 0x18], ecx
mov eax, dword [0x66f394]
mov dword [eax + 0x1c], ecx
mov edx, dword [0x66f394]
mov dword [edx + 0x20], ecx
mov eax, dword [0x66f394]
push 0x1c
mov word [eax + 0x24], cx
mov ecx, dword [0x66f394]
push edi
push ecx
call fcn.005c2250
add esp, 0x10
mov dword [0x66f398], 0x1c
mov dword [0x66f39c], 0x411110
jmp 0x410d3e
mov eax, 0x6224b0
cmp edx, 0x6224b0
jne 0x410cf3
mov eax, 0x622024
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x410d00
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x410d00
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x66f358
call fcn.0040f730
mov eax, dword [0x66f394]
cmp eax, ebx
je 0x410d38
push eax
call fcn.004c4802
add esp, 4
mov dword [0x66f394], ebx
mov dword [0x66f398], ebx
mov dword [0x66f39c], ebx
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x410d5a
mov eax, dword [esp + 0x1c]
push eax
call fcn.004c4802
add esp, 4
push ebx
push ebx
push ebx
xor ecx, ecx
push ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 0x68], eax
push 9
lea esi, [ebp + 0xa0]
mov eax, str.threadLog
call fcn.0040f730
mov edx, dword [ebp + 0x68]
lea esi, [ebp + 0x6c]
push edx
mov eax, esi
call fcn.004a96d0
push ebp
mov eax, esi
call fcn.004a9770
test al, al
jne 0x410dc3
test dword [ebp + 0x44], 0x4000
je 0x410dc3
push str.GnLog_:_____.
push 1
mov edi, 0x66f2e8
call fcn.004a89a0
add esp, 8
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005b7e8e
add esp, 0x30
ret 4