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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], edx
xor ebx, ebx
movzx edx, byte [eax + 0xc9]
mov esi, dword [eax + 0xc4]
cmp dl, 8
mov byte [esp + 0xb], dl
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x14], esi
sete bl
mov dword [esp + 0x10], edx
lea edx, [edx + ebx*8 + 4]
sub edx, esi
mov esi, dword [ebp + 0xc]
mov edi, esi
sub edi, edx
lea edx, [eax + 0xa8]
mov eax, dword [eax + 0xf0]
mov dword [esp + 4], edx
lea edx, [eax + 8]
mov dword [esp + 0x1c], edx
jb 0x50c8d5
cmp edi, dword [esp + 0x14]
jae 0x50c8d5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], ecx
lea ecx, [ebx*8 + 4]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
mov dword [esp + 0x5c], eax
mov eax, esi
lea edx, [ecx + ebx]
sub esi, ecx
xor ecx, ecx
not eax
sub esi, ebx
xor ebx, ebx
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0
add edi, dword [eax + 0xc0]
nop word cs:[eax + eax]
movzx eax, byte [edi + esi]
cmp ecx, 0x3f
mov byte [esp + 0x14], al
jne 0x50c891
cmp al, 2
jae 0x50c8f2
movzx eax, byte [esp + 0x14]
xor edx, edx
mov dword [esp + 4], esi
mov esi, 0
and al, 0x7f
movzx eax, al
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, esi
or ebx, edx
or dword [esp + 0x10], eax
cmp byte [esp + 0x14], 0
jns 0x50c916
mov esi, dword [esp + 4]
dec dword [esp + 0x20]
add ecx, 7
inc esi
jne 0x50c880
xor eax, eax
mov dl, 0x13
jmp 0x50c8f4
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x1c]
mov dword [ecx], 0x38
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], 0
jmp 0x50c90e
mov dl, 6
mov ecx, dword [esp + 0xc]
mov dh, byte [esp + 0x14]
mov byte [ecx], dl
mov byte [ecx + 1], dh
mov dword [ecx + 4], 0
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea eax, [edi + eax + 1]
or ecx, ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
je 0x50c977
test ebx, ebx
jne 0x50c980
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
dec eax
cmp eax, dword [ecx + 0x10]
jae 0x50c980
mov ecx, dword [esp + 0x1c]
imul ebx, eax, 0x68
add ebx, dword [ecx]
cmp byte [ebx + 0x62], 1
jne 0x50c95b
mov dword [esp + 0x64], 1
cmp dword [ebx], 0
je 0x50ca33
mov edi, dword [ebx + 0xc]
mov ebx, dword [ebx + 4]
test edi, edi
jne 0x50ca4a
jmp 0x50cc12
mov eax, dword [esp + 0xc]
mov byte [eax], 0x37
jmp 0x50c90e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dl, 0x12
mov esi, dword [eax + 0x14]
test esi, esi
je 0x50cbfc
mov eax, dword [eax + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 4], ebx
mov dword [esp + 0x24], eax
movzx eax, word [esi + 0x4d6]
mov ebx, 0xffffffff
mov dword [esp + 0x18], esi
lea ecx, [eax*8]
mov dword [esp + 0x4c], eax
nop
test ecx, ecx
je 0x50ca0e
mov eax, dword [esp + 0x18]
mov esi, dword [eax + ebx*8 + 0xc]
mov edx, dword [eax + ebx*8 + 8]
xor eax, eax
mov dword [esp + 0x20], esi
xor esi, dword [esp + 4]
mov dword [esp + 0x1c], edx
xor edx, edi
or edx, esi
mov edx, dword [esp + 4]
setne al
cmp edi, dword [esp + 0x1c]
sbb edx, dword [esp + 0x20]
mov edx, 0xff
cmovb eax, edx
inc ebx
add ecx, 0xfffffff8
cmp al, 1
je 0x50c9c0
movzx eax, al
test eax, eax
je 0x50cbac
jmp 0x50ca12
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
sub eax, 1
jb 0x50cc69
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov esi, dword [esi + ebx*4 + 0x4d8]
jmp 0x50c9a4
mov edi, dword [ebx + 4]
cmp edi, 6
jae 0x50cc74
add ebx, 8
test edi, edi
je 0x50cc12
mov eax, dword [ebp + 8]
shl edi, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0x2e
mov dword [esp + 0x10], 0
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x14], eax
jmp 0x50cab1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call dbg.value<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
add ebx, 0x10
add edi, 0xfffffff0
je 0x50cbe4
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call dbg.parse_attribute<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x50cbc6
movzx eax, word [esp + 0x78]
cmp eax, 0x46
jle 0x50cb50
cmp eax, 0x47
je 0x50ca80
cmp eax, 0x6e
je 0x50cb12
cmp eax, 0x2007
jne 0x50caa5
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call dbg.value<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x18]
push eax
call dbg.attr_string<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x50caa5
jmp 0x50cc25
cmp eax, 3
je 0x50cb63
cmp eax, 0x31
je 0x50ca80
jmp 0x50caa5
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call dbg.value<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x18]
push eax
call dbg.attr_string<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x50caa5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x50caa5
mov ecx, dword [esp + 0x18]
imul eax, ebx, 0x68
lea ebx, [ecx + eax + 0x58]
cmp byte [ebx + 0x62], 1
je 0x50c953
jmp 0x50c95b
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp + 0xc]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x50c90e
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x50cc01
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x50cc1d
jmp 0x50c8f8
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
mov eax, edx
xor eax, 0x2e
or eax, ebx
jne 0x50cc3f
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x50c90e
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov byte [edx], 0x4b
jmp 0x50c90e
mov esi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x50]
mov ecx, dword [esp + 0xc]
dec esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x34]
push ebx
call dbg.name_attr<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>
add esp, 0x1c
jmp 0x50c90e
mov ecx, dword [esp + 0xc]
mov dl, 0x12
jmp 0x50c8f8
mov ecx, edi
mov edx, 5
push 0x554324
call dbg.slice_end_index_len_fail
add esp, 4
ud2