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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x148
mov edi, dword [ebp + 8]
test edx, edx
mov dword [esp + 0x4c], ecx
je 0x431a56
cmp edx, 1
jne 0x431dc8
lea ecx, [esp + 0x18]
mov edx, edi
push dword [ebp + 0xc]
call fcn.00430670
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x43231b
jmp 0x432415
mov esi, dword [sym.imp.kernel32.dll_SwitchToThread]
lea eax, [esp + 0x80]
mov dword [esp + 0x88], 0x3b9aca00
mov dword [esp + 8], edi
mov dword [esp + 0x118], 0x3b9aca00
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x98], 0x3b9aca00
mov dword [esp + 0xb0], 0
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
pause
pause
pause
pause
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
pause
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
call esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
call esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
call esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
call esi
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x50]
call fcn.00432570
test al, al
jne 0x431eff
mov eax, dword [esp + 0x118]
cmp eax, 0x3b9aca00
je 0x431d24
mov esi, dword [esp + 0x110]
mov ebx, dword [esp + 0x114]
mov dword [esp + 4], eax
call fcn.0044ba20
cmp eax, esi
mov edi, edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], esi
sbb edx, ebx
mov edx, dword [esp + 4]
jb 0x431d24
xor eax, dword [esp + 0xcc]
xor edi, ebx
mov ecx, ebx
or edi, eax
jne 0x4323bc
cmp dword [esp + 0xc8], edx
jae 0x4323bc
lea eax, [esp + 0x50]
mov dword [esp + 0xd8], eax
lea eax, [esp + 8]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x110]
mov dword [esp + 0xe0], eax
call fcn.00413e20
test eax, eax
je 0x431da2
mov esi, dword [eax]
mov edi, eax
mov dword [eax], 0
test esi, esi
je 0x431da2
lea ecx, [esp + 0xd8]
mov edx, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.00432b20
mov ebx, dword [edi]
mov dword [edi], esi
mov esi, dword [sym.imp.kernel32.dll_SwitchToThread]
test ebx, ebx
je 0x431ac3
lock dec dword [ebx]
jne 0x431ac3
mov ecx, ebx
call fcn.00432510
jmp 0x431ac3
call fcn.00453ec0
lea ecx, [esp + 0xd8]
mov edx, eax
mov ebx, eax
call fcn.00432b20
lock dec dword [ebx]
mov esi, dword [sym.imp.kernel32.dll_SwitchToThread]
jne 0x431ac3
jmp 0x431d96
lea esi, [edi + 8]
lea eax, [esp + 0xd8]
mov dword [esp + 0xe0], 0x3b9aca00
mov dword [esp + 0x10], 0x3b9aca00
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0xf0], 0x3b9aca00
mov dword [esp + 0x108], 0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], eax
push esi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x463510]
test eax, 0x7fffffff
jne 0x43236d
mov dword [esp + 4], 0
movzx eax, byte [edi + 0xc]
test al, al
jne 0x432384
lea edx, [edi + 0x28]
lea ecx, [esp + 0x110]
call fcn.00434d20
mov ebx, dword [esp + 0x110]
test ebx, ebx
je 0x431fbe
mov eax, dword [esp + 0x118]
cmp byte [esp + 4], 0
mov dword [esp + 0x108], eax
jne 0x431ea3
mov eax, dword [0x463510]
test eax, 0x7fffffff
jne 0x432455
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x108]
test eax, eax
je 0x432045
mov ecx, dword [ebp + 0xc]
movsd xmm0, qword [ecx + 0x28]
movsd qword [eax + 0x28], xmm0
movsd xmm0, qword [ecx + 0x20]
movsd qword [eax + 0x20], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov byte [eax + 0x30], 1
jmp 0x4320a9
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 8]
lea ecx, [esp + 0xd8]
push dword [ebp + 0xc]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.00432700
add esp, 0xc
movzx eax, byte [esp + 0x104]
mov ecx, 2
cmp al, 7
je 0x431fa8
mov ecx, dword [esp + 0x100]
movsd xmm2, qword [esp + 0xf0]
movsd xmm1, qword [esp + 0xe8]
movsd xmm0, qword [esp + 0xf8]
movzx edx, word [esp + 0x105]
mov dword [esp + 0x44], ecx
movsd qword [esp + 0x34], xmm2
movsd qword [esp + 0x2c], xmm1
movsd xmm2, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
movzx ecx, byte [esp + 0x107]
movsd qword [esp + 0x3c], xmm0
movsd qword [esp + 0x24], xmm1
movsd qword [esp + 0x1c], xmm2
mov byte [esp + 0x48], al
mov byte [esp + 0x4b], cl
mov ecx, 1
mov word [esp + 0x49], dx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x43231b
jmp 0x432415
cmp byte [edi + 0x40], 0
je 0x4320d3
mov eax, dword [ebp + 0xc]
cmp byte [esp + 4], 0
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x34], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0x44], xmm0
movsd qword [esp + 0x2c], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x24], xmm1
mov dword [esp + 0x18], 1
jne 0x432307
mov eax, dword [0x463510]
test eax, 0x7fffffff
je 0x432307
call fcn.00455ca0
test al, al
jne 0x432307
mov byte [edi + 0xc], 1
jmp 0x432307
mov eax, dword [ebp + 0xc]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x98], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
cmp byte [esp + 0xac], 7
jne 0x4324cd
mov dword [esp + 0x18], 2
lock dec dword [ebx]
jne 0x43230e
mov ecx, ebx
call fcn.00432510
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x43231b
jmp 0x432415
mov eax, dword [ebp + 0xc]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x98], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [eax + 8]
lea eax, [esp + 0xd4]
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
mov dword [esp + 0xb0], eax
lea eax, [esp + 8]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xbc], esi
mov byte [esp + 0xc0], al
call fcn.00413e20
test eax, eax
je 0x432425
mov esi, dword [eax]
mov edi, eax
mov dword [eax], 0
test esi, esi
je 0x43246b
lea ecx, [esp + 0x18]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
lea edx, [esp + 0x80]
push esi
call fcn.00434f10
add esp, 4
mov ecx, dword [edi]
mov dword [edi], esi
test ecx, ecx
je 0x4321b5
lock dec dword [ecx]
jne 0x4321b5
call fcn.00432510
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x130], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x128], xmm2
movsd xmm2, qword [esp + 0x18]
mov dword [esp + 0x140], eax
movsd qword [esp + 0x138], xmm0
movsd qword [esp + 0x120], xmm1
movsd xmm1, qword [esp + 0x20]
movsd qword [esp + 0x110], xmm2
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0x11c]
movsd xmm2, qword [esp + 0x124]
mov eax, dword [esp + 0x110]
movsd xmm0, qword [esp + 0x114]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [esp + 0x12c]
movsd qword [esp + 0x60], xmm2
movsd xmm2, qword [esp + 0x134]
cmp eax, 3
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x13c]
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x78], xmm1
je 0x432425
movsd xmm1, qword [esp + 0x70]
movsd xmm2, qword [esp + 0x68]
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [esp + 0x60]
movsd qword [esp + 0x34], xmm2
movsd xmm2, qword [esp + 0x50]
movsd qword [esp + 0x44], xmm0
movsd qword [esp + 0x2c], xmm1
movsd xmm1, qword [esp + 0x58]
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x24], xmm1
mov dword [esp + 0x18], eax
cmp byte [esp + 0xc0], 2
je 0x43230e
lea ecx, [esp + 0x80]
call fcn.0041c9d0
mov esi, dword [esp + 0xbc]
cmp byte [esp + 0xc0], 0
jne 0x432307
mov eax, dword [0x463510]
test eax, 0x7fffffff
jne 0x43249e
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x432415
test eax, eax
je 0x4324b4
mov eax, dword [esp + 0x4c]
movsd xmm1, qword [esp + 0x3c]
movsd xmm2, qword [esp + 0x34]
movsd xmm0, qword [esp + 0x44]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x2c]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esp + 0x1c]
movsd qword [eax + 0x28], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x24]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
jmp 0x43241d
call fcn.00455ca0
xor al, 1
mov dword [esp + 4], eax
movzx eax, byte [edi + 0xc]
test al, al
je 0x431e60
mov eax, dword [esp + 4]
mov dword [esp + 0x80], esi
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
mov byte [esp + 0x84], al
lea eax, [esp + 0x80]
push 0x45bf90
push 0x45c040
push eax
call fcn.00453cb0
add esp, 0xc
ud2
mov eax, dword [ebp + 0xc]
movsd xmm1, qword [eax + 0x20]
movsd xmm2, qword [eax + 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esp + 0x34], xmm2
movsd xmm2, qword [eax]
movsd qword [esp + 0x44], xmm0
movsd qword [esp + 0x2c], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x1c], xmm2
movsd qword [esp + 0x24], xmm1
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 2
jne 0x43231b
mov eax, dword [esp + 0x4c]
mov byte [eax + 0x2c], 7
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00453ec0
mov edi, eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x80]
push eax
call fcn.00434f10
add esp, 4
lock dec dword [edi]
jne 0x4322d0
mov ecx, edi
call fcn.00432510
jmp 0x4322d0
call fcn.00455ca0
test al, al
jne 0x431ea3
mov byte [edi + 0xc], 1
jmp 0x431ea3
call fcn.00453ec0
mov edi, eax
lea ecx, [esp + 0x110]
lea edx, [esp + 0x80]
push eax
call fcn.00434f10
add esp, 4
lock dec dword [edi]
jne 0x43221a
mov ecx, edi
call fcn.00432510
jmp 0x43221a
call fcn.00455ca0
test al, al
jne 0x432307
mov byte [esi + 4], 1
jmp 0x432307
mov ecx, str.internal_error:_entered_unreachable_code_rustc_8ede3aae28fe6e4d52b38157d7bfe0d3bceef225library_alloc_src_vecmod.rs
mov edx, 0x28
push 0x45b898
call fcn.00453a40
add esp, 4
ud2
lea ecx, [esp + 0x80]
call fcn.0041c9d0
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x45bfa0
call fcn.00453a40
add esp, 4
ud2