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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov eax, dword [ebp + 0x10]
movzx ebx, byte [edx + 0x138]
mov dword [esp + 0x4c], ecx
lea ecx, [edx + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0x8c], ecx
mov eax, dword [eax]
mov dword [esp + 0x80], eax
lea eax, [eax + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
nop word [eax + eax]
cmp bl, 0x4c
jne 0x1003a88b
mov ebx, dword [esp + 4]
test byte [ebx], 1
je 0x1003a906
mov edi, dword [ebx + 0xe0]
test edi, edi
je 0x1003a4ed
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x88], eax
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ebx + 0xf0]
movsd xmm0, qword [ebx + 8]
mov edx, dword [ebx + 0xc4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x54], edx
add eax, 8
lea edx, [esp + 0x50]
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x7c], 0
call sym.gimli::read::unit::EntriesCursor_LT_R_GT_::next_entry::h9eaf7319221d4097
movzx eax, byte [esp + 0x10]
cmp al, 0x4b
jne 0x1003a590
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1003a5b4
cmp word [ebx + 0xca], 5
mov ebx, dword [esp + 0x68]
mov edx, 0x76
mov ecx, 0x2130
mov dword [esp + 0x84], edi
cmovb edx, ecx
mov ecx, dword [esp + 0x64]
test byte [ebx], 1
mov dword [esp + 0xc], edx
je 0x1003a5fd
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
jmp 0x1003a60c
movzx ecx, byte [esp + 0x11]
mov edi, dword [esp + 0x18]
movzx edx, word [esp + 0x16]
mov esi, dword [esp + 0x12]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 8], ecx
jmp 0x1003a5b9
mov edx, dword [esp]
mov al, 0x42
mov ecx, dword [esp + 0xc]
mov dword [esp], edx
mov edi, dword [esp + 8]
mov dword [esp + 0xc], ecx
movzx edx, cl
mov ecx, esi
shl ecx, 8
or ecx, edx
mov edx, dword [esp]
mov dword [esp + 0x90], edi
mov edi, dword [esp + 0x34]
shld edx, esi, 0x10
mov dword [esp + 0x30], edi
movzx ebx, byte [ebx + 0x138]
cmp bl, 0x4c
jne 0x1003a4c0
jmp 0x1003a80f
mov edi, dword [ebx + 4]
cmp edi, 6
jae 0x1003aa05
add ebx, 8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
test edi, edi
lea ecx, [esp + 0x60]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ecx
je 0x1003a724
add ebx, 0x10
dec edi
cmp edi, 0xffffffff
je 0x1003a73d
lea eax, [ebx - 0x10]
lea ecx, [esp + 0x10]
lea esi, [esp + 0xa8]
lea edx, [esp + 0x38]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [esp + 0x48]
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
mov eax, dword [eax + 0xc]
push esi
push dword [eax + 0x20]
call sym.gimli::read::unit::parse_attribute::hdd3cf4e0ff72c012
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor edx, 0x2e
or edx, ecx
je 0x1003a84d
mov edx, dword [esp + 0x18]
movzx esi, word [esp + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
add ebx, 0x10
dec edi
mov dword [esp], 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 0x1003a630
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 + 0x38]
lea edx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
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::h43a21af532bb1013
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, edi
mov dword [esp + 0x34], eax
shld edi, ebx, 0x10
mov dword [esp], ebx
mov al, bh
mov ebx, dword [esp + 4]
mov dword [esp + 8], ecx
shr edx, 0x10
jmp 0x1003a766
test byte [esp + 0x74], 1
jne 0x1003a757
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
jmp 0x1003a757
mov eax, dword [esp + 0x48]
test byte [eax + 0x14], 1
jne 0x1003a757
mov ecx, dword [esp + 0x38]
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 edx, edx
xor edi, edi
mov dword [esp], ecx
movzx esi, al
mov dword [esp + 0xc], eax
movzx eax, byte [esp]
mov ecx, edi
mov dword [esp], edx
shld edx, edi, 0x10
shl ecx, 0x10
shl esi, 8
mov dword [esp + 0x14], edx
or esi, ecx
mov ecx, dword [esp + 0x34]
or eax, esi
mov dword [esp + 0x10], eax
xor eax, 0x2e
or eax, edx
mov eax, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x1003a97c
movzx eax, byte [ebx + 0xc9]
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0x10]
lea ecx, [esp + 0x50]
push esi
push dword [ebx + 0xf4]
push eax
call sym.gimli::read::dwarf::Dwarf_LT_R_GT_::attr_string::h2e2835e0fe0b4cd2
add esp, 0xc
movzx eax, byte [esp + 0x50]
cmp al, 0x4b
je 0x1003a980
movzx edx, byte [esp + 0x53]
mov esi, dword [esp + 0x58]
movzx ecx, word [esp + 0x51]
shl edx, 0x10
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x5c]
or ecx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x90], esi
mov esi, edi
movzx ebx, byte [ebx + 0x138]
cmp bl, 0x4c
jne 0x1003a4c0
mov edi, dword [esp + 4]
mov ebx, eax
mov byte [edi + 0x138], al
mov word [edi + 0x139], cx
shr ecx, 0x10
mov eax, dword [esp + 0x30]
mov byte [edi + 0x13b], cl
mov dword [edi + 0x13c], edx
mov edx, dword [esp + 0x90]
mov dword [edi + 0x140], eax
mov dword [edi + 0x144], edx
jmp 0x1003a4c0
movzx edi, word [esp + 0x26]
mov edx, dword [esp + 0x22]
mov esi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 4]
shld edi, edx, 0x10
shl edx, 0x10
or edx, ecx
mov ecx, esi
shld esi, eax, 0x10
mov dword [esp + 8], edi
shr ecx, 0x10
mov dword [esp + 0x34], edx
mov dword [esp], ecx
mov cl, ah
jmp 0x1003a5c0
movzx eax, bl
cmp eax, 0x4b
jne 0x1003a8bd
mov ebx, dword [esp + 4]
xor ecx, ecx
mov eax, 0x4b
mov edx, dword [ebx + 0x13c]
test edx, edx
je 0x1003a91e
mov esi, dword [edx]
add edx, 8
mov edi, 2
add esi, 8
mov dword [esp + 0x2c], esi
xor esi, esi
jmp 0x1003a924
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 + 0x2c], 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 0x1003a924
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 + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x4c]
lea ecx, [esi + 0x10]
push eax
call sym.addr2line::ResUnit_LT_R_GT_::find_function_or_location::__u7b__u7b_closure_u7d__u7d_::hdebe26a81d668cec
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 0x1003a98c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], ecx
mov esi, dword [esp + 0x80]
lock inc dword [esi]
mov edi, dword [esp + 0x84]
jle 0x1003aa12
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 0x10]
movaps xmm1, xmmword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x4c]
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], edi
mov edi, dword [esp + 0x88]
mov dword [ecx + 0x2c], edi
mov edi, dword [esp + 0x30]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edi
mov dword [ecx + 0x38], esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], edx
jmp 0x1003a974
push 0x100ed52c
push 5
push edi
call sym.core::slice::index::slice_end_index_len_fail::h31017dc9c470f2c8
ud2