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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xcc
mov ebp, ecx
mov ebx, dword [esp + 0xe0]
mov esi, dword [edx + 0x3c]
movzx eax, byte [ebx + 0x1f]
add eax, dword [esi]
test al, 1
jne 0x520474
mov edi, edx
lea ecx, [esp + 0x98]
push ebx
push esi
call fcn.00509e10
test byte [esp + 0xa0], 1
jne 0x5205ac
mov dword [esp + 0xa8], edi
mov edi, dword [edi + 0x3c]
mov eax, dword [ebx + 0x28]
bswap eax
lea ecx, [esp + 0x84]
push eax
push edi
call fcn.00506ca0
test byte [esp + 0x88], 1
mov dword [esp + 0x80], ebp
jne 0x52070e
mov eax, dword [esp + 0x84]
cmp dword [eax + 4], 0xb000000
jne 0x520963
lea ecx, [esp + 0x68]
push eax
push edi
call fcn.0050c5f0
test byte [esp + 0x70], 1
jne 0x520c30
mov eax, dword [esp + 0x84]
test eax, eax
je 0x52110a
lea ecx, [esp + 0x54]
push eax
push edi
call fcn.00508cd0
movzx eax, byte [esp + 0x5c]
test al, 1
jne 0x521153
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xa4], ecx
jmp 0x521136
lea ecx, [esp + 0x20]
push esi
call fcn.00502220
mov edi, ebx
sub edi, dword [esp + 0x20]
mov eax, dword [esi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar edi, 6
movzx eax, ax
mov ecx, dword [ebx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov ebx, esp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x44], 0x802
lea esi, [esp + 0x34]
lea edi, [esp + 0x68]
mov ecx, edi
push esi
call fcn.00550b46
mov ecx, edi
push 0x56088b
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._is_misaligned
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x44], 0x104
mov dword [esp + 0x34], ebx
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.00550996
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
mov ecx, edi
call fcn.005507bc
or byte [ebp + 8], 1
mov dword [ebp], edi
test byte [esp], 1
jne 0x5206cf
test byte [esp + 0x20], 1
jne 0x5206e6
test byte [esp + 0x68], 1
jne 0x5206fd
jmp 0x520fd9
mov esi, dword [edi + 0x3c]
lea ecx, [esp + 0x20]
push esi
call fcn.00502220
mov edi, ebx
sub edi, dword [esp + 0x20]
mov eax, dword [esi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar edi, 6
movzx eax, ax
mov ecx, dword [ebx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov ebx, esp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], edi
mov word [esp + 0x44], 0x802
lea esi, [esp + 0x34]
lea edi, [esp + 0x54]
mov ecx, edi
push esi
call fcn.00550b46
mov ecx, edi
push str.cannot_read_content_of
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x68]
push 0x558038
call fcn.00550f36
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
xor eax, eax
test byte [esp + 0xa0], 1
je 0x520699
mov eax, dword [esp + 0x98]
mov dword [esp + 0x98], 0
mov dword [esp + 0xb0], eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x14]
test al, 1
je 0x520830
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x520836
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x20], 1
je 0x52059c
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x520fd9
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x520fd9
lea ecx, [esp + 0x20]
push edi
call fcn.00502220
mov esi, ebx
sub esi, dword [esp + 0x20]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ebx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov ebp, esp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x802
lea eax, [esp + 0x34]
lea ebx, [esp + 0x54]
mov ecx, ebx
mov edi, eax
push eax
call fcn.00550b46
mov ecx, ebx
push str.invalid_section_linked_to
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x68]
push 0x558038
call fcn.00550f36
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
xor eax, eax
test byte [esp + 0x88], 1
je 0x5207fa
mov eax, dword [esp + 0x84]
mov dword [esp + 0x84], 0
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x14]
test al, 1
je 0x520b16
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x520b1c
shr eax, 1
lea edx, [esp + 0x15]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x44], 0x104
mov dword [esp + 0x34], ebx
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], esi
mov ecx, edi
call fcn.005507bc
or byte [ebp + 8], 1
mov dword [ebp], edi
test byte [esp], 1
jne 0x5208f2
test byte [esp + 0x14], 1
jne 0x520905
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x5208ca
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x52091e
test byte [esp + 0x68], 1
jne 0x520931
test byte [esp + 0x54], 1
jne 0x520944
test byte [esp + 0xa0], 1
jne 0x520fbe
jmp 0x520fd9
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
je 0x5208ba
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x5208c5
jmp 0x5208ca
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x5208d8
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x54], 1
je 0x5208df
push dword [esp + 0x5c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xa0], 1
jne 0x520fbe
jmp 0x520fd9
lea ecx, [esp + 0x20]
push edi
call fcn.00502220
mov ecx, dword [esp + 0xe0]
mov esi, ecx
sub esi, dword [esp + 0x20]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov eax, esp
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x802
lea ebx, [esp + 0x34]
lea ebp, [esp + 0x14]
mov ecx, ebp
push ebx
call fcn.00550b46
mov ecx, ebp
push str.invalid_section_linked_to
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x54], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x54]
push str.:_expected
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x68], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
movzx eax, ax
push 0xb
push eax
call fcn.005509d8
add esp, 8
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov word [esp + 0x30], 0x504
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 8], str.__but_got
mov word [esp + 0x10], 0x302
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
movzx eax, ax
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov ecx, esp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov word [esp + 0x44], 0x502
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, 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], ebx
mov ecx, esi
call fcn.005507bc
test byte [esp + 0x68], 1
jne 0x520d4e
test byte [esp + 0x54], 1
jne 0x520d65
test byte [esp + 0x14], 1
mov ebp, dword [esp + 0x80]
jne 0x520d7f
jmp 0x520d8b
shr eax, 1
lea edx, [esp + 0x15]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x44], 0x104
mov dword [esp + 0x34], ebp
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, 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], edi
mov ecx, esi
call fcn.005507bc
test byte [esp], 1
jne 0x520bca
test byte [esp + 0x14], 1
mov ebp, dword [esp + 0x80]
jne 0x520be4
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x520bb0
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x520bfd
test byte [esp + 0x68], 1
jne 0x520c10
test byte [esp + 0x54], 1
jne 0x520c27
jmp 0x520d8b
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
mov ebp, dword [esp + 0x80]
je 0x520ba0
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jne 0x520bab
jmp 0x520bb0
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x520bbe
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x54], 1
je 0x520d8b
push dword [esp + 0x5c]
jmp 0x520d83
lea ecx, [esp + 0x20]
push edi
call fcn.00502220
mov ecx, dword [esp + 0xe0]
mov esi, ecx
sub esi, dword [esp + 0x20]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov ebp, esp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x802
lea edi, [esp + 0x34]
lea ebx, [esp + 0x14]
mov ecx, ebx
push edi
call fcn.00550b46
mov ecx, ebx
push str.cant_get_a_string_table_for_the_symbol_table_linked_to
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x54], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x5c], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x54]
push 0x558038
call fcn.00550f36
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
xor eax, eax
test byte [esp + 0x70], 1
je 0x520d18
mov eax, dword [esp + 0x68]
mov dword [esp + 0x68], 0
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x48]
test al, 1
je 0x520fe4
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
jmp 0x520fea
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x54], 1
je 0x520aff
push dword [esp + 0x5c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
mov ebp, dword [esp + 0x80]
je 0x520d8b
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov bl, 0xff
test byte [esp + 0x88], 1
je 0x520db2
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x84], 0
test ecx, ecx
je 0x520db2
mov eax, dword [ecx]
call dword [eax + 4]
test bl, 1
jne 0x520f77
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x9c]
je 0x520f42
mov edi, dword [esp + 0xa8]
mov dword [esp + 0xc8], esi
mov ebp, dword [edi + 0x3c]
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], eax
push ebp
call fcn.00502220
mov ebx, dword [esp + 0xe0]
mov esi, ebx
sub esi, dword [esp + 0x20]
mov eax, dword [ebp]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ebx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov eax, esp
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x802
lea esi, [esp + 0x34]
lea ebp, [esp + 0x48]
mov ecx, ebp
push esi
call fcn.00550b46
mov ecx, ebp
push str.:_the_number_of_entries__
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
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], eax
mov word [esp + 0x64], 0x804
lea eax, [esp + 0x54]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], str.__does_not_match_the_number_of_symbols__
mov word [esp + 0x78], 0x302
lea eax, [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov word [esp + 0x30], 0x802
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 8], str.__in_the_symbol_table_with_index
mov word [esp + 0x10], 0x302
mov eax, dword [ebx + 0x28]
bswap eax
mov ecx, esp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x44], 0x802
mov ecx, edi
push esi
call fcn.0053aad0
test byte [esp + 0x14], 1
je 0x520f16
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
je 0x520f29
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0xc8]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0xe4]
test ecx, ecx
je 0x520fa2
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xc0]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax], ecx
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xa4]
mov dword [eax], ecx
jmp 0x520fa2
mov dword [esp + 0xac], esi
lea eax, [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push eax
call fcn.0053aa50
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x520fa2
mov eax, dword [ecx]
call dword [eax + 4]
and byte [ebp + 8], 0xfe
movsd xmm0, qword [esp + 0x98]
movsd qword [ebp], xmm0
test byte [esp + 0xa0], 1
je 0x520fd9
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x98], 0
test ecx, ecx
je 0x520fd9
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0xcc
pop esi
pop edi
pop ebx
pop ebp
ret
shr eax, 1
lea edx, [esp + 0x49]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x44], 0x104
mov dword [esp + 0x34], ebp
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, eax
call fcn.00550996
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
mov ecx, esi
call fcn.005507bc
test byte [esp], 1
jne 0x5210af
test byte [esp + 0x48], 1
mov ebp, dword [esp + 0x80]
jne 0x5210c9
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x521087
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x5210e2
test byte [esp + 0x54], 1
jne 0x5210f5
test byte [esp + 0x14], 1
je 0x5210a8
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov bl, 0xff
jmp 0x521370
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
mov ebp, dword [esp + 0x80]
je 0x521077
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xb8]
test ecx, ecx
jne 0x521082
jmp 0x521087
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x54], 1
je 0x521095
push dword [esp + 0x5c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
jne 0x52109c
jmp 0x5210a8
mov byte [esp + 0x5c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
xor eax, eax
mov dword [esp + 0xa4], 0
mov dword [esp + 0x7c], 0
xor esi, esi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc0], ecx
xor ebx, ebx
jmp 0x521357
lea ecx, [esp + 0x20]
push edi
call fcn.00502220
mov ecx, dword [esp + 0xe0]
mov esi, ecx
sub esi, dword [esp + 0x20]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ecx + 4]
bswap ecx
push ecx
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x10], 0x305
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], str._section_with_index
mov ebp, esp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x802
lea edi, [esp + 0x34]
lea ebx, [esp + 0x48]
mov ecx, ebx
push edi
call fcn.00550b46
mov ecx, ebx
push str.unable_to_read_symbols_from_the
push 0
call fcn.00550f48
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 ecx, [esp + 0x14]
push 0x558038
call fcn.00550f36
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
xor eax, eax
test byte [esp + 0x5c], 1
je 0x52123b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x8c]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x8c]
test al, 1
je 0x521276
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x52127f
shr eax, 1
lea edx, [esp + 0x8d]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 8], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x44], 0x104
mov dword [esp + 0x34], ebp
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov esi, eax
call fcn.00550996
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0xc4]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
mov ecx, esi
call fcn.005507bc
test byte [esp], 1
jne 0x521399
test byte [esp + 0x8c], 1
mov ebp, dword [esp + 0x80]
jne 0x5213ba
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x521327
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x5213dd
test byte [esp + 0x14], 1
jne 0x5213f4
test byte [esp + 0x48], 1
je 0x521350
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov bl, 0xff
movzx eax, byte [esp + 0x5c]
test al, 1
je 0x521370
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], 0
test ecx, ecx
je 0x521370
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x70], 1
je 0x520d8d
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x68], 0
test ecx, ecx
je 0x520d8d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x520d8d
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x8c], 1
mov ebp, dword [esp + 0x80]
je 0x521317
push dword [esp + 0x94]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jne 0x521322
jmp 0x521327
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
je 0x52133d
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
jne 0x521344
jmp 0x521350