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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [ebp + 0x10]
movzx ebx, byte [edx + 0x138]
mov dword [esp + 0x58], ecx
lea ecx, [edx + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x9c], ecx
mov eax, dword [eax]
mov dword [esp + 0x94], eax
add eax, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0xc], eax
nop word [eax + eax]
cmp bl, 0x4c
jne 0x4228f5
mov ebx, dword [esp + 4]
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x422970
mov eax, dword [ebx + 0xe0]
test eax, eax
mov dword [esp + 0x38], eax
je 0x422533
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x98], eax
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xf0]
movsd xmm0, qword [ebx + 8]
mov edx, dword [ebx + 0xc4]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x64], edx
add eax, 8
lea edx, [esp + 0x60]
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x8c], 0
call sym.gimli::read::unit::EntriesCursor_LT_R_GT_::next_entry::h26d294820b8f0abd
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x4225d0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4225fb
cmp word [ebx + 0xca], 5
mov edi, dword [esp + 0x78]
mov edx, 0x76
mov ecx, 0x2130
cmovb edx, ecx
mov ecx, dword [esp + 0x74]
cmp dword [edi], 0
mov dword [esp + 0xc], edx
je 0x42260a
mov ebx, dword [edi + 0xc]
mov edi, dword [edi + 8]
jmp 0x422619
movzx ecx, byte [esp + 0x11]
mov edi, dword [esp + 0x12]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
movzx ecx, word [esp + 0x16]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
jmp 0x422880
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov al, 0x42
jmp 0x422880
mov ebx, dword [edi + 4]
cmp ebx, 6
jae 0x422a6c
add edi, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
test ebx, ebx
lea ecx, [esp + 0x70]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], ecx
je 0x422747
add edi, 0x10
dec ebx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp ebx, 0xffffffff
je 0x422769
lea eax, [edi - 0x10]
lea ecx, [esp + 0x10]
lea esi, [esp + 0xa0]
lea edx, [esp + 0x40]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x50]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0xa0], xmm0
mov eax, dword [eax + 0xc]
push esi
push dword [eax + 0x20]
call sym.gimli::read::unit::parse_attribute::hc6256b48f07e4d62
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x422841
mov edx, dword [esp + 0x18]
movzx esi, word [esp + 0x20]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
add edi, 0x10
dec ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
cmp si, word [esp + 0xc]
mov esi, dword [esp + 0x22]
mov dword [esp + 8], edx
movzx edx, word [esp + 0x26]
jne 0x422650
mov word [esp + 0x26], dx
mov dword [esp + 0x22], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov word [esp + 0x20], ax
call sym.gimli::read::unit::Attribute_LT_R_GT_::value::hbd5abc89c30baf14
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edi, edx
shld edx, ecx, 0x10
mov dword [esp + 8], ecx
shr edi, 0x10
mov dword [esp + 0x2c], eax
mov al, ch
jmp 0x422793
cmp dword [esp + 0x84], 0
jne 0x422783
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
jmp 0x422783
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x14], 0
jne 0x422783
mov ecx, dword [esp + 0x40]
sub ecx, dword [eax]
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], ecx
mov ebx, dword [esp + 4]
mov cl, 0x2e
xor eax, eax
xor edi, edi
xor edx, edx
mov dword [esp + 8], ecx
movzx esi, al
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 8]
mov ecx, edx
mov dword [esp + 0x3c], edx
shl ecx, 0x10
shl esi, 8
or esi, ecx
mov ecx, edi
shld ecx, edx, 0x10
or eax, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
xor eax, 0x2e
or eax, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
je 0x4229e6
movzx eax, byte [ebx + 0xc9]
mov edx, dword [esp + 0x30]
lea esi, [esp + 0x10]
mov dword [esp + 8], edi
lea ecx, [esp + 0x60]
push esi
push dword [ebx + 0xf4]
push eax
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::hf431e04a84efaaff
add esp, 0xc
movzx eax, byte [esp + 0x60]
cmp al, 0x4b
je 0x4229ea
movzx edx, byte [esp + 0x63]
mov edi, dword [esp + 0x6c]
movzx ecx, word [esp + 0x61]
mov esi, dword [esp + 0x68]
shl edx, 0x10
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x3c]
or ecx, edx
mov edx, dword [esp + 0x64]
movzx ebx, byte [ebx + 0x138]
cmp bl, 0x4c
jne 0x422500
jmp 0x4228b2
movzx esi, word [esp + 0x26]
mov edx, dword [esp + 0x22]
mov edi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 4]
shld esi, edx, 0x10
shl edx, 0x10
or edx, ecx
mov ecx, edi
shld edi, eax, 0x10
shr ecx, 0x10
mov dword [esp + 0x2c], edx
mov dword [esp + 8], ecx
mov cl, ah
nop word [eax + eax]
mov edx, edi
mov dword [esp + 0xc], ecx
movzx ecx, cl
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x2c]
shl edx, 8
or ecx, edx
mov edx, dword [esp + 8]
shld edx, edi, 0x10
movzx ebx, byte [ebx + 0x138]
cmp bl, 0x4c
jne 0x422500
mov dword [esp + 0x3c], edi
mov edi, esi
mov esi, dword [esp + 4]
mov ebx, eax
mov byte [esi + 0x138], al
mov word [esi + 0x139], cx
shr ecx, 0x10
mov byte [esi + 0x13b], cl
mov dword [esi + 0x13c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], edx
mov esi, edi
mov edi, dword [esp + 0x3c]
jmp 0x422500
movzx eax, bl
cmp eax, 0x4b
jne 0x422927
mov ebx, dword [esp + 4]
xor ecx, ecx
mov eax, 0x4b
mov edx, dword [ebx + 0x13c]
test edx, edx
je 0x422988
mov esi, dword [edx]
add edx, 8
mov edi, 2
add esi, 8
mov dword [esp + 0x30], esi
xor esi, esi
jmp 0x42298e
mov ebx, dword [esp + 4]
movzx esi, byte [ebx + 0x13b]
movzx edi, word [ebx + 0x139]
mov ecx, dword [ebx + 0x13c]
mov edx, dword [ebx + 0x144]
shl edi, 8
shl esi, 0x18
mov dword [esp + 0x30], ecx
movzx ecx, byte [ebx + 0x143]
or esi, edi
movzx edi, word [ebx + 0x141]
shl ecx, 0x18
shl edi, 8
or ecx, edi
movzx edi, byte [ebx + 0x140]
jmp 0x42298e
mov byte [ebx + 0x138], 0x4b
mov dword [ebx + 0x13c], 0
xor ecx, ecx
mov eax, 0x4b
xor esi, esi
xor edi, edi
mov edx, ebx
or eax, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], ebx
or ecx, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x58]
lea ecx, [esi + 0x10]
push eax
call sym.addr2line::ResUnit_LT_R_GT_::find_function_or_location::__u7b__u7b_closure_u7d__u7d_::h954431acff1cba55
add esp, 4
mov dword [esi + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x4229f6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x5c], ecx
mov edi, dword [esp + 0x94]
lock inc dword [edi]
jle 0x422a7d
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 0x10]
movaps xmm1, xmmword [esp + 0xb0]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x58]
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp + 0x10]
movsd qword [ecx + 8], xmm0
movsd qword [ecx], xmm2
movlps qword [ecx + 0x20], xmm1
mov dword [ecx + 0x28], esi
mov esi, dword [esp + 0x98]
mov dword [ecx + 0x2c], esi
mov esi, dword [esp + 0x5c]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], esi
mov dword [ecx + 0x38], edi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], edx
jmp 0x4229de
mov ecx, ebx
mov edx, 5
push 0x4a0f10
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
ud2