Function at 0x50f790
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, edx
mov edi, ecx
cmp byte [ecx + 0x188], 0
je 0x50f839
lea ecx, [edi + 0x148]
call fcn.0050bf90
test eax, eax
je 0x50f839
mov ebx, dword [esi + 4]
lea ecx, [edx - 1]
cmp ecx, ebx
jae 0x50f8d2
mov dword [esp + 0x5c], str.index_is_greater_than_or_equal_to_the_number_of_dynamic_symbols__
mov dword [esp + 0x64], edx
mov word [esp + 0x6c], 0x903
lea eax, [esp + 0x5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], 0x5564e0
mov word [esp + 0x44], 0x302
mov dword [esp + 0x48], str.unable_to_get_name_of_the_dynamic_symbol_with_index
mov dword [esp + 0x50], ebx
mov word [esp + 0x58], 0x903
lea eax, [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x556440
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov word [esp + 0x10], 0x202
jmp 0x50f87c
mov eax, dword [esi + 4]
mov dword [esp + 0x48], str.unable_to_get_name_of_the_dynamic_symbol_with_index
mov dword [esp + 0x50], eax
mov word [esp + 0x58], 0x903
lea eax, [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x556440
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 8], str.no_dynamic_symbol_table_found
mov word [esp + 0x10], 0x302
mov eax, esp
mov ecx, edi
push eax
call fcn.005394d0
mov dword [esp], 0
mov byte [esp + 4], 0x12
mov dword [esp + 5], 0x726f633c
mov dword [esp + 9], 0x74707572
mov word [esp + 0xd], 0x3e
mov eax, dword [edi]
mov edx, esp
mov ecx, edi
push edx
push esi
call dword [eax + 0x104]
test byte [esp + 4], 1
je 0x50f8ca
push dword [esp + 0xc]
call sub.libc.dll_operator_delete_void_
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x14], esi
mov edx, dword [edi + 0x38]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x2c], eax
mov esi, eax
sub esi, edx
mov edx, 0x18
mov eax, ebx
mul edx
mov ecx, esi
sar ecx, 0x1f
add eax, esi
adc edx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
add eax, 0x18
adc edx, 0
xor ecx, ecx
cmp dword [esp + 0x30], eax
sbb ecx, edx
jae 0x50fa0f
mov dword [esp + 0x84], str.symbol_at_0x
lea eax, [esp + 0x70]
mov dword [esp + 0x8c], eax
mov word [esp + 0x94], 0xf03
lea eax, [esp + 0x84]
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], str._goes_past_the_end_of_the_file__0x
mov word [esp + 0xa8], 0x302
lea eax, [esp + 0x98]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x64], eax
mov word [esp + 0x6c], 0xf02
lea eax, [esp + 0x5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], 0x5564e0
mov word [esp + 0x44], 0x302
mov dword [esp + 0x48], str.unable_to_get_name_of_the_dynamic_symbol_with_index
mov dword [esp + 0x50], ebx
mov word [esp + 0x58], 0x903
lea eax, [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x556440
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov word [esp + 0x10], 0x202
mov eax, esp
mov ecx, edi
push eax
call fcn.005394d0
mov dword [esp], 0
mov byte [esp + 4], 0x12
mov dword [esp + 5], 0x726f633c
mov dword [esp + 9], 0x74707572
mov word [esp + 0xd], 0x3e
mov esi, dword [esp + 0x14]
jmp 0x50f8a9
lea ecx, [ebx + ebx*2]
mov eax, dword [esp + 0x2c]
lea esi, [eax + ecx*8]
movsd xmm0, qword [edi + 0x210]
movsd qword [esp + 0x98], xmm0
sub esp, 0xc
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x40]
call fcn.00507b70
test byte [esp + 0x3c], 1
jne 0x50fa93
test ebx, ebx
cmove esi, ebx
mov dword [esp + 0x30], esi
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov eax, dword [0x5642d4]
cmp byte [eax], 0
mov esi, dword [esp + 0x14]
je 0x50fb59
mov dword [esp + 4], ebx
mov dword [esp], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0xc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x24]
mov dword [esp], eax
call fcn.0054f512
add esp, 0xc
jmp 0x50fbd3
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.0054f518
add esp, 8
mov ebx, esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov dword [esp + 0x48], str.unable_to_get_name_of_the_dynamic_symbol_with_index
mov dword [esp + 0x50], eax
mov word [esp + 0x58], 0x903
lea eax, [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0x556440
mov word [esp + 0x28], 0x302
lea eax, [esp + 0x18]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov word [esp + 0x10], 0x402
mov eax, esp
mov ecx, edi
push eax
call fcn.005394d0
mov dword [esp], ebx
mov byte [esp + 4], 0x12
mov dword [esp + 5], 0x726f633c
mov dword [esp + 9], 0x74707572
mov word [esp + 0xd], 0x3e
test byte [esp + 0x5c], 1
je 0x50fb40
push dword [esp + 0x64]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x50fc87
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x50fc87
test ecx, ecx
je 0x50fb7d
cmp ebx, 0xfffffff8
jae 0x50fcb0
cmp ebx, 0xb
jae 0x50fb90
mov eax, ebx
add al, bl
mov byte [esp + 0x18], al
lea eax, [esp + 0x19]
test ebx, ebx
jne 0x50fbbc
jmp 0x50fbcf
xorps xmm0, xmm0
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
jmp 0x50fbd3
mov esi, ebx
or esi, 7
lea eax, [esi + 1]
push eax
mov dword [esp + 0x30], ecx
call sub.libc.dll_operator_new_unsigned_int_
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x20], eax
add esi, 2
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
push ebx
push ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x38]
add esp, 0xc
mov byte [eax + ebx], 0
movzx ebx, byte [esp + 0x18]
mov eax, ebx
and al, 1
je 0x50fbe8
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
jmp 0x50fbee
shr ebx, 1
lea edx, [esp + 0x19]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
lea ecx, [esp + 4]
test edx, edx
je 0x50fc1d
cmp ebx, 0xfffffff8
jae 0x50fcb4
cmp ebx, 0xb
jae 0x50fc2d
mov eax, ebx
add al, bl
mov byte [esp + 4], al
lea eax, [esp + 5]
test ebx, ebx
jne 0x50fc59
jmp 0x50fc6c
xorps xmm0, xmm0
movsd qword [ecx], xmm0
mov dword [ecx + 8], 0
jmp 0x50fc77
mov esi, ebx
or esi, 7
lea eax, [esi + 1]
push eax
mov dword [esp + 0x34], edx
call sub.libc.dll_operator_new_unsigned_int_
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0xc], eax
add esi, 2
mov dword [esp + 4], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], eax
push ebx
push edx
push eax
call sub.msvcrt.dll_memmove
mov eax, dword [esp + 0x20]
add esp, 0xc
mov byte [eax + ebx], 0
movzx eax, byte [esp + 0x18]
and al, 1
test al, al
je 0x50fc87
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x3c], 1
je 0x50f8a9
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
test ecx, ecx
je 0x50f8a9
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x50f8a9
lea ecx, [esp + 0x18]
call fcn.00407790
int3