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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x580
mov esi, esp
mov dword [esi + 0x558], ebp
mov dword [esi + 0x55c], esp
mov dword [esi + 0x568], 0xffffffff
mov dword [esi + 0x564], 0x702fb0
mov ebx, ecx
lea eax, [esi + 0x560]
mov ecx, dword fs:[0]
mov dword [esi + 0x560], ecx
mov dword fs:[0], eax
xor ecx, ecx
mov eax, dword [0x919aa8]
cmp eax, 3
mov eax, 0xff
setne cl
cmovbe eax, ecx
cmp al, 0xff
je 0x45d490
movzx eax, al
test eax, eax
jne 0x45d540
lea eax, [ebx + 0x34]
mov ecx, str.not_implementedC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinit_0.28.6_srcplatform_implwindowsdrop_handler.rs
lea edx, [esi + 0x378]
mov dword [esi + 0x378], eax
mov dword [esi + 0x37c], 0x42bb50
mov eax, dword [0x91975c]
mov dword [esi + 0x6c], 0x737fc8
mov dword [esi + 0x70], 2
mov dword [esi + 0x74], edx
lea edx, [esi + 0x40]
mov dword [esi + 0x78], 1
mov dword [esi + 0x7c], 0
mov dword [esi + 0x60], 3
mov dword [esi + 0x64], str.dex_protect_osc_rs::appPanic_in_OSC_Thread:
mov dword [esi + 0x68], 0x17
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 0x17
mov dword [esi + 0x4c], str.dex_protect_osc_rs::appPanic_in_OSC_Thread:
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0xa
mov dword [esi + 0x58], str.src_app.rs
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], 0x9a
cmp eax, 2
mov eax, 0x8b82b8
cmove eax, dword [0x9192e0]
cmove ecx, dword [str.not_implementedC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinit_0.28.6_srcplatform_implwindowsdrop_handler.rs]
push edx
push ecx
call dword [eax + 0x14]
add esp, 8
mov eax, dword [ebx + 0x28]
movss xmm0, dword [ebx + 0x30]
movzx ecx, byte [ebx + 0x45]
mov edi, dword [ebx + 0x20]
test eax, eax
mov dword [esi + 4], eax
movaps xmmword [esi + 0x20], xmm0
mov byte [esi + 0x14], cl
je 0x45d5a1
js 0x45db20
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x45d582
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x45d592
mov dword [0x919820], eax
push dword [esi + 4]
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
jne 0x45d5a6
mov edx, dword [esi + 4]
mov ecx, 1
call fcn.00709d20
ud2
mov eax, 1
push dword [esi + 4]
push edi
mov dword [esi + 0x18], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [ebx + 0x2c]
mov edi, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x14]
mov dword [esi + 0x568], 0
lea ecx, [esi + 0x40]
mov byte [esi + 0x12], al
push edi
mov dword [esi + 0xc], ebx
call fcn.0045a300
add esp, 4
mov ecx, dword [esi + 0xc]
mov edx, dword [0x919424]
movzx eax, byte [ecx + 0x44]
movsd xmm0, qword [ecx + 0x34]
movsd xmm1, qword [ecx + 0x3c]
mov byte [esi + 0x1c8], al
movzx eax, word [esi + 0x378]
movsd qword [esi + 0x1b8], xmm0
movsd qword [esi + 0x1c0], xmm1
movsd xmm0, qword [esi + 0x40]
mov word [esi + 0x1b1], ax
movzx eax, byte [esi + 0x37a]
mov byte [esi + 0x1b3], al
mov eax, dword [esi + 0x48]
movsd qword [esi + 0x198], xmm0
mov dword [esi + 0x1a0], eax
mov eax, dword [0x919420]
nop
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x919420]
jne 0x45d640
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x18]
movaps xmm0, xmmword [esi + 0x20]
mov dword [esi + 0x3c], edx
mov byte [esi + 3], 1
mov dword [esi + 0x568], 1
mov dword [esi + 0x1a4], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1ac], eax
movzx eax, byte [esi + 0x12]
mov byte [esi + 0x1b0], al
movzx eax, byte [esi + 0x14]
movss dword [esi + 0x1b4], xmm0
mov byte [esi + 0x1c9], al
lea eax, [esi + 0x38]
mov byte [esi + 0x1cc], 0
mov dword [esi + 0x284], eax
call fcn.0044c130
mov ebx, eax
test eax, eax
je 0x45da43
lea eax, [esi + 0x198]
lea ecx, [esi + 0x468]
push 0xf0
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx]
cmp eax, 0x7ffffffe
mov dword [esi + 0x18], eax
ja 0x45da5c
inc eax
mov dword [ebx], eax
lea eax, [esi + 0x378]
mov edi, dword [ebx + 4]
push 0xf0
lea ecx, [esi + 0x468]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp edi, 2
mov dword [esi + 0x20], ebx
je 0x45da8b
mov eax, dword [esi + 0x464]
mov ecx, ebx
add ecx, 8
test edi, edi
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
je 0x45d8b8
mov edi, dword [ecx]
lea ecx, [esi + 0x28c]
push 0xec
lea eax, [esi + 0x468]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lock inc dword [edi]
jle 0x45db01
mov eax, dword [esi + 4]
mov dword [esi + 0x40], 0xcc
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x73897c
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x58], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
lea eax, [esi + 0x6c]
mov dword [esi + 0x68], 0
push 0xec
lea ecx, [esi + 0x28c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x45d7ea
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x45db05
mov dword [0x919820], eax
push 0x180
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x45db05
mov ecx, dword [esi + 0x14]
mov ebx, eax
and ebx, 0xffffffc0
mov dword [ebx + 0x3c], eax
add ebx, 0x40
lea edi, [ecx + 0x98]
push 0x140
lea eax, [esi + 0x40]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x40], ebx
mov dword [esi + 0x568], 8
mov ecx, edi
mov edx, ebx
mov dword [esi + 4], ebx
push ebx
call fcn.00459e30
add esp, 4
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
test eax, eax
mov dword [esi + 0x1c], ecx
je 0x45d9e4
mov ecx, dword [esi + 0x14]
mov byte [esi + 0x13], 0
mov byte [esi + 0xb], 1
mov dword [esi + 0x568], 7
add ecx, 8
mov dword [esi + 0x28c], ecx
mov dword [esi + 0x290], eax
lea eax, [esi + 0x13]
mov dword [esi + 0x294], eax
call fcn.006d1060
test eax, eax
je 0x45db42
mov ecx, dword [esi + 0x294]
movsd xmm0, qword [esi + 0x28c]
lea edx, [esi + 0x40]
mov dword [esi + 0x48], ecx
movsd qword [esi + 0x40], xmm0
mov ecx, dword [eax + 0x28]
mov byte [esi + 0xb], 0
call fcn.006d1a30
jmp 0x45d9e1
mov edi, dword [ecx]
mov dword [esi + 0x14], ecx
lea ecx, [esi + 0x28c]
push 0xec
lea eax, [esi + 0x468]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lock inc dword [edi]
jle 0x45db01
mov eax, dword [esi + 4]
mov dword [esi + 0x40], 0xcc
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0x738954
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
lea eax, [esi + 0x6c]
mov dword [esi + 0x68], 0
push 0xec
lea ecx, [esi + 0x28c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0
mov dword [esi + 0x160], 0
movzx eax, byte [0x919aa5]
mov eax, dword [0x919820]
test eax, eax
jne 0x45d970
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x45db27
mov dword [0x919820], eax
push 0x180
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x45db27
mov ebx, eax
add edi, 8
and ebx, 0xffffffc0
mov dword [ebx + 0x3c], eax
add ebx, 0x40
push 0x140
lea eax, [esi + 0x40]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi + 0x40], ebx
mov dword [esi + 0x568], 0xa
mov ecx, edi
mov edx, ebx
mov dword [esi + 4], ebx
push ebx
call fcn.00459e30
add esp, 4
mov ecx, dword [esi + 4]
test eax, eax
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 0x14]
je 0x45d9e1
mov edx, eax
mov dword [esi + 0x568], 9
call fcn.006c9600
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x20]
dec dword [eax]
mov ecx, dword [edx + 0x88]
test ecx, ecx
je 0x45da22
mov edx, 0x84
mov eax, 0xcc
lock cmpxchg dword [ecx], edx
je 0x45da22
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x88]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x568], 0xb
push eax
call ecx
add esp, 4
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x88], eax
mov ecx, dword [esi + 0x560]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x198]
mov dword [esi + 0x568], 0xffffffff
call fcn.0045c210
mov al, 1
jmp 0x45daa7
mov dword [esi + 0x568], 2
mov ecx, str.already_mutably_borrowedF
mov edx, 0x18
push 0x8cce4c
push 0x737ee4
lea eax, [esi + 0x40]
push eax
call fcn.0070a360
add esp, 0xc
jmp 0x45db77
lea ecx, [esi + 0x378]
mov dword [esi + 0x568], 3
call fcn.0045c210
mov eax, dword [esi + 0x20]
dec dword [eax]
xor eax, eax
lea edx, [esi + 0x468]
lea ecx, [esi + 0x378]
mov dword [esi + 0x40], 0x8f6524
mov dword [esi + 0x44], 1
mov dword [esi + 0x50], 0
mov byte [esi + 0x468], al
mov dword [esi + 0x568], 0xffffffff
mov dword [esi + 0x378], edx
mov dword [esi + 0x48], ecx
lea ecx, [esi + 0x40]
mov edx, 0x737fd8
mov dword [esi + 0x37c], 0x6d3d60
mov dword [esi + 0x4c], 1
call fcn.00709f70
ud2
ud2
mov ecx, 0x40
mov edx, 0x140
mov dword [esi + 0x568], 4
call fcn.00709d20
jmp 0x45db77
call fcn.00425040
ud2
mov ecx, 0x40
mov edx, 0x140
mov dword [esi + 0x568], 5
call fcn.00709d20
jmp 0x45db77
lea ecx, [esi + 0x290]
mov dword [esi + 0x568], 6
call fcn.006cdec0
mov ecx, 0x8f7944
mov edx, 0x46
push 0x8f79dc
push 0x8cbedc
lea eax, [esi + 0x40]
push eax
call fcn.0070a360
add esp, 0xc
ud2