Function at 0x441352
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov dword [esp + 0x20], ecx
mov al, 1
xchg byte [edx + 0x34], al
test al, al
jne 0x441a7b
lea esi, [esp + 0x50]
mov dword [esp + 0x24], edx
add edx, 0x1c
mov ecx, esi
mov dword [esp + 0x70], edx
call fcn.00435ed0
mov ecx, esi
mov edx, 0x4e0bb4
call fcn.00441ab0
mov byte [esp + 0x1b], dl
mov edx, eax
lea edi, [esp + 0x50]
mov dword [esp + 8], eax
add edx, 8
mov ecx, edi
mov dword [esp + 0x10], edx
call fcn.00440ce6
mov ebp, dword [edi]
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0xc]
lea edx, [ebp + eax*4]
lea eax, [esi + ecx*4]
cmp ebp, edx
je 0x4413c9
mov ebx, esi
mov ecx, eax
mov esi, ebp
jmp 0x4413d7
cmp esi, eax
mov ecx, edx
mov ebx, edx
mov edx, eax
je 0x44161c
mov dword [esp + 4], edx
mov edx, dword [esi]
lea edi, [esp + 0x50]
mov dword [esp], ecx
mov ecx, edi
add edx, 8
call fcn.00435ed0
mov ecx, edi
mov edx, 0x4e0bc4
call fcn.00440d81
cmp byte [eax + 0x50], 0
mov edi, eax
movzx edx, dl
jne 0x441546
mov dword [esp + 0x14], edx
mov edx, edi
add edx, 8
mov dword [esp + 0x34], edx
and dword [edi + 8], 0
movzx eax, byte [edi + 0x51]
test eax, eax
je 0x44146b
cmp eax, 2
je 0x441542
cmp eax, 1
jne 0x441a0a
mov eax, dword [edi + 0x4c]
not eax
and eax, dword [edi + 0x48]
test ax, 0x1bf
je 0x441542
lea ecx, [esp + 0x38]
call fcn.0044060c
cmp byte [esp + 0x38], 4
jne 0x441560
mov edx, dword [esp + 0x3c]
push 4
pop ecx
call fcn.00440c92
jmp 0x441542
and dword [edi + 0x24], 0
mov dword [edi + 0x20], 1
mov dword [edi + 0x1c], SysReAllocString
or dword [edi + 0x18], 0xffffffff
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x44]
or ecx, 0x20
mov dword [edi + 0x28], eax
and dword [edi + 0x30], 0
mov dword [edi + 0x2c], ecx
mov eax, dword [esi]
lock inc dword [eax]
jle 0x441a06
mov dword [esp + 0x28], eax
lea ecx, [eax + 8]
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x38]
lea ebp, [eax + 8]
mov dword [esp + 0x1c], eax
mov dword [eax + 8], 0x103
mov dword [esp + 0xc], edx
lea edx, [eax + 0x10]
push 0x20
pop eax
push eax
push edx
push eax
push edx
push 0x12024
push ebp
push ecx
push 0
push 0
mov eax, dword [esp + 0x30]
push dword [eax + 8]
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
je 0x441534
cmp eax, 0x103
je 0x441534
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
and dword [esp + 0x50], 0
lea ecx, [esp + 0x50]
mov ebp, eax
mov dword [esp + 0x54], eax
call fcn.00441b29
test eax, eax
je 0x441a6c
mov eax, ebp
shr ebp, 0x10
shl eax, 0x10
mov ecx, ebp
shld ecx, eax, 0x10
mov dword [esp + 0xc], eax
cmp edx, 0x3e5
mov eax, ecx
jne 0x44159a
xor ecx, ecx
mov edx, eax
call fcn.00444767
mov ecx, dword [esp + 0x1c]
mov byte [ecx + 0x49], 1
mov eax, dword [ecx + 0x40]
mov dword [ecx + 0x44], eax
mov edx, dword [esp + 0x14]
mov ebp, esi
mov ecx, edi
add ebp, 4
call fcn.00440ca1
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esi, ebx
jmp 0x4413bd
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], eax
call fcn.00441b29
mov dword [edi + 8], eax
mov eax, ebp
mov dword [edi + 0xc], edx
shr eax, 8
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
shld ebp, eax, 0x18
mov dword [esp + 0x30], ebp
jmp 0x4415f6
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
call fcn.00440569
mov ecx, dword [esp + 0x28]
cmp ecx, 6
jne 0x4415d4
mov ecx, dword [esp + 0x1c]
call fcn.004405a4
mov edx, dword [esp + 0x74]
xor ecx, ecx
call fcn.00444767
mov al, 4
jmp 0x4415f6
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
shld ebp, edx, 8
shl edx, 8
mov dword [eax], 1
mov dword [eax + 4], ecx
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov edx, dword [esp + 0x14]
cmp al, 4
je 0x441546
mov ecx, edi
mov ebx, eax
call fcn.00440ca1
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
jmp 0x441752
mov eax, dword [esp + 8]
xor ebx, ebx
mov esi, dword [eax + 0x14]
cmp esi, ebx
je 0x441651
mov ecx, dword [esp + 0x10]
mov edx, ebx
mov edi, ebx
call fcn.00440d2f
test eax, eax
je 0x4419f1
mov ecx, dword [eax]
call fcn.00440d4f
lea ebx, [edi + 1]
test al, al
jne 0x441625
jmp 0x4416e3
mov edi, esi
mov ebx, esi
jmp 0x4416e3
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.00440d2f
test eax, eax
je 0x4419e2
mov ecx, dword [eax]
call fcn.00440d4f
test al, al
jne 0x44167b
inc ebx
jmp 0x4416e3
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x14]
cmp eax, edi
jbe 0x441a8a
cmp eax, ebx
jbe 0x441a99
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x10]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
lea edx, [eax + edi]
mov dword [esp + 4], ebp
mov ebp, ecx
mov dword [esp], edx
cmp edx, ecx
mov edx, 0
cmovb ebp, edx
mov edx, dword [esp]
sub edx, ebp
lea ebp, [eax + ebx]
cmp ebp, ecx
mov ebp, 0
cmovb ecx, ebp
inc edi
sub eax, ecx
mov ecx, dword [esp + 4]
add eax, ebx
inc ebx
mov ebp, dword [ecx + edx*4]
mov dword [esp], ebp
mov ebp, dword [ecx + eax*4]
mov dword [ecx + edx*4], ebp
mov ebp, dword [esp]
mov dword [ecx + eax*4], ebp
cmp ebx, esi
jb 0x44165a
cmp edi, ebx
je 0x441744
mov eax, dword [esp + 8]
cmp dword [eax + 0x14], edi
jbe 0x441744
mov edx, dword [esp + 0x10]
lea esi, [esp + 0x50]
mov ecx, esi
call fcn.00440ce6
mov eax, dword [esi + 4]
mov ebx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov edx, eax
sub edx, edi
jae 0x441728
mov edx, dword [esp + 8]
mov ecx, edi
sub ecx, eax
sub esi, ecx
lea ecx, [ebx + ecx*4]
mov dword [edx + 0x14], edi
jmp 0x44173d
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 8]
lea ecx, [eax + edi*4]
mov dword [ebp + 0x14], edi
call fcn.0044054f
mov ecx, ebx
mov edx, esi
call fcn.0044054f
mov edi, dword [esp + 0x24]
lea ecx, [edi + 4]
call fcn.004410ed
mov bl, 4
movzx edx, byte [esp + 0x1b]
mov ecx, dword [esp + 8]
call fcn.00440ca1
cmp bl, 4
jne 0x4417de
mov eax, dword [edi]
lea esi, [esp + 0x38]
mov ecx, esi
mov edx, dword [eax + 8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
call fcn.00440fc8
add esp, 0x14
mov byte [edi + 0x34], 0
cmp dword [esi], 0
je 0x4417f8
lea ecx, [esp + 0x3c]
call fcn.00441b29
test eax, eax
je 0x4419c9
cmp edx, 0x102
jne 0x4419c9
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
and dword [eax + 4], 0
mov byte [eax], 4
call fcn.00444767
jmp 0x4419d7
mov ecx, dword [esp + 0x20]
shld ebp, esi, 8
movzx eax, bl
shl esi, 8
or esi, eax
mov dword [ecx + 4], ebp
mov dword [ecx], esi
jmp 0x4419d7
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
lea ebx, [esp + 0x50]
mov ecx, ebx
call fcn.00435ed0
mov ecx, ebx
mov edx, 0x4e0be4
call fcn.00441ab0
mov ebp, eax
add eax, 8
shl edi, 4
xor ebx, ebx
mov byte [esp + 0xc], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 4], ebp
test edi, edi
je 0x4419a5
mov edx, dword [esi + 4]
test edx, edx
je 0x44187e
test byte [esi], 1
jne 0x441899
lea ebp, [esp + 0x50]
mov dword [esp], ebx
lea ebx, [edx - 8]
mov ecx, ebp
mov dword [esp + 0x78], ebx
call fcn.00435ed0
mov ecx, ebp
mov edx, 0x4e0bf4
call fcn.00440d81
mov byte [eax + 0x51], 0
and dword [eax + 0x4c], 0
mov ebp, eax
cmp byte [eax + 0x50], 0
je 0x4418b3
mov ebx, dword [esp]
jmp 0x441983
mov edx, dword [esi]
mov ecx, dword [esp + 0x9c]
push dword [esi + 0xc]
push 0
call fcn.00441aec
pop eax
pop ecx
inc ebx
jmp 0x44199a
mov ebp, dword [esp + 0x9c]
sub ebx, dword [ebp + 8]
push ebp
push esi
call dword [edx + 0x14]
add esp, 8
add ebx, dword [ebp + 8]
jmp 0x441996
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], dl
cmp ecx, 0xc0000120
jne 0x4418cd
mov ebx, dword [esp]
jmp 0x4418f6
mov ebx, dword [esp]
test ecx, ecx
js 0x4418f1
cmp dword [ebp + 0x20], 0
je 0x4418f6
mov eax, dword [ebp + 0x2c]
test al, 0x20
je 0x4418f6
mov ecx, ebp
add ecx, 8
call fcn.004405a4
mov dl, byte [esp + 0x10]
jmp 0x44191d
mov eax, 0x100
mov ecx, dword [ebp + 0x48]
and eax, ecx
je 0x44191d
xor ecx, eax
mov dword [ebp + 0x48], ecx
mov ecx, dword [esp + 0x9c]
mov edx, dword [ebp + 0x38]
push eax
push dword [ebp + 0x3c]
call fcn.00441aec
mov dl, byte [esp + 0x18]
add esp, 8
inc ebx
cmp byte [ebp + 0x50], 0
mov eax, dword [esp + 0x14]
jne 0x441983
lock inc dword [eax]
jle 0x441a06
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
cmp edx, ecx
jne 0x441951
mov ecx, dword [esp + 0x1c]
call fcn.00440ded
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
mov dword [esp], edx
mov edx, dword [eax + 0x10]
mov eax, 0
add edx, dword [esp]
cmp edx, ecx
cmovb ecx, eax
mov eax, dword [esp + 4]
sub edx, ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x14]
mov dword [ecx + edx*4], eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dl, byte [esp + 0x10]
inc eax
mov dword [ecx + 0x14], eax
movzx edx, dl
mov ecx, ebp
call fcn.00440ca1
lea ecx, [esp + 0x78]
call fcn.00440569
mov ebp, dword [esp + 4]
add esi, 0x10
add edi, 0xfffffff0
jmp 0x441831
mov ecx, dword [esp + 0x24]
add ecx, 4
call fcn.004410ed
movzx edx, byte [esp + 0xc]
mov ecx, ebp
call fcn.00440ca1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], ebx
mov byte [eax], 4
jmp 0x4419d7
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0x20]
movsd qword [eax], xmm0
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x14
pop edx
mov ecx, str.Out_of_bounds_access
push 0x4e0890
jmp 0x4419fe
push 0x14
pop edx
mov ecx, str.Out_of_bounds_access
push 0x4e0880
call fcn.004c8b50
pop eax
ud2
ud2
lea ecx, [esp + 0x34]
lea eax, [esp + 0x78]
mov dword [eax], ecx
mov dword [eax + 4], 0x4406c7
push 2
pop ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], 0x20
and dword [esp + 0x64], 0
xor edx, edx
lea ecx, [esp + 0x38]
lea esi, [esp + 0x50]
mov dword [esp + 0x68], 4
mov byte [esp + 0x6c], 3
inc edx
mov dword [ecx], str.internal_error:_entered_unreachable_code:_Invalid_poll_status_during_update_
mov dword [ecx + 4], edx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edx
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x4e0aec
call fcn.004c8740
ud2
push 0x2b
pop edx
mov ecx, 0x4f022c
push 0x4e0a84
jmp 0x441aa6
push 0x3f
pop edx
mov ecx, str.assertion_failed:__self.is_polling.swap_true__Ordering::AcqRel_
push 0x4e0ba4
jmp 0x441aa6
push 0x20
pop edx
mov ecx, str.assertion_failed:_i___self.len__p
push 0x4e08f0
jmp 0x441aa6
push 0x20
pop edx
mov ecx, str.assertion_failed:_j___self.len__p
push 0x4e08c0
call fcn.004c88c0
jmp 0x441a03