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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, ecx
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [edx]
lea edi, [ecx + 8]
mov ebx, dword [eax]
cmp edi, dword [ebx]
jbe 0x50ccae
mov ebp, dword [eax + 4]
mov edi, dword [eax + 8]
lea ecx, [esp + 0x14]
push ebp
call fcn.00502220
mov ebx, edi
sub ebx, dword [esp + 0x14]
mov eax, dword [ebp]
movzx eax, word [eax + 0x12]
rol ax, 8
sar ebx, 6
movzx eax, ax
mov ecx, dword [edi + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x3c], 0x305
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], str._section_with_index
lea edi, [esp + 0x2c]
mov dword [esp], edi
mov dword [esp + 8], ebx
mov word [esp + 0x10], 0x802
mov ebp, esp
lea ebx, [esp + 0x50]
mov ecx, ebx
push ebp
call fcn.00550b46
mov ecx, ebx
push str.invalid
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x20], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x20]
push str.:_version_definition
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x14], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x34], eax
mov word [esp + 0x3c], 0x804
mov dword [esp], edi
mov dword [esp + 8], str._refers_to_an_auxiliary_entry_that_goes_past_the_end_of_the_section
mov word [esp + 0x10], 0x302
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.00550996
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 4], xmm0
mov dword [esp], ebp
mov ecx, edi
call fcn.005507bc
or byte [esi + 0x10], 1
mov dword [esi], edi
test byte [esp + 0x14], 1
jne 0x50cd27
test byte [esp + 0x20], 1
jne 0x50cd3e
test byte [esp + 0x50], 1
jne 0x50cd55
jmp 0x50cdf9
mov dword [esp + 0x44], esi
mov ebp, dword [ecx + 4]
bswap ebp
add ebp, ecx
mov dword [edx], ebp
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
sub ebp, dword [edi]
mov esi, dword [ecx]
bswap esi
mov ecx, dword [edx + 4]
mov ebx, ecx
sub ebx, esi
jae 0x50cd66
mov dword [esp + 0x2c], str._invalid_vda_name:
mov dword [esp + 0x34], esi
mov word [esp + 0x3c], 0x803
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 8], 0x55c957
mov word [esp + 0x10], 0x302
mov eax, esp
lea ecx, [esp + 0x14]
push eax
call fcn.00550b46
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x15]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x23], ecx
mov ecx, dword [esp + 0x1c]
jmp 0x50cddb
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x20], 1
je 0x50cc9e
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x50cdf9
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x50cdf9
cmp ebx, 0xfffffff0
jae 0x50ce05
mov edi, dword [edx]
add edi, esi
cmp ebx, 0xb
jae 0x50cd89
mov edx, ebx
add dl, bl
mov byte [esp], dl
lea eax, [esp + 1]
cmp ecx, esi
ja 0x50cdb0
jmp 0x50cdbf
mov dword [esp + 0x40], edi
mov edi, ebx
or edi, 0xf
lea eax, [edi + 1]
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
add edi, 2
mov dword [esp], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 4], ebx
push ebx
push edi
push eax
mov esi, eax
call sub.msvcrt.dll_memmove
mov eax, esi
add esp, 0xc
mov byte [eax + ebx], 0
movzx eax, byte [esp]
mov ecx, dword [esp + 1]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x23], ecx
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x44]
and byte [esi + 0x10], 0xfe
mov dword [esi], ebp
mov byte [esi + 4], al
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x23]
mov dword [esi + 5], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov ecx, esp
call fcn.00407790
int3