Function at 0x41ceb0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45571f
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x468dc0]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468dc0]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x104]
xor edi, edi
mov dword [esp + 0xfc], edi
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
call fcn.00415230
lea eax, [esp + 0x34]
mov dword [esp + 0xfc], edi
mov esi, 1
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], vtable.CDeviceEnumer.0
call fcn.00415230
mov dword [esp + 0x30], vtable.CPortEnumer.0
mov dword [esp + 0x4c], 4
lea ecx, [esp + 0x30]
mov dword [esp + 0xfc], esi
call fcn.00412870
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c220
mov byte [esp + 0xfc], 2
mov ecx, dword [eax]
mov ebx, 7
xor edx, edx
mov eax, ecx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov word [esp + 0x64], dx
lea esi, [eax + 2]
jmp 0x41cf80
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41cf80
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x68]
call fcn.00401f90
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0x104], 3
call fcn.00413af0
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0x100], 4
call fcn.0041db40
lea esi, [esp + 0x7c]
call fcn.00413ba0
cmp dword [esp + 0x78], 8
jb 0x41cfe7
mov eax, dword [esp + 0x64]
push eax
call fcn.00429048
add esp, 4
mov byte [esp + 0xfc], 1
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0xfffffff0
mov word [esp + 0x64], cx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d01e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x40]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x44]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41d2a3
mov dword [esp + 0x18], 0
nop
cmp dword [esp + 0x1c], eax
jb 0x41d05f
call fcn.00436eb7
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
xor edx, edx
push 0xffffffffffffffff
lea eax, [ecx + esi]
push edx
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], 0
mov word [esp + 0x70], dx
call fcn.00401e90
mov byte [esp + 0xfc], 5
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41d1f7
mov ebp, edx
test edx, edx
je 0x41d0d0
mov eax, edx
cmp ecx, 8
jae 0x41d0b6
lea eax, [esp + 0x64]
cmp eax, ebp
ja 0x41d0d0
mov eax, edx
cmp ecx, 8
jae 0x41d0c5
lea eax, [esp + 0x64]
mov ebx, dword [esp + 0x74]
lea eax, [eax + ebx*2]
cmp ebp, eax
jbe 0x41d0e1
call fcn.00436eb7
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, edx
cmp ecx, 8
jae 0x41d0ec
lea eax, [esp + 0x64]
lea edi, [eax + ebx*2]
test edi, edi
je 0x41d114
mov eax, edx
cmp ecx, 8
jae 0x41d0fe
lea eax, [esp + 0x64]
cmp eax, edi
ja 0x41d114
mov eax, edx
cmp ecx, 8
jae 0x41d10d
lea eax, [esp + 0x64]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x41d125
call fcn.00436eb7
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41d200
mov esi, edx
test edx, edx
je 0x41d155
mov eax, edx
cmp ecx, 8
jae 0x41d13f
lea eax, [esp + 0x64]
cmp eax, esi
ja 0x41d155
mov eax, edx
cmp ecx, 8
jae 0x41d14e
lea eax, [esp + 0x64]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x41d15a
call fcn.00436eb7
push ebp
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2c], 0
mov edx, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ebx, edi
mov eax, esi
call fcn.00411880
add esp, 0x14
push 0x45d5c8
mov ebx, 3
lea eax, [esp + 0x64]
call fcn.0040e680
cmp eax, 0xffffffff
je 0x41d249
push ebx
push 0
lea ecx, [esp + 0x68]
call fcn.004021d0
mov eax, dword [esp + 0x64]
mov ebx, 8
cmp dword [esp + 0x78], ebx
jae 0x41d1bb
lea eax, [esp + 0x64]
push eax
call fcn.004395da
add esp, 4
cmp eax, 3
jl 0x41d24e
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebx
jae 0x41d1db
lea eax, [esp + 0x64]
push eax
call fcn.004395da
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x20], eax
test edx, edx
jne 0x41d209
xor ecx, ecx
jmp 0x41d211
lea ebp, [esp + 0x64]
jmp 0x41d0ab
lea esi, [esp + 0x64]
jmp 0x41d134
mov ecx, dword [edi + 0x14]
sub ecx, edx
sar ecx, 2
mov esi, dword [edi + 0x10]
mov ebp, esi
sub ebp, edx
sar ebp, 2
cmp ebp, ecx
jae 0x41d229
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x41d24e
cmp edx, esi
jbe 0x41d232
call fcn.00436eb7
mov eax, dword [edi]
push esi
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x64]
push eax
mov eax, edi
call fcn.00421ac0
jmp 0x41d24e
mov ebx, 8
mov byte [esp + 0xfc], 1
cmp dword [esp + 0x78], ebx
jb 0x41d269
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00429048
add esp, 4
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x18], 0x70
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
mov dword [esp + 0x1c], ebx
cmp ebx, eax
mov ebx, 7
jb 0x41d050
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], 0
je 0x41d54c
mov dword [esp + 0x1c], 0
jmp 0x41d2d5
mov ebx, 7
cmp dword [esp + 0x18], eax
jb 0x41d2e4
call fcn.00436eb7
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
lea edi, [edx + esi]
push eax
call fcn.004133d0
xor ecx, ecx
push 0xffffffffffffffff
mov byte [esp + 0x100], 6
push ecx
lea edx, [esp + 0xa0]
mov word [esp + 0x6c], cx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], 0
call fcn.00401e90
mov byte [esp + 0xfc], bl
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41d48d
mov ebp, edx
test edx, edx
je 0x41d36d
mov eax, edx
cmp ecx, 8
jae 0x41d353
lea eax, [esp + 0x64]
cmp eax, ebp
ja 0x41d36d
mov eax, edx
cmp ecx, 8
jae 0x41d362
lea eax, [esp + 0x64]
mov ebx, dword [esp + 0x74]
lea eax, [eax + ebx*2]
cmp ebp, eax
jbe 0x41d37e
call fcn.00436eb7
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov eax, edx
cmp ecx, 8
jae 0x41d389
lea eax, [esp + 0x64]
lea edi, [eax + ebx*2]
test edi, edi
je 0x41d3b1
mov eax, edx
cmp ecx, 8
jae 0x41d39b
lea eax, [esp + 0x64]
cmp eax, edi
ja 0x41d3b1
mov eax, edx
cmp ecx, 8
jae 0x41d3aa
lea eax, [esp + 0x64]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x41d3c2
call fcn.00436eb7
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41d496
mov esi, edx
test edx, edx
je 0x41d3f2
mov eax, edx
cmp ecx, 8
jae 0x41d3dc
lea eax, [esp + 0x64]
cmp eax, esi
ja 0x41d3f2
mov eax, edx
cmp ecx, 8
jae 0x41d3eb
lea eax, [esp + 0x64]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x41d3f7
call fcn.00436eb7
push ebp
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
mov ebx, edi
mov eax, esi
call fcn.00411880
add esp, 0x14
push 0x45d5c8
mov ebx, 3
lea eax, [esp + 0x64]
call fcn.0040e680
cmp eax, 0xffffffff
je 0x41d4dd
push ebx
push 0
lea ecx, [esp + 0x68]
call fcn.004021d0
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x41d454
lea eax, [esp + 0x64]
push eax
call fcn.004395da
add esp, 4
cmp eax, 3
jl 0x41d4dd
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x41d471
lea eax, [esp + 0x64]
push eax
call fcn.004395da
mov edi, dword [esp + 0x2c]
mov edx, dword [edi + 0xc]
add esp, 4
mov dword [esp + 0x24], eax
test edx, edx
jne 0x41d49f
xor ecx, ecx
jmp 0x41d4a7
lea ebp, [esp + 0x64]
jmp 0x41d348
lea esi, [esp + 0x64]
jmp 0x41d3d1
mov ecx, dword [edi + 0x14]
sub ecx, edx
sar ecx, 2
mov esi, dword [edi + 0x10]
mov ebx, esi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x41d4bf
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x41d4dd
cmp edx, esi
jbe 0x41d4c8
call fcn.00436eb7
mov eax, dword [edi]
push esi
push eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
mov eax, edi
call fcn.00421ac0
cmp dword [esp + 0x78], 8
jb 0x41d4f1
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00429048
add esp, 4
xor edx, edx
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], dx
mov byte [esp + 0xfc], 1
call fcn.004127e0
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
add dword [esp + 0x1c], 0x70
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x18], edi
cmp edi, eax
jb 0x41d2d0
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x100], 0
call fcn.004121a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.00436b18
add esp, 0xec
ret 4