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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov ebp, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov esi, edx
mov dword [esp + 0x5c], ecx
push 0x2f
pop edi
mov ecx, edx
mov edx, edi
call fcn.00490179
mov ecx, esi
mov edx, edi
call fcn.00490179
mov eax, dword [esi + 8]
mov dword [esp + 0x38], ebx
mov dword [esp + 4], ebx
mov edi, dword [esi + 0x18]
mov dword [esp + 0x10], esi
mov dword [esp + 0x3c], ebp
mov dword [esp], ebp
mov dword [esp + 8], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x14]
mov dword [eax], ebx
mov ebx, dword [esi + 0x1c]
xor esi, esi
mov dword [eax + 4], ebp
lea ecx, [esp + 0x14]
call fcn.004904e8
cmp eax, 0x40
je 0x4924fb
cmp eax, 0x5c
je 0x49252c
cmp eax, 0x23
je 0x492539
cmp eax, 0x2f
je 0x492539
cmp eax, 0x110000
je 0x492539
cmp eax, 0x3f
jne 0x492536
jmp 0x492539
test edi, edi
je 0x492518
xor eax, eax
cmp dword [esp + 8], 0
setne al
lea eax, [eax*8 + 2]
push eax
push edi
call dword [ebx + 0x14]
add esp, 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
jmp 0x492536
cmp byte [esp + 0xb8], 2
jne 0x492539
inc esi
jmp 0x4924d0
cmp dword [esp + 8], 0
mov ebx, dword [esp + 0x54]
je 0x4926c8
test ebp, ebp
je 0x492678
lea edi, [esp + 0x78]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 4], 0
test ebp, ebp
jle 0x49264c
mov ecx, edi
lea edx, [esp + 0x38]
mov esi, edi
call fcn.00494104
mov eax, dword [esp + 0x78]
cmp eax, 0x110000
je 0x492e97
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp eax, 0x3a
jne 0x4925a7
cmp dword [esp + 0x30], 0
je 0x492610
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 4]
cmp byte [esp + 0x34], 0
mov dword [esp], ebp
mov ebp, ebx
mov ebx, dword [esp + 0x10]
mov edx, 1
movzx ecx, cl
cmove ecx, edx
mov edx, dword [ebx + 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [ebx + 0x18]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
call fcn.0049418a
add esp, 0xc
mov eax, dword [esp + 0x58]
mov ecx, ebx
mov ebx, ebp
mov ebp, dword [esp]
mov edx, esi
mov dword [esp + 0x78], edi
mov edi, esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x4eeacc
call fcn.00436da6
dec ebp
jmp 0x49256c
mov eax, dword [esp + 0x10]
mov ecx, ebp
dec ebp
mov edi, esi
cmp ecx, 1
mov ebx, dword [eax + 8]
mov eax, 1
mov dword [esp + 0x30], eax
jbe 0x49256c
mov ecx, dword [esp + 0x10]
push 0x3a
pop edx
call fcn.00490179
mov al, 1
mov dword [esp + 0x34], eax
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x49256c
cmp dword [esp + 0x30], 0
jne 0x49265a
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 4]
and al, 1
or al, byte [esp + 0x34]
je 0x492672
push 0x40
pop edx
mov ecx, dword [esp + 0x10]
call fcn.00490179
mov edx, dword [esp + 8]
jmp 0x4926d3
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea edi, [esp + 0x78]
mov ecx, edi
mov edx, esi
push ebx
call fcn.0049431f
pop eax
mov eax, dword [edi]
lea ecx, [eax - 0x23]
cmp ecx, 0x1c
ja 0x4926b2
mov edx, 0x10001001
bt edx, ecx
jae 0x4926b2
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 4], 0
jmp 0x4926c8
cmp eax, 0x110000
jne 0x492afe
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], esi
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov dword [esp + 0xc], eax
test edx, edx
je 0x492dc3
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x14]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x64], esi
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xb8]
test al, al
movzx eax, al
mov dword [esp + 0x58], eax
je 0x49280b
mov dword [edi], edx
mov dword [edi + 4], esi
sub esi, edx
xor ebp, ebp
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0xc], esi
xor esi, esi
xor ebx, ebx
inc esi
mov ecx, edi
call fcn.00490505
lea ecx, [eax - 9]
cmp ecx, 2
jb 0x492787
cmp eax, 0xd
je 0x492787
cmp eax, 0x3a
je 0x49278f
cmp eax, 0x5b
je 0x492797
cmp eax, 0x5c
je 0x49279f
cmp eax, 0x5d
je 0x4927ac
cmp eax, 0x23
je 0x4927ca
cmp eax, 0x2f
je 0x4927ca
cmp eax, 0x110000
je 0x4927ca
cmp eax, 0x3f
je 0x4927ca
inc ebx
cmp eax, 0x80
jb 0x4927b4
cmp eax, 0x800
jae 0x4927bd
push 2
pop eax
jmp 0x4927b6
mov al, 1
mov dword [esp + 4], eax
jmp 0x4927b4
test byte [esp], 1
jne 0x4927a9
jmp 0x4927ca
mov al, 1
inc ebx
mov dword [esp], eax
jmp 0x4927b4
cmp byte [esp + 0xb8], 2
jne 0x4927ca
inc ebx
jmp 0x4927b4
inc ebx
mov dword [esp], 0
mov eax, esi
add ebp, eax
jmp 0x492735
cmp eax, 0x10000
push 4
pop eax
sbb eax, 0
jmp 0x4927b6
test byte [esp + 4], 1
jne 0x49286f
lea edi, [esp + 0x14]
lea eax, [esp + 0x60]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov ecx, edi
call fcn.00494a41
cmp eax, 0x110000
jne 0x4927e2
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0x4eeb14
push ebp
call fcn.00493930
pop ecx
pop ecx
mov esi, eax
mov edi, edx
jmp 0x492885
mov ecx, edi
push esi
call fcn.004948a1
pop eax
mov bl, byte [edi]
cmp byte [edi + 0xc], 2
je 0x492dc3
movzx eax, bl
lea ebx, [esp + 0x14]
movzx edi, byte [ebx + 3]
movzx ecx, word [ebx + 1]
mov ebp, dword [ebx + 4]
mov esi, dword [ebx + 0x14]
shl ecx, 8
shl edi, 0x18
or edi, ecx
mov ecx, dword [ebx + 0x10]
or edi, eax
mov edx, edi
mov dword [esp], ecx
mov ecx, ebx
push dword [ebx + 8]
call fcn.004905df
pop eax
mov cl, byte [ebx]
cmp cl, 3
jne 0x492a4c
mov bl, byte [esp + 0x15]
mov ecx, edi
mov edx, ebp
call fcn.00418e1f
jmp 0x492dc3
lea edi, [esp + 0x6c]
lea edx, [esp + 0x60]
mov ecx, edi
push ebx
call fcn.0049052f
pop eax
mov esi, dword [edi]
mov edi, dword [edi + 8]
cmp byte [esp + 0xb8], 1
mov dword [esp + 8], esi
je 0x492900
cmp dword [esp + 0x58], 2
jne 0x492908
mov ecx, esi
mov edx, edi
push 0x5b
call fcn.0042fb40
pop ecx
test al, al
je 0x492983
mov ecx, esi
mov edx, edi
push 0x5d
call fcn.0042fba3
pop ecx
mov cl, 3
test al, al
je 0x492b1a
mov eax, edi
mov ecx, esi
mov edx, edi
dec eax
push 0x4ee918
push eax
push 1
call fcn.00490d27
add esp, 0xc
mov edi, edx
lea ebx, [esp + 0x14]
mov edx, eax
mov ecx, ebx
push edi
call fcn.00490d61
pop eax
cmp byte [ebx], 0
je 0x492e3a
mov bl, byte [esp + 0x15]
mov cl, 3
jmp 0x492b1c
test edi, edi
je 0x492abd
lea ebx, [esp + 0x14]
mov edx, esi
mov ecx, ebx
push edi
call fcn.004905df
pop eax
mov cl, byte [ebx]
cmp cl, 3
jne 0x492929
mov bl, byte [esp + 0x15]
mov cl, 3
jmp 0x492b1c
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
movzx eax, word [esp + 0x16]
test byte [esp + 4], 1
mov bl, byte [esp + 0x15]
mov dword [esp + 0xc], edx
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov word [esp + 0x2e], ax
mov dword [esp + 0x50], edx
mov dword [esp + 0x68], esi
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [esp], edx
je 0x492b3d
mov edi, ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 8]
call fcn.00418e1f
mov ecx, edi
jmp 0x492b3d
mov eax, esi
lea ebx, [esp + 0x1c]
mov ebp, 0x3a801
add eax, edi
mov dword [ebx - 8], esi
mov dword [ebx - 4], edi
mov dword [ebx], esi
mov esi, 0x4800013
mov dword [ebx + 4], eax
and dword [ebx + 8], 0
mov ecx, ebx
call fcn.00490254
lea eax, [edx - 0x2f]
cmp eax, 0x11
ja 0x4929bc
bt ebp, eax
jb 0x492a43
lea eax, [edx - 9]
cmp eax, 0x1a
ja 0x4929c9
bt esi, eax
jb 0x492a43
lea eax, [edx - 0x5b]
cmp eax, 4
jb 0x492a43
test edx, edx
je 0x492a43
cmp edx, 0x7c
je 0x492a43
cmp edx, 0x110000
jne 0x4929a4
lea esi, [esp + 0x38]
mov eax, dword [esp + 8]
lea ebx, [esp + 0x14]
mov dword [esi], 1
and dword [esi + 4], 0
and dword [esi + 8], 0
mov dword [ebx], eax
mov dword [ebx + 4], edi
mov dword [ebx + 8], 0x4ee908
mov ecx, ebx
call fcn.00436df6
test eax, eax
je 0x492e6d
push edx
push eax
push esi
call fcn.00490154
add esp, 0xc
test al, al
je 0x492a08
push 0x37
pop edx
mov ecx, str.a_Display_implementation_returned_an_error_unexpectedly_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_string.rs
push 0x4ee604
push 0x4ee640
push ebx
call fcn.0049a6f0
add esp, 0xc
ud2
mov cl, 3
mov bl, 5
jmp 0x492b1c
movsd xmm0, qword [esp + 0x16]
movsd xmm1, qword [esp + 0x1e]
movzx eax, word [esp + 0x26]
mov bl, byte [esp + 0x15]
test cl, cl
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
movsd qword [esp + 0x3a], xmm0
movsd qword [esp + 0x42], xmm1
mov word [esp + 0x4a], ax
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], bl
jne 0x492ac3
lea ecx, [esp + 0x3c]
call fcn.00494a2b
test al, al
je 0x492ac3
lea ecx, [esp + 0x38]
call fcn.004905cb
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
inc eax
mov dword [esp + 0xc], eax
jmp 0x492aed
mov cl, 3
xor ebx, ebx
jmp 0x492b1c
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
movzx eax, word [esp + 0x3a]
mov dword [esp + 0xc], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov word [esp + 0x2e], ax
mov dword [esp + 0x50], edx
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.00418e1f
mov ecx, dword [esp + 4]
jmp 0x492b3d
cmp byte [esp + 0xb8], 2
je 0x4926bd
cmp eax, 0x5c
je 0x4926a3
jmp 0x4926bd
mov bl, 4
test byte [esp + 4], 1
je 0x492b34
mov edi, ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 8]
call fcn.00418e1f
mov ecx, edi
cmp cl, 3
je 0x492dc3
movzx eax, word [esp + 0x2e]
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x4ee92c
mov word [edi + 2], ax
mov eax, dword [esp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x10], eax
xor eax, eax
mov byte [edi], cl
lea ecx, [esp + 0x6c]
mov byte [edi + 1], bl
inc eax
mov dword [ecx], edi
mov dword [ecx + 4], 0x48ff2a
mov dword [esp + 0x18], eax
and dword [esp + 0x24], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00490140
pop ecx
pop edx
movzx ecx, al
mov edx, 0x4eeadc
call fcn.00494796
mov eax, dword [ebx + 8]
cmp byte [edi], 0
mov dword [esp + 4], eax
jne 0x492bf0
cmp dword [esp + 0x44], 0
jne 0x492bf0
mov ecx, dword [esp]
mov edx, esi
push 1
push 0x4ee92a
call fcn.00491a8a
pop ecx
pop edx
xor ebx, ebx
cmp byte [esp + 0xb8], 2
jne 0x492dba
test al, al
jne 0x492dba
mov ecx, dword [esp]
mov edx, esi
push 0x3a
call fcn.00492eac
pop ecx
xor ebp, ebp
test eax, eax
je 0x492cba
mov ecx, dword [esp + 0x10]
mov esi, edx
mov edx, eax
lea edi, [esp + 0x14]
xor ebx, ebx
mov eax, esi
mov cl, byte [ecx + 0x20]
mov byte [esp + 8], cl
mov esi, eax
mov ecx, edi
mov dword [esp], edx
push eax
call fcn.0049431f
pop eax
mov eax, dword [esp + 0x14]
cmp eax, 0x110000
je 0x492c80
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jae 0x492c5e
imul eax, ebp, 0xa
add ecx, eax
cmp ecx, 0xffff
ja 0x492db8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov bl, 1
mov ebp, ecx
jmp 0x492c1e
cmp byte [esp + 8], 0
jne 0x492c80
lea ecx, [eax - 0x23]
cmp ecx, 0x1c
ja 0x492c77
mov edx, 0x10001001
bt edx, ecx
jb 0x492c80
cmp eax, 0x5c
jne 0x492db8
test bl, 1
je 0x492cba
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
push 0x4eeb04
push dword [esp + 0xc0]
call fcn.00493930
pop ecx
pop ecx
mov ecx, eax
call fcn.00491240
test ax, ax
je 0x492de9
cmp dx, bp
jne 0x492de9
xor ebx, ebx
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
lea edi, [esp + 0x80]
lea edx, [esp + 0x14]
mov ecx, edi
mov dword [edx + 0x10], eax
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.0049058d
mov eax, dword [esp + 0x34]
movsd xmm0, qword [edi + 1]
movsd xmm1, qword [edi + 9]
cmp dword [esp + 0x54], eax
mov al, byte [edi]
movsd qword [esp + 0x38], xmm0
movsd qword [esp + 0x40], xmm1
je 0x492d1d
test al, al
jne 0x492d1d
mov eax, dword [esp + 0x5c]
mov byte [eax + 4], 0
jmp 0x492dca
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x10]
mov byte [esp + 0x54], al
mov edx, dword [esp + 0x58]
mov eax, dword [ebx + 8]
mov ecx, ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov byte [eax], 1
push esi
push dword [esp + 4]
push eax
call fcn.004947bc
add esp, 0xc
mov dword [esp], eax
mov eax, edx
push 9
pop ecx
lea edx, [esp + 0x78]
mov esi, ebx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x54]
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x5c]
movsd qword [esp + 0x15], xmm0
movsd qword [esp + 0x1d], xmm1
push eax
push dword [esp + 4]
push dword [esp + 0x14]
push ebp
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0xe0]
push dword [esp + 0x80]
call fcn.004934d8
add esp, 0x2c
jmp 0x492dde
mov bl, 2
lea ecx, [esp + 0x38]
call fcn.004905cb
mov eax, dword [esp + 0x5c]
mov byte [eax + 4], bl
mov edx, dword [esp + 0x10]
mov dword [eax], 2
mov ecx, dword [edx]
mov edx, dword [edx + 4]
call fcn.00418e1f
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov dword [esp + 0x14], 0x4eeaec
lea eax, [esp + 0x60]
inc ebx
mov dword [esp + 0x6c], eax
mov word [eax], bp
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], fcn.00415750
mov dword [esp + 0x18], ebx
and dword [esp + 0x24], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
push edi
push dword [esp + 0x14]
call fcn.00490140
pop ecx
pop edx
movzx ecx, al
mov edx, 0x4eeaf4
call fcn.00494796
jmp 0x492cbc
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movzx eax, word [esp + 0x16]
mov bl, byte [esp + 0x15]
mov dword [esp + 0xc], edx
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov word [esp + 0x2e], ax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x50], edx
mov cl, 2
jmp 0x492e87
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
mov dword [esp], eax
jmp 0x492b1c
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__value
push 0x4eeabc
call fcn.0049a440
pop eax
ud2