Function at 0x41ca50
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4557ae
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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 + 0xf0]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xf8], ebp
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
call fcn.00415230
lea eax, [esp + 0x34]
mov dword [esp + 0xf8], ebp
mov ebx, 1
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], vtable.CDeviceEnumer.0
call fcn.00415230
mov dword [esp + 0x30], vtable.CModemEnumer.0
mov dword [esp + 0x4c], 4
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], ebx
call fcn.00412230
lea ecx, [esp + 0x18]
push ecx
call fcn.0041bef0
mov byte [esp + 0xf8], 2
mov ecx, dword [eax]
xor edx, edx
mov eax, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x41cb12
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 + 0x100], 3
call fcn.00413af0
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x34]
mov byte [esp + 0xfc], 4
call fcn.0041db40
lea esi, [esp + 0x7c]
call fcn.00413ba0
cmp dword [esp + 0x78], 8
jb 0x41cb79
mov eax, dword [esp + 0x64]
push eax
call fcn.00429048
add esp, 4
mov byte [esp + 0xf8], bl
mov eax, dword [esp + 0x18]
xor ecx, ecx
add eax, 0xfffffff0
mov word [esp + 0x64], cx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cbb3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], ebp
je 0x41ce6a
mov dword [esp + 0x18], ebp
jmp 0x41cbe2
xor ebp, ebp
cmp dword [esp + 0x20], eax
jb 0x41cbed
call fcn.00436eb7
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
lea edi, [ecx + edx]
push eax
call fcn.004133d0
push 0xffffffffffffffff
mov byte [esp + 0xfc], 5
xor ecx, ecx
push ebp
lea edx, [esp + 0xa0]
mov word [esp + 0x6c], cx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebp
call fcn.00401e90
mov byte [esp + 0xf8], 6
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41cd05
mov esi, edx
mov dword [esp + 0x1c], esi
cmp edx, ebp
je 0x41cc7f
mov eax, edx
cmp ecx, 8
jae 0x41cc65
lea eax, [esp + 0x64]
cmp eax, esi
ja 0x41cc7f
mov eax, edx
cmp ecx, 8
jae 0x41cc74
lea eax, [esp + 0x64]
mov ebx, dword [esp + 0x74]
lea eax, [eax + ebx*2]
cmp esi, eax
jbe 0x41cc90
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 0x41cc9b
lea eax, [esp + 0x64]
lea edi, [eax + ebx*2]
cmp edi, ebp
je 0x41ccc3
mov eax, edx
cmp ecx, 8
jae 0x41ccad
lea eax, [esp + 0x64]
cmp eax, edi
ja 0x41ccc3
mov eax, edx
cmp ecx, 8
jae 0x41ccbc
lea eax, [esp + 0x64]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x41ccd4
call fcn.00436eb7
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
cmp ecx, 8
jb 0x41cd14
mov esi, edx
cmp edx, ebp
je 0x41cd1a
mov ebp, 8
mov eax, edx
cmp ecx, ebp
jae 0x41ccee
lea eax, [esp + 0x64]
cmp eax, esi
ja 0x41cd1f
mov eax, edx
cmp ecx, ebp
jae 0x41ccfc
lea eax, [esp + 0x64]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x41cd24
jmp 0x41cd1f
lea eax, [esp + 0x64]
mov dword [esp + 0x1c], eax
mov esi, eax
jmp 0x41cc5a
lea esi, [esp + 0x64]
jmp 0x41ccdf
mov ebp, 8
call fcn.00436eb7
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x68]
push edx
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 0x41cdfa
push ebx
push 0
lea ecx, [esp + 0x68]
call fcn.004021d0
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41cd84
lea eax, [esp + 0x64]
push eax
call fcn.004395da
add esp, 4
cmp eax, 3
jl 0x41cdfa
mov eax, dword [esp + 0x64]
cmp dword [esp + 0x78], ebp
jae 0x41cda0
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 + 0x1c], eax
test edx, edx
jne 0x41cdbc
xor ecx, ecx
jmp 0x41cdc4
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 0x41cddc
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x41cdfa
cmp edx, esi
jbe 0x41cde5
call fcn.00436eb7
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov eax, edi
call fcn.00421ac0
cmp dword [esp + 0x78], ebp
jb 0x41ce0d
mov edx, dword [esp + 0x64]
push edx
call fcn.00429048
add esp, 4
xor eax, eax
lea esi, [esp + 0x7c]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], 0
mov word [esp + 0x64], ax
mov byte [esp + 0xf8], 1
call fcn.004127e0
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x20]
add dword [esp + 0x18], 0x70
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x41cbe0
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xfc], 0
call fcn.004121a0
mov eax, edi
mov ecx, dword [esp + 0xf0]
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, 0xe8
ret