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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov edi, edx
mov esi, ecx
mov edx, dword [ebp + 8]
movzx ecx, byte [edi + 0x138]
cmp cl, 0x4c
jne 0x52229c
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x5220fd
mov ecx, dword [edi + 0xe0]
lea eax, [edi + 0xa8]
test ecx, ecx
mov dword [esp + 0x6c], ecx
je 0x522113
mov ecx, dword [edi + 0xe4]
mov dword [esp + 0x60], ecx
jmp 0x522113
mov byte [edi + 0x138], 0x4b
mov dword [edi + 0x13c], 0
jmp 0x5222fa
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc0]
mov ebx, dword [edi + 0xc4]
mov dword [esp + 0x68], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x64], ecx
mov ecx, dword [edi + 0xf0]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], eax
lea edx, [esp + 0x70]
add ecx, 8
mov dword [esp + 0x7c], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x80], 0
mov dword [esp + 0x9c], 0
mov ebx, dword [ecx]
lea ecx, [esp + 0x18]
call fcn.0051a8a0
movzx ecx, byte [esp + 0x18]
movzx eax, byte [esp + 0x19]
mov dword [esp + 0x34], ebx
cmp cl, 0x4b
jne 0x522205
test al, al
je 0x52233f
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x80]
test eax, eax
cmove edx, eax
je 0x522542
cmp word [edi + 0xca], 5
lea ebx, [esp + 0x40]
jae 0x52236b
lea ecx, [esp + 0x38]
push 0x2130
call fcn.0051b6b0
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, eax
xor edx, 0x2f
or edx, ecx
je 0x52238a
mov edx, eax
xor edx, 0x2e
or edx, ecx
jne 0x5223d1
mov al, 0x2e
mov dword [esp + 4], 0
xor ebx, ebx
mov dword [esp], 0
xor edx, edx
jmp 0x52242a
mov dword [esp + 4], eax
movzx eax, word [esp + 0x1e]
mov dword [esp + 0x30], ecx
mov ebx, dword [esp + 0x1a]
xor ecx, ecx
mov edx, 1
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
or edx, ecx
je 0x522434
mov ecx, dword [esp]
shld ecx, ebx, 0x10
cmp al, 0x4b
mov dword [esp], ecx
je 0x5224b7
movzx edx, byte [esp + 4]
shl ebx, 8
or edx, ebx
movzx ecx, byte [edi + 0x138]
cmp cl, 0x4c
jne 0x522299
mov ecx, dword [esp]
mov byte [edi + 0x138], al
mov word [edi + 0x139], dx
shr edx, 0x10
mov byte [edi + 0x13b], dl
mov edx, dword [esp + 8]
mov dword [edi + 0x13c], ecx
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x140], edx
mov dword [edi + 0x144], ecx
mov ecx, eax
mov edx, dword [ebp + 8]
cmp cl, 0x4b
jne 0x5222b8
mov ebx, dword [edi + 0x13c]
test ebx, ebx
je 0x5222fa
mov eax, dword [ebx]
add ebx, 8
mov dl, 2
mov cl, 0x4b
mov edi, ebx
jmp 0x522300
movzx eax, byte [edi + 0x13b]
mov byte [esp + 0x16], al
movzx eax, word [edi + 0x139]
mov word [esp + 0x14], ax
mov ch, byte [edi + 0x143]
mov eax, dword [edi + 0x13c]
movzx edx, byte [edi + 0x140]
mov byte [esp + 0x12], ch
movzx ebx, word [edi + 0x141]
mov word [esp + 0x10], bx
mov edi, dword [edi + 0x144]
jmp 0x522303
mov eax, dword [edx]
mov cl, 0x4b
xor edx, edx
add eax, 8
mov byte [esi + 8], cl
movzx ecx, word [esp + 0x14]
mov word [esi + 9], cx
movzx ecx, byte [esp + 0x16]
mov byte [esi + 0xb], cl
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], dl
movzx edx, word [esp + 0x10]
movzx ecx, byte [esp + 0x12]
mov word [esi + 0x11], dx
mov byte [esi + 0x13], cl
mov dword [esi + 0x14], edi
mov dword [esi], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 0x2e
xor ebx, ebx
mov dword [esp], 0
mov dword [esp + 4], 0
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
or edx, ecx
jne 0x52223c
jmp 0x522434
lea ecx, [esp + 0x38]
push 0x76
call fcn.0051b6b0
add esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, eax
xor edx, 0x2f
or edx, ecx
jne 0x5223b1
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, 1
mov eax, ebx
shld ebx, ecx, 0x10
shr eax, 0x10
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
jmp 0x52241e
mov edx, eax
xor edx, 0x2e
or edx, ecx
jne 0x5223d1
mov dword [esp + 4], 0
mov al, 0x2e
xor ebx, ebx
mov dword [esp], 0
xor edx, edx
jmp 0x52242a
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x18]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
call fcn.00519e70
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
xor edx, edx
mov eax, ebx
shld ebx, ecx, 0x10
shr eax, 0x10
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, ecx
mov cl, ah
mov dword [esp + 4], ecx
xor ecx, ecx
or edx, ecx
jne 0x52223c
mov ecx, dword [esp]
movzx edx, byte [esp + 4]
movzx eax, al
shld ecx, ebx, 0x10
shl ebx, 0x10
shl edx, 8
or edx, ebx
or eax, edx
mov edx, ecx
mov ecx, eax
xor ecx, 0x2e
or ecx, edx
jne 0x522461
mov dword [esp], 0
jmp 0x5224b7
mov dword [esp + 0x70], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x74], edx
lea ebx, [esp + 0x70]
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
lea edx, [eax + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
movzx eax, byte [edi + 0xc9]
push ebx
push dword [edi + 0xf4]
push eax
call fcn.0051de30
add esp, 0xc
movzx eax, byte [esp + 0x18]
cmp al, 0x4b
jne 0x522503
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
lock inc dword [ebx]
mov edx, dword [esp + 0x60]
jle 0x52253e
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi], 0
jmp 0x522337
movzx ecx, byte [esp + 0x1b]
movzx edx, word [esp + 0x19]
mov ebx, dword [esp + 0x24]
shl ecx, 0x10
mov dword [esp + 0xc], ebx
or edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
movzx ecx, byte [edi + 0x138]
cmp cl, 0x4c
jne 0x522299
jmp 0x522264
ud2
push 0x5ff0cc
push 0x2b
push str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_alloc_srccollections_btree_navigate.rs
call fcn.004251d0
add esp, 0xc
ud2