Function at 0x492926
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.00490635
mov ecx, esi
mov edx, edi
call fcn.00490635
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.004909a4
cmp eax, 0x40
je 0x4929b7
cmp eax, 0x5c
je 0x4929e8
cmp eax, 0x23
je 0x4929f5
cmp eax, 0x2f
je 0x4929f5
cmp eax, 0x110000
je 0x4929f5
cmp eax, 0x3f
jne 0x4929f2
jmp 0x4929f5
test edi, edi
je 0x4929d4
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 0x4929f2
cmp byte [esp + 0xb8], 2
jne 0x4929f5
inc esi
jmp 0x49298c
cmp dword [esp + 8], 0
mov ebx, dword [esp + 0x54]
je 0x492b84
test ebp, ebp
je 0x492b34
lea edi, [esp + 0x78]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 4], 0
test ebp, ebp
jle 0x492b08
mov ecx, edi
lea edx, [esp + 0x38]
mov esi, edi
call fcn.004945c0
mov eax, dword [esp + 0x78]
cmp eax, 0x110000
je 0x493353
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
cmp eax, 0x3a
jne 0x492a63
cmp dword [esp + 0x30], 0
je 0x492acc
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.00494646
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], 0x4f9c2c
call fcn.00437296
dec ebp
jmp 0x492a28
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 0x492a28
mov ecx, dword [esp + 0x10]
push 0x3a
pop edx
call fcn.00490635
mov al, 1
mov dword [esp + 0x34], eax
xor eax, eax
inc eax
mov dword [esp + 0x30], eax
jmp 0x492a28
cmp dword [esp + 0x30], 0
jne 0x492b16
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
mov eax, dword [esp + 4]
and al, 1
or al, byte [esp + 0x34]
je 0x492b2e
push 0x40
pop edx
mov ecx, dword [esp + 0x10]
call fcn.00490635
mov edx, dword [esp + 8]
jmp 0x492b8f
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
lea edi, [esp + 0x78]
mov ecx, edi
mov edx, esi
push ebx
call fcn.004947db
pop eax
mov eax, dword [edi]
lea ecx, [eax - 0x23]
cmp ecx, 0x1c
ja 0x492b6e
mov edx, 0x10001001
bt edx, ecx
jae 0x492b6e
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 4], 0
jmp 0x492b84
cmp eax, 0x110000
jne 0x492fba
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 0x49327f
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 0x492cc7
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.004909c1
lea ecx, [eax - 9]
cmp ecx, 2
jb 0x492c43
cmp eax, 0xd
je 0x492c43
cmp eax, 0x3a
je 0x492c4b
cmp eax, 0x5b
je 0x492c53
cmp eax, 0x5c
je 0x492c5b
cmp eax, 0x5d
je 0x492c68
cmp eax, 0x23
je 0x492c86
cmp eax, 0x2f
je 0x492c86
cmp eax, 0x110000
je 0x492c86
cmp eax, 0x3f
je 0x492c86
inc ebx
cmp eax, 0x80
jb 0x492c70
cmp eax, 0x800
jae 0x492c79
push 2
pop eax
jmp 0x492c72
mov al, 1
mov dword [esp + 4], eax
jmp 0x492c70
test byte [esp], 1
jne 0x492c65
jmp 0x492c86
mov al, 1
inc ebx
mov dword [esp], eax
jmp 0x492c70
cmp byte [esp + 0xb8], 2
jne 0x492c86
inc ebx
jmp 0x492c70
inc ebx
mov dword [esp], 0
mov eax, esi
add ebp, eax
jmp 0x492bf1
cmp eax, 0x10000
push 4
pop eax
sbb eax, 0
jmp 0x492c72
test byte [esp + 4], 1
jne 0x492d2b
lea edi, [esp + 0x14]
lea eax, [esp + 0x60]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov ecx, edi
call fcn.00494efd
cmp eax, 0x110000
jne 0x492c9e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push 0x4f9c74
push ebp
call fcn.00493dec
pop ecx
pop ecx
mov esi, eax
mov edi, edx
jmp 0x492d41
mov ecx, edi
push esi
call fcn.00494d5d
pop eax
mov bl, byte [edi]
cmp byte [edi + 0xc], 2
je 0x49327f
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.00490a9b
pop eax
mov cl, byte [ebx]
cmp cl, 3
jne 0x492f08
mov bl, byte [esp + 0x15]
mov ecx, edi
mov edx, ebp
call fcn.0041930f
jmp 0x49327f
lea edi, [esp + 0x6c]
lea edx, [esp + 0x60]
mov ecx, edi
push ebx
call fcn.004909eb
pop eax
mov esi, dword [edi]
mov edi, dword [edi + 8]
cmp byte [esp + 0xb8], 1
mov dword [esp + 8], esi
je 0x492dbc
cmp dword [esp + 0x58], 2
jne 0x492dc4
mov ecx, esi
mov edx, edi
push 0x5b
call fcn.0043002f
pop ecx
test al, al
je 0x492e3f
mov ecx, esi
mov edx, edi
push 0x5d
call fcn.00430092
pop ecx
mov cl, 3
test al, al
je 0x492fd6
mov eax, edi
mov ecx, esi
mov edx, edi
dec eax
push 0x4f9a78
push eax
push 1
call fcn.004911e3
add esp, 0xc
mov edi, edx
lea ebx, [esp + 0x14]
mov edx, eax
mov ecx, ebx
push edi
call fcn.0049121d
pop eax
cmp byte [ebx], 0
je 0x4932f6
mov bl, byte [esp + 0x15]
mov cl, 3
jmp 0x492fd8
test edi, edi
je 0x492f79
lea ebx, [esp + 0x14]
mov edx, esi
mov ecx, ebx
push edi
call fcn.00490a9b
pop eax
mov cl, byte [ebx]
cmp cl, 3
jne 0x492de5
mov bl, byte [esp + 0x15]
mov cl, 3
jmp 0x492fd8
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 0x492ff9
mov edi, ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 8]
call fcn.0041930f
mov ecx, edi
jmp 0x492ff9
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.00490710
lea eax, [edx - 0x2f]
cmp eax, 0x11
ja 0x492e78
bt ebp, eax
jb 0x492eff
lea eax, [edx - 9]
cmp eax, 0x1a
ja 0x492e85
bt esi, eax
jb 0x492eff
lea eax, [edx - 0x5b]
cmp eax, 4
jb 0x492eff
test edx, edx
je 0x492eff
cmp edx, 0x7c
je 0x492eff
cmp edx, 0x110000
jne 0x492e60
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], 0x4f9a68
mov ecx, ebx
call fcn.004372e6
test eax, eax
je 0x493329
push edx
push eax
push esi
call fcn.00490610
add esp, 0xc
test al, al
je 0x492ec4
push 0x37
pop edx
mov ecx, str.a_Display_implementation_returned_an_error_unexpectedly_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_string.rs
push 0x4f9764
push 0x4f97a0
push ebx
call fcn.004a55f0
add esp, 0xc
ud2
mov cl, 3
mov bl, 5
jmp 0x492fd8
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 0x492f7f
lea ecx, [esp + 0x3c]
call fcn.00494ee7
test al, al
je 0x492f7f
lea ecx, [esp + 0x38]
call fcn.00490a87
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 0x492fa9
mov cl, 3
xor ebx, ebx
jmp 0x492fd8
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.0041930f
mov ecx, dword [esp + 4]
jmp 0x492ff9
cmp byte [esp + 0xb8], 2
je 0x492b79
cmp eax, 0x5c
je 0x492b5f
jmp 0x492b79
mov bl, 4
test byte [esp + 4], 1
je 0x492ff0
mov edi, ecx
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 8]
call fcn.0041930f
mov ecx, edi
cmp cl, 3
je 0x49327f
movzx eax, word [esp + 0x2e]
lea edi, [esp + 0x38]
mov dword [esp + 0x14], 0x4f9a8c
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], 0x4903e6
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.004905fc
pop ecx
pop edx
movzx ecx, al
mov edx, 0x4f9c3c
call fcn.00494c52
mov eax, dword [ebx + 8]
cmp byte [edi], 0
mov dword [esp + 4], eax
jne 0x4930ac
cmp dword [esp + 0x44], 0
jne 0x4930ac
mov ecx, dword [esp]
mov edx, esi
push 1
push 0x4f9a8a
call fcn.00491f46
pop ecx
pop edx
xor ebx, ebx
cmp byte [esp + 0xb8], 2
jne 0x493276
test al, al
jne 0x493276
mov ecx, dword [esp]
mov edx, esi
push 0x3a
call fcn.00493368
pop ecx
xor ebp, ebp
test eax, eax
je 0x493176
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.004947db
pop eax
mov eax, dword [esp + 0x14]
cmp eax, 0x110000
je 0x49313c
lea ecx, [eax - 0x30]
cmp ecx, 0xa
jae 0x49311a
imul eax, ebp, 0xa
add ecx, eax
cmp ecx, 0xffff
ja 0x493274
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov bl, 1
mov ebp, ecx
jmp 0x4930da
cmp byte [esp + 8], 0
jne 0x49313c
lea ecx, [eax - 0x23]
cmp ecx, 0x1c
ja 0x493133
mov edx, 0x10001001
bt edx, ecx
jb 0x49313c
cmp eax, 0x5c
jne 0x493274
test bl, 1
je 0x493176
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
push 0x4f9c64
push dword [esp + 0xc0]
call fcn.00493dec
pop ecx
pop ecx
mov ecx, eax
call fcn.004916fc
test ax, ax
je 0x4932a5
cmp dx, bp
jne 0x4932a5
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.00490a49
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 0x4931d9
test al, al
jne 0x4931d9
mov eax, dword [esp + 0x5c]
mov byte [eax + 4], 0
jmp 0x493286
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.00494c78
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.00493994
add esp, 0x2c
jmp 0x49329a
mov bl, 2
lea ecx, [esp + 0x38]
call fcn.00490a87
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.0041930f
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov dword [esp + 0x14], 0x4f9c4c
lea eax, [esp + 0x60]
inc ebx
mov dword [esp + 0x6c], eax
mov word [eax], bp
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], fcn.00415c40
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.004905fc
pop ecx
pop edx
movzx ecx, al
mov edx, 0x4f9c54
call fcn.00494c52
jmp 0x493178
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 0x493343
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 0x492fd8
push 0x2b
pop edx
mov ecx, str.called__Option::unwrap____on_a__None__value
push 0x4f9c1c
call fcn.004a5340
pop eax
ud2