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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov edi, ecx
mov ecx, dword [ecx + 0x220]
mov eax, ecx
mov dword [esp + 0x3c], edx
test edx, edx
je 0x50b907
mov eax, dword [edi + 0x224]
mov dword [esp + 0x2c], eax
mov dword [esp + 8], ecx
je 0x50b95d
cmp byte [edi + 0x188], 0
je 0x50bf7a
mov ecx, dword [edi + 0x210]
mov edx, dword [edi + 0x214]
mov eax, edx
shr eax, 8
mov dword [esp + 0x54], eax
mov dword [esp + 0x1c], ecx
shld edx, ecx, 0x18
mov dword [esp + 0x28], edx
lea ecx, [edi + 0x148]
call fcn.0050bf90
mov esi, eax
mov cl, 1
mov eax, edx
test edx, edx
jne 0x50bc1b
jmp 0x50bf7a
test ecx, ecx
je 0x50bf7a
mov esi, dword [edi + 0x3c]
lea ebx, [esp + 0x60]
mov ecx, ebx
push esi
call fcn.00500980
test byte [esp + 0x68], 1
jne 0x50b9f1
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], esi
lea ecx, [esp + 0x1c]
call fcn.00500fa0
test byte [esp + 0x68], 1
je 0x50b9ca
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x60], 0
test ecx, ecx
je 0x50b9ca
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x14], 1
jne 0x50ba05
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edx
shr eax, 8
mov dword [esp + 0x1c], ecx
shld edx, ecx, 0x18
mov dword [esp + 0x28], edx
mov cl, 1
jmp 0x50babe
mov eax, dword [esp + 0x60]
mov byte [esp + 0x14], 0xff
mov dword [esp + 0xc], eax
test byte [esp + 0x14], 1
je 0x50b9d1
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
mov esi, ebx
lea ebx, [esp + 0x84]
push eax
push ebx
call fcn.0054f518
add esp, 8
mov ecx, ebx
mov ebx, esi
push str.unable_to_get_the_string_table_for_the_SHT_SYMTAB_section:
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x70], 0x104
lea eax, [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, edi
push esi
call fcn.005394d0
test byte [esp + 0x40], 1
jne 0x50bce7
test byte [esp + 0x84], 1
jne 0x50bd01
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x50ba98
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x14], 1
je 0x50bab4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test ecx, ecx
je 0x50bab4
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1c], 0
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x220]
test eax, eax
je 0x50bb05
lea ecx, [esp + 0xc]
push eax
push dword [edi + 0x3c]
call fcn.005074a0
test byte [esp + 0x14], 1
sete al
test al, al
je 0x50bb20
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test byte [esp + 0x14], 1
jne 0x50bbc4
jmp 0x50bbd9
and byte [esp + 0x14], 0xfe
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov al, 1
test al, al
jne 0x50bae9
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
mov esi, edi
lea edi, [esp + 0x84]
push eax
push edi
call fcn.0054f518
add esp, 8
mov ecx, edi
mov edi, esi
push str.unable_to_read_symbols_from_the_SHT_SYMTAB_section:
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x40], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x70], 0x104
lea eax, [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, esi
push ebx
call fcn.005394d0
test byte [esp + 0x40], 1
jne 0x50bd21
test byte [esp + 0x84], 1
jne 0x50bd3b
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x50bbb3
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x18], 0
xor ebx, ebx
test byte [esp + 0x14], 1
je 0x50bbd9
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], 0
test ecx, ecx
je 0x50bbd9
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x220]
mov ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x3c]
mov esi, ecx
or esi, eax
je 0x50bc07
bswap eax
bswap ecx
mov esi, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
bswap edx
bswap esi
push ecx
push eax
push esi
push edx
call fcn.00549a6c
add esp, 0x10
jmp 0x50bc09
xor eax, eax
mov ecx, dword [esp + 0x38]
mov esi, ebx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x50bf7a
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ecx
mov ah, byte [ebp + 8]
mov dword [esp + 0x18], edx
lea ecx, [edx + edx*2]
lea ecx, [ecx*8 - 0x18]
xor edx, edx
mov ebx, esi
nop dword [eax + eax]
mov al, byte [esi + edx + 5]
cmp al, 3
ja 0x50bc53
lea esi, [edx + 0x18]
cmp ecx, edx
mov edx, esi
mov esi, ebx
jne 0x50bc40
cmp byte [esp + 0x3c], 0
mov dword [esp + 0x50], edi
mov byte [esp + 7], al
je 0x50bc90
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x190]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 0x1c]
add edx, dword [ecx + 0x20]
mov dword [esp + 8], edx
mov dword [esp + 0x24], 0
mov ecx, edi
mov dword [esp + 0x34], 0
jmp 0x50bdea
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x50bd5b
mov eax, dword [edi + 0x22c]
mov edx, dword [edi + 0x238]
test edx, edx
je 0x50bda7
mov esi, eax
mov eax, ecx
shr ecx, 4
mov edi, eax
shr edi, 9
xor edi, ecx
mov dword [esp + 0x20], edx
lea ecx, [edx - 1]
mov dword [esp + 0x34], ecx
and edi, ecx
lea ecx, [edi + edi*2]
mov edx, dword [esi + ecx*4]
cmp edx, eax
jne 0x50bd63
lea ecx, [esi + ecx*4]
mov eax, esi
mov edx, dword [esp + 0x20]
jmp 0x50bdad
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x84], 1
je 0x50ba8b
push dword [esp + 0x8c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x50ba93
jmp 0x50ba98
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x84], 1
je 0x50bba6
push dword [esp + 0x8c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x50bbae
jmp 0x50bbb3
mov esi, edi
xor edx, edx
xor edi, edi
jmp 0x50bdcf
mov dword [esp + 8], edx
mov dword [esp + 0x30], 1
mov eax, esi
mov edx, dword [esp + 0x20]
cmp dword [esp + 8], 0xfffff000
je 0x50bda7
mov esi, eax
mov eax, dword [esp + 0x30]
add edi, eax
inc eax
mov dword [esp + 0x30], eax
and edi, dword [esp + 0x34]
lea eax, [edi + edi*2]
lea ecx, [esi + eax*4]
mov eax, dword [esi + eax*4]
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x2c]
mov eax, esi
je 0x50bdad
jmp 0x50bd75
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
lea esi, [edx + edx*2]
lea edx, [eax + esi*4]
cmp ecx, edx
je 0x50bdbf
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
jmp 0x50bdc3
xor edx, edx
xor edi, edi
mov esi, dword [esp + 0x50]
movzx eax, byte [esp + 7]
mov ah, byte [ebp + 8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
shr edi, 8
mov cl, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 8], 0
mov ecx, esi
xor edx, edx
cmp al, 4
setae dl
mov esi, dword [ecx]
mov dword [esp + 0x74], esi
movzx esi, ah
mov dword [esp + 0x30], esi
push esi
push edx
push dword [esp + 0x54]
push dword [esp + 0x38]
mov eax, dword [esp + 0x84]
call dword [eax + 0x110]
mov eax, dword [esp + 8]
shld eax, edi, 8
mov dword [esp + 0x2c], eax
shl edi, 8
movzx eax, byte [esp + 0x24]
or eax, edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
shld dword [esp + 0x54], eax, 8
shl eax, 8
movzx ecx, byte [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x18]
shl eax, 3
lea eax, [eax + eax*2]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x3c]
mov dword [esp + 0x28], eax
xor esi, esi
mov dword [esp + 0x24], ebx
nop word cs:[eax + eax]
xor eax, eax
cmp byte [esp + 7], 4
setae al
mov ecx, dword [esp + 0x24]
add ecx, esi
mov dword [esp + 0x3c], ecx
mov edx, esi
sar edx, 3
imul edx, edx, 0xaaaaaaab
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x34]
mov byte [esp + 0xa0], cl
mov edi, dword [esp + 0x63]
lea ecx, [esp + 0xa1]
mov dword [ecx + 3], edi
mov edi, dword [esp + 0x60]
mov dword [ecx], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xa8], edi
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x80], cl
mov bh, byte [esp + 0xe]
lea ecx, [esp + 0x81]
mov byte [ecx + 2], bh
movzx edi, word [esp + 0xc]
mov word [ecx], di
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx]
sub esp, 0x40
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x30], ebx
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 0x28], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmm1, xmmword [esp + 0xe0]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x38], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call dword [edi + 0x114]
add esi, 0x18
cmp dword [esp + 0x18], esi
jne 0x50be70
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret