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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x578f50
lea eax, [esi + 0x88]
mov edi, dword fs:[0]
mov dword [esi + 0x88], edi
mov dword fs:[0], eax
xor eax, eax
mov edi, dword [ebp + 8]
movzx ebx, byte [edx + 0xd]
mov dword [esi + 0x7c], edi
cmp bl, 3
cmovne eax, ebx
mov ebx, dword [ebp + 0x14]
cmp al, 1
je 0x4cb6af
movzx eax, al
cmp eax, 2
je 0x4cb6b5
mov ebx, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
test ebx, ebx
je 0x4cb6c3
test edx, edx
js 0x4cbc4b
lea eax, [edx - 0x7ffffff5]
cmp eax, 0x80000002
jbe 0x4cbc68
lea edi, [edx + 0xb]
and edi, 0xfffffffc
je 0x4cb6cc
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
mov edx, dword [ebp + 0x10]
test eax, eax
jne 0x4cb6d1
mov ecx, 4
mov edx, edi
call fcn.0057f230
cmp dword [ebp + 8], 0
je 0x4cb65b
push ebx
call fcn.004cbe10
add esp, 4
jmp 0x4cbb87
mov dword [esi + 8], 0
jmp 0x4cb6f2
mov eax, 4
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [esi + 8], eax
add eax, 8
push edx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 4]
mov edx, dword [ebp + 8]
cmp dword [ebx + 0x20], 0
jne 0x4cbc0b
mov dword [ebx + 0x20], 0xffffffff
cmp dword [ebx + 0x24], 0
je 0x4cbc24
lea eax, [ebx + 0x24]
cmp edx, 0x7ffffffe
mov dword [esi + 0x20], eax
ja 0x4cb84d
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x54]
mov dword [esi + 0x34], eax
sub eax, edx
jb 0x4cb7c2
lea ecx, [ebx + 0x4c]
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
nop word cs:[eax + eax]
nop dword [eax]
cmp ebx, eax
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 4
mov dword [esi + 0x2c], 0
mov dword [esi + 0x18], ebx
adc edi, 0
cmp edx, dword [ecx]
mov dword [esi + 0x1c], edi
jne 0x4cb790
mov dword [esi + 0x90], 3
call fcn.00418db0
mov ebx, dword [esi + 4]
mov edx, dword [ebx + 0x54]
jmp 0x4cb793
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x50]
mov edi, dword [esi + 0x2c]
lea ecx, [edx + edx*2]
inc edx
mov dword [eax + ecx*4 + 8], edi
movsd xmm0, qword [esi + 0x24]
movsd qword [eax + ecx*4], xmm0
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x54], edx
cmp dword [esi + 0x18], eax
jae 0x4cb7c2
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
cmp edi, eax
mov ebx, edi
jbe 0x4cb750
mov ecx, dword [esi + 0x34]
cmp ecx, edx
jae 0x4cbbeb
mov eax, dword [esi + 4]
lea edx, [ecx + ecx*2]
mov ebx, dword [eax + 0x50]
mov eax, dword [ebp + 8]
mov edi, dword [ebx + edx*4 + 8]
sub eax, edi
mov dword [esi + 0x78], edi
mov edi, ecx
mov dword [esi + 0x1c], eax
mov al, 1
jb 0x4cb8af
mov eax, ebx
lea ebx, [ebx + edx*4 + 8]
lea ecx, [eax + edx*4]
mov edx, dword [esi + 0x78]
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ecx
jmp 0x4cb82c
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x34]
mov ecx, dword [esi + 0x14]
mov edx, dword [ebx]
mov eax, dword [ecx + 4]
mov dword [eax + edx*8], 0
mov eax, dword [esi + 0x18]
inc edx
mov dword [ebx], edx
inc eax
cmp eax, dword [esi + 0x1c]
jae 0x4cb872
cmp edx, dword [ecx]
mov dword [esi + 0x18], eax
jne 0x4cb81b
mov byte [esi + 3], 1
mov dword [esi + 0x90], 1
call fcn.00418c70
jmp 0x4cb810
mov eax, dword [esi + 8]
mov dword [esi + 0x38], 0x28
mov dword [esi + 0x3c], edx
test eax, eax
je 0x4cbac9
lock dec dword [eax]
mov edx, eax
je 0x4cb8ff
jmp 0x4cb90c
cmp edx, dword [ecx]
jne 0x4cb88d
mov dword [esi + 0x90], 2
call fcn.00418c70
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x34]
mov edx, dword [ebx]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 4]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + edx*8 + 4], ecx
inc edx
xor eax, eax
mov dword [ebx], edx
mov dword [esi + 0x90], 1
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x20]
mov byte [esi + 3], al
lea eax, [esi + 0x24]
mov dword [esi + 0x28], edi
mov dword [esi + 0x90], 1
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], 0
mov dword [esi + 0x24], 4
lea ecx, [esi + 0x38]
push eax
call fcn.004c8260
add esp, 4
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 4]
mov eax, dword [ebp + 8]
test edx, edx
je 0x4cb90c
cmp eax, dword [esi + 0x78]
jae 0x4cb90c
lock dec dword [edx]
jne 0x4cb90c
mov ecx, edx
mov edx, dword [ebp + 0x10]
call fcn.004c2b10
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x38]
inc dword [ebx + 0x20]
cmp eax, 0x2a
jne 0x4cba6e
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x90], 0xffffffff
lea ecx, [esi + 0x38]
mov edx, ebx
push dword [ebp + 0x14]
call fcn.004cbe10
add esp, 4
mov eax, dword [esi + 0x38]
cmp eax, 0x2a
jne 0x4cba73
cmp dword [ebx + 0x20], 0
mov ecx, dword [ebp + 8]
jne 0x4cbc85
mov edx, dword [esi + 0x3c]
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x20], 0xffffffff
cmp dword [ebx + 0x24], 0
je 0x4cbc8f
cmp ecx, 0x7ffffffe
ja 0x4cbb22
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x1c], edx
mov edx, dword [esi + 0x20]
mov dword [esi + 0x18], edi
mov dword [esi + 0x90], 4
mov dword [esi + 0x28], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], 0
mov dword [esi + 0x24], 5
lea ecx, [esi + 0x38]
push eax
call fcn.004c8260
add esp, 4
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x20]
inc ecx
cmp eax, 0x2a
mov dword [edi + 0x20], ecx
jne 0x4cbb33
test ecx, ecx
jne 0x4cbcb2
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], 0xffffffff
mov dword [esi + 0x90], 5
lea ecx, [esi + 0x38]
mov dword [esi + 0x10], eax
push dword [esi + 0x1c]
push dword [esi + 0x18]
call fcn.004c8690
add esp, 8
mov edi, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi + 0x20]
inc ecx
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 0x38]
cmp eax, 0x2a
jne 0x4cbb9b
test ecx, ecx
jne 0x4cbcb2
mov edx, dword [esi + 0x20]
mov dword [edi + 0x20], 0xffffffff
mov dword [esi + 0x90], 6
lea ecx, [esi + 0x38]
push dword [esi + 0x10]
push dword [esi + 0x14]
call fcn.004c8690
add esp, 8
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
inc dword [eax + 0x20]
mov eax, dword [esi + 0x38]
cmp eax, 0x2a
jne 0x4cbb9b
mov eax, dword [esi + 0x10]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx], 0x2a
jmp 0x4cbb87
mov edx, dword [esi + 0x3c]
jmp 0x4cbad5
mov edx, dword [esi + 0xc]
movsd xmm1, qword [esi + 0x64]
movsd xmm2, qword [esi + 0x5c]
mov ecx, dword [esi + 0x74]
movsd xmm0, qword [esi + 0x6c]
movsd qword [edx + 0x2c], xmm1
movsd xmm1, qword [esi + 0x54]
movsd qword [edx + 0x24], xmm2
movsd xmm2, qword [esi + 0x44]
mov dword [edx + 0x3c], ecx
movsd qword [edx + 0x34], xmm0
movsd qword [edx + 0x1c], xmm1
movsd xmm1, qword [esi + 0x4c]
movsd qword [edx + 0xc], xmm2
movsd qword [edx + 0x14], xmm1
movsd xmm1, qword [esi + 0x3c]
mov dword [edx], eax
movsd qword [edx + 4], xmm1
jmp 0x4cbb87
mov eax, 0x28
mov dword [ebx + 0x20], 0
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x60]
movsd xmm0, qword [esi + 0x70]
movsd qword [ecx + 0x30], xmm2
movsd qword [ecx + 0x28], xmm1
movsd xmm2, qword [esi + 0x58]
movsd xmm1, qword [esi + 0x50]
movsd qword [ecx + 0x38], xmm0
movsd qword [ecx + 0x20], xmm2
movsd qword [ecx + 0x18], xmm1
movsd xmm2, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 8], xmm2
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4cbb87
mov edx, dword [esi + 0xc]
mov eax, 0x28
mov dword [ebx + 0x20], 0
jmp 0x4cbb39
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x7c], ecx
movsd xmm2, qword [esi + 0x68]
movsd xmm1, qword [esi + 0x60]
movsd xmm0, qword [esi + 0x70]
mov ecx, dword [esi + 0x7c]
movsd qword [edx + 0x30], xmm2
movsd qword [edx + 0x28], xmm1
movsd xmm2, qword [esi + 0x58]
movsd xmm1, qword [esi + 0x50]
movsd qword [edx + 0x38], xmm0
movsd qword [edx + 0x20], xmm2
movsd qword [edx + 0x18], xmm1
movsd xmm2, qword [esi + 0x40]
movsd xmm1, qword [esi + 0x48]
movsd qword [edx + 0x10], xmm1
movsd qword [edx + 8], xmm2
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [esi + 0x88]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x74]
movsd xmm0, qword [esi + 0x6c]
movsd xmm2, qword [esi + 0x64]
movsd xmm1, qword [esi + 0x5c]
mov dword [edx + 0x3c], ecx
movsd qword [edx + 0x34], xmm0
movsd qword [edx + 0x2c], xmm2
movsd qword [edx + 0x24], xmm1
movsd xmm2, qword [esi + 0x54]
movsd xmm1, qword [esi + 0x4c]
movsd qword [edx + 0x1c], xmm2
movsd qword [edx + 0x14], xmm1
movsd xmm1, qword [esi + 0x44]
movsd xmm2, qword [esi + 0x3c]
movsd qword [edx + 0xc], xmm1
movsd qword [edx + 4], xmm2
mov dword [edx], eax
jmp 0x4cbb87
mov byte [esi + 3], 1
mov dword [esi + 0x90], 1
push 0x59cfe4
call fcn.0057f710
add esp, 4
jmp 0x4cbcb0
mov ecx, 0x59d21c
mov dword [esi + 0x90], 0
call fcn.0057f9f0
jmp 0x4cbcb0
mov byte [esi + 3], 1
mov dword [esi + 0x90], 1
mov ecx, str.must_call_start_pattern_first
mov edx, 0x1f
push 0x59cfd4
call fcn.0057fb30
add esp, 4
jmp 0x4cbcb0
lea eax, [esi + 0x24]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x59ab84
push 0x59aa6c
push eax
call fcn.0057fa90
lea eax, [esi + 0x24]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x58d044
push 0x58cf24
push eax
call fcn.0057fa90
mov ecx, 0x59d22c
call fcn.0057f9f0
mov dword [esi + 0x90], 4
mov ecx, str.must_call_start_pattern_first
mov edx, 0x1f
push 0x59cfd4
call fcn.0057fb30
add esp, 4
ud2
mov ecx, 0x59d18c
mov dword [esi + 0x90], 0xffffffff
call fcn.0057f9f0
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x94]
mov ebp, dword [esi + 0x80]
cmp dword [esi + 8], 0
je 0x4cbcf9
mov eax, dword [esi + 8]
lock dec dword [eax]
jne 0x4cbcf9
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x10]
call fcn.004c2b10
add esp, 0xc
pop ebp
ret