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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x120
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [esp + 0xe8], ecx
mov dword [ecx + 8], 0
lea ecx, [esp + 0x110]
mov dword [esp + 0x1c], edx
push dword [edx + 0x3c]
call fcn.00502220
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x514f72
mov eax, ecx
mov ecx, dword [esp + 0x110]
shl eax, 6
add eax, ecx
mov dword [esp + 0xfc], eax
xor eax, eax
xor edx, edx
jmp 0x513b32
mov ecx, dword [esp + 0x18]
add ecx, 0x40
cmp ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x108]
je 0x514f72
mov dword [esp + 0x48], edx
mov edi, eax
add eax, 1
mov dword [esp + 0x10c], eax
adc edx, 0
mov dword [esp + 0x108], edx
mov dword [esp + 0x18], ecx
cmp dword [ecx + 4], 0x11000000
jne 0x513b10
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x28]
bswap eax
lea ecx, [esp + 0xd0]
push eax
mov ebx, dword [esp + 0x20]
push dword [ebx + 0x3c]
call fcn.00506ca0
test byte [esp + 0xd4], 1
mov dword [esp + 0x4c], edi
jne 0x513c80
mov eax, dword [esi + 0x2c]
bswap eax
lea ecx, [esp + 0xd8]
push eax
push dword [esp + 0xd4]
push dword [ebx + 0x3c]
call fcn.00508430
test byte [esp + 0xdc], 1
jne 0x513db2
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x44], eax
mov edi, dword [esi + 0x2c]
mov esi, dword [esp + 0xd0]
mov ebx, dword [ebx + 0x3c]
lea ecx, [esp + 0x78]
push ebx
call fcn.00502220
test byte [esp + 0x80], 1
jne 0x513ff7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp], eax
sub esp, 0x10
movsd xmm0, qword [esp + 0x10]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
lea ecx, [esp + 0x30]
call fcn.00502840
test byte [esp + 0x80], 1
je 0x513c2f
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x78], 0
test ecx, ecx
je 0x513c2f
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x28], 1
mov ebx, dword [esp + 0x1c]
jne 0x514013
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx]
bswap ecx
cmp ecx, eax
jae 0x514238
mov eax, dword [esp + 0x20]
test eax, eax
je 0x514400
add eax, ecx
mov dword [esp + 0x2c], eax
push eax
call sub.msvcrt.dll_strlen
add esp, 4
jmp 0x51440a
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00502220
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
mov edi, dword [esp + 0x18]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [edi + 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 + 0x78], eax
mov dword [esp + 0x80], esi
mov word [esp + 0x88], 0x802
lea esi, [esp + 0xb8]
mov ecx, esi
lea eax, [esp + 0x78]
push eax
call fcn.00550b46
mov ecx, esi
push str.unable_to_get_the_symbol_table_for
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x50]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
xor eax, eax
test byte [esp + 0xd4], 1
je 0x513d7c
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x20]
test al, 1
je 0x513ee4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x513eea
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00502220
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x30]
mov eax, dword [edi]
mov edi, dword [esp + 0x18]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [edi + 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 + 0x78], eax
mov dword [esp + 0x80], esi
mov word [esp + 0x88], 0x802
lea esi, [esp + 0xb8]
mov ecx, esi
lea eax, [esp + 0x78]
push eax
call fcn.00550b46
mov ecx, esi
push str.unable_to_get_the_signature_symbol_for
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x50]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
xor eax, eax
test byte [esp + 0xdc], 1
je 0x513eae
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x20]
test al, 1
je 0x51413a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
jmp 0x514140
shr eax, 1
lea edx, [esp + 0x21]
lea ecx, [esp + 0x30]
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 + 0x88], 0x104
mov eax, esp
mov dword [esp + 0x78], eax
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
test byte [esp], 1
jne 0x513f9c
test byte [esp + 0x20], 1
jne 0x513faf
mov ecx, dword [esp + 0xf4]
test ecx, ecx
je 0x513f52
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x513fc8
test byte [esp + 0x50], 1
jne 0x513fdb
test byte [esp + 0xb8], 1
je 0x513f79
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov dword [esp + 0x14], 3
mov dword [esp + 0x2c], 0x55c07f
test byte [esp + 0xd4], 1
jne 0x514467
jmp 0x514482
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x20], 1
je 0x513f42
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xf4]
test ecx, ecx
jne 0x513f4d
jmp 0x513f52
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x513f60
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
jne 0x513f6a
jmp 0x513f79
mov eax, dword [esp + 0x78]
mov byte [esp + 0x28], 0xff
mov dword [esp + 0x20], eax
test byte [esp + 0x28], 1
mov ebx, dword [esp + 0x1c]
je 0x513c3e
mov ebx, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push ebx
call fcn.00502220
mov edi, esi
sub edi, dword [esp + 0x30]
mov eax, dword [ebx]
movzx eax, word [eax + 0x12]
rol ax, 8
sar edi, 6
movzx eax, ax
mov ecx, dword [esi + 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 + 0x78], eax
mov dword [esp + 0x80], edi
mov word [esp + 0x88], 0x802
lea esi, [esp + 0xb8]
mov ecx, esi
lea eax, [esp + 0x78]
push eax
call fcn.00550b46
mov ecx, esi
push str.unable_to_get_the_string_table_for
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x50], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x50]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
xor eax, eax
test byte [esp + 0x28], 1
je 0x514100
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x68]
test al, 1
mov edi, dword [esp + 0x18]
je 0x5142f7
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
jmp 0x5142fd
shr eax, 1
lea edx, [esp + 0x21]
lea ecx, [esp + 0x30]
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 + 0x88], 0x104
mov eax, esp
mov dword [esp + 0x78], eax
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
test byte [esp], 1
jne 0x5141e1
test byte [esp + 0x20], 1
jne 0x5141f4
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x5141a8
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x51420d
test byte [esp + 0x50], 1
jne 0x514220
test byte [esp + 0xb8], 1
je 0x5141cf
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, 3
mov dword [esp + 0x2c], 0x55c07f
jmp 0x514430
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x20], 1
je 0x514198
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xf8]
test ecx, ecx
jne 0x5141a3
jmp 0x5141a8
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x5141b6
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
jne 0x5141c0
jmp 0x5141cf
bswap edi
mov dword [esp + 0xb8], str.unable_to_get_the_name_of_the_symbol_with_index
mov dword [esp + 0xc0], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0xe0], eax
mov word [esp + 0xc8], 0x803
lea eax, [esp + 0xb8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], str.:_st_name__0x
mov word [esp + 0x60], 0x302
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x38], eax
mov word [esp + 0x40], 0xe02
lea eax, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 8], str.__is_past_the_end_of_the_string_table_of_size_0x
mov word [esp + 0x10], 0x302
mov dword [esp + 0xe4], 0
mov eax, esp
mov dword [esp + 0x78], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x80], eax
mov word [esp + 0x88], 0xe02
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
mov eax, 3
mov dword [esp + 0x2c], 0x55c07f
jmp 0x51440a
shr eax, 1
lea edx, [esp + 0x69]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
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 + 0x88], 0x104
mov eax, esp
mov dword [esp + 0x78], eax
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
test byte [esp], 1
jne 0x5143a9
test byte [esp + 0x68], 1
jne 0x5143bc
mov ecx, dword [esp + 0xe0]
test ecx, ecx
je 0x514369
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x5143d5
test byte [esp + 0x50], 1
jne 0x5143e8
test byte [esp + 0xb8], 1
je 0x514390
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, 3
mov dword [esp + 0x2c], 0x55c07f
test byte [esp + 0x28], 1
jne 0x514415
jmp 0x514430
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x514359
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xe0]
test ecx, ecx
jne 0x514364
jmp 0x514369
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x514377
push dword [esp + 0x58]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
jne 0x514381
jmp 0x514390
mov dword [esp + 0x2c], 0
xor eax, eax
mov edi, dword [esp + 0x18]
test byte [esp + 0x28], 1
je 0x514430
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x514430
mov edx, dword [ecx]
mov esi, eax
call dword [edx + 4]
mov eax, esi
nop
test byte [esp + 0xdc], 1
je 0x514459
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xd8], 0
test ecx, ecx
je 0x514459
mov edx, dword [ecx]
mov esi, eax
call dword [edx + 4]
mov eax, esi
mov dword [esp + 0x14], eax
test byte [esp + 0xd4], 1
je 0x514482
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xd0], 0
test ecx, ecx
je 0x514482
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x50]
push edi
push dword [ebx + 0x3c]
call fcn.00503480
test byte [esp + 0x58], 1
jne 0x5144c0
mov edi, dword [esp + 0x54]
test edi, edi
je 0x5146d6
mov esi, dword [esp + 0x50]
test byte [esp + 0x58], 1
jne 0x514827
jmp 0x51483c
mov ebx, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push ebx
call fcn.00502220
mov esi, edi
sub esi, dword [esp + 0x30]
mov eax, dword [ebx]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [edi + 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 + 0x78], eax
mov dword [esp + 0x80], esi
mov word [esp + 0x88], 0x802
lea esi, [esp + 0x20]
mov ecx, esi
lea eax, [esp + 0x78]
push eax
call fcn.00550b46
mov ecx, esi
push str.unable_to_get_the_content_of_the
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0xb8], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0xc0], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0xb8]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
xor eax, eax
test byte [esp + 0x58], 1
je 0x5145b3
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x68]
test al, 1
je 0x5145e2
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
jmp 0x5145e8
shr eax, 1
lea edx, [esp + 0x69]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
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 + 0x88], 0x104
mov eax, esp
mov dword [esp + 0x78], eax
mov ecx, ebx
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
test byte [esp], 1
jne 0x514671
test byte [esp + 0x68], 1
jne 0x514684
mov ecx, dword [esp + 0xf0]
test ecx, ecx
je 0x514654
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x30], 1
jne 0x51469d
test byte [esp + 0xb8], 1
jne 0x5146b3
test byte [esp + 0x20], 1
jne 0x5146cd
jmp 0x51481c
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x514644
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xf0]
test ecx, ecx
jne 0x51464f
jmp 0x514654
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
je 0x514665
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x20], 1
je 0x51481c
push dword [esp + 0x28]
jmp 0x514814
mov edi, dword [ebx + 0x3c]
lea ecx, [esp + 0x30]
push edi
call fcn.00502220
mov ecx, dword [esp + 0x18]
mov esi, ecx
sub esi, dword [esp + 0x30]
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 ebx, esp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], esi
mov word [esp + 0x88], 0x802
lea edi, [esp + 0xb8]
mov ecx, edi
lea esi, [esp + 0x78]
push esi
call fcn.00550b46
mov ecx, edi
push str.unable_to_read_the_section_group_flag_from_the
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x30]
push str.:_the_section_is_empty
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 + 0x88], 0x104
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push esi
call fcn.0053aad0
test byte [esp], 1
jne 0x5147e4
test byte [esp + 0x30], 1
jne 0x5147f7
test byte [esp + 0xb8], 1
jne 0x51480d
jmp 0x51481c
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x30], 1
je 0x5147d8
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0xb8], 1
je 0x51481c
push dword [esp + 0xc0]
call sub.libc.dll_operator_delete_void_
add esp, 4
xor esi, esi
xor edi, edi
test byte [esp + 0x58], 1
je 0x51483c
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x51483c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
mov edx, dword [esp + 0x18]
call fcn.00505ab0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov eax, dword [0x5657e4]
cmp byte [eax], 0
je 0x514892
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
sub esp, 0xc
movsd xmm0, qword [esp + 0xc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00550ab6
add esp, 0xc
mov edx, dword [esp + 0x48]
jmp 0x514937
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edx, dword [esp + 0x14]
je 0x5148c8
cmp edx, 0xfffffff0
jae 0x514f84
mov dword [esp + 0x44], esi
cmp edx, 0xb
jae 0x5148e9
mov eax, edx
add al, dl
mov byte [esp + 0x80], al
lea esi, [esp + 0x81]
test edx, edx
jne 0x51491c
jmp 0x51492b
lea eax, [esp + 0x80]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [esp + 0x48]
jmp 0x514937
mov ebx, edx
or ebx, 0xf
lea eax, [ebx + 1]
push eax
call sub.libc.dll_operator_new_unsigned_int_
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
mov dword [esp + 0x88], eax
add ebx, 2
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
push edx
push ecx
push esi
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x20]
add esp, 0xc
mov byte [esi + edx], 0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
bswap eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0x28]
bswap eax
mov dword [esp + 0xa0], eax
mov eax, dword [ecx + 0x2c]
bswap eax
mov dword [esp + 0xa4], eax
test edi, edi
je 0x514983
mov eax, dword [esi]
jmp 0x514985
xor eax, eax
bswap eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0xe8]
lea edx, [esp + 0x78]
call fcn.00453fe0
mov eax, dword [esp + 0xac]
test eax, eax
je 0x5149da
mov dword [esp + 0xb0], eax
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x80], 1
je 0x5149f3
push dword [esp + 0x88]
call sub.libc.dll_operator_delete_void_
add esp, 4
test edi, edi
je 0x513b10
cmp edi, 1
je 0x513b10
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + 4]
lea ecx, [esi + edi*4]
mov dword [esp + 0x2c], ecx
mov edi, eax
add esi, 4
mov dword [esp + 0x14], eax
jmp 0x514a52
mov dword [edx], 0x55c07f
mov dword [edx + 4], 3
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], 0
add edx, 0x10
mov dword [edi - 8], edx
mov esi, dword [esp + 0x44]
add esi, 4
cmp esi, dword [esp + 0x2c]
je 0x513b10
mov ebx, dword [esi]
bswap ebx
mov ecx, esp
mov eax, dword [esp + 0x1c]
push dword [eax + 0x3c]
call fcn.00502220
test byte [esp + 8], 1
mov dword [esp + 0x48], ebx
jne 0x514ac0
cmp ebx, dword [esp + 4]
jae 0x514ba0
mov edx, ebx
shl edx, 6
add edx, dword [esp]
mov ecx, dword [esp + 0x1c]
call fcn.00505ab0
mov ecx, edi
mov edi, dword [edi - 8]
mov ebx, dword [ecx - 4]
mov dword [esp + 0x4c], ebx
cmp edi, ebx
jae 0x514e65
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esp + 0x48]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
add edi, 0x10
mov dword [ecx - 8], edi
mov edi, ecx
jmp 0x514a45
mov dword [esp + 0x44], esi
mov edi, dword [esp]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xb8], str.unable_to_get_the_section_with_index
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc0], eax
mov word [esp + 0xc8], 0x803
lea eax, [esp + 0xb8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], str._when_dumping_the
mov word [esp + 0x60], 0x302
mov esi, dword [esi + 0x3c]
lea ecx, [esp + 0x30]
push esi
call fcn.00502220
mov ecx, dword [esp + 0x18]
mov ebx, ecx
sub ebx, dword [esp + 0x30]
mov eax, dword [esi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar ebx, 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 + 0x78], eax
mov dword [esp + 0x80], ebx
mov word [esp + 0x88], 0x802
lea ecx, [esp + 0x20]
lea eax, [esp + 0x78]
push eax
call fcn.00550b46
movzx eax, byte [esp + 0x60]
cmp eax, 1
je 0x514c30
test eax, eax
mov esi, dword [esp + 0x1c]
jne 0x514c50
mov word [esp + 0x40], 0x100
mov cl, 1
xor eax, eax
jmp 0x514c9f
mov dword [esp + 0x78], str.invalid_section_index:
mov dword [esp + 0x80], ebx
mov word [esp + 0x88], 0x803
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.00550996
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x84]
mov dword [esp], eax
mov ecx, edi
call fcn.005507bc
test byte [esp + 8], 1
mov dword [esp + 0x44], esi
je 0x514ac7
mov ecx, dword [esp]
mov dword [esp], 0
test ecx, ecx
mov esi, dword [esp + 0x1c]
je 0x514acb
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x514acb
lea edx, [esp + 0x20]
mov dword [esp + 0x30], edx
mov word [esp + 0x40], 0x104
mov al, 4
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
jmp 0x514c8e
cmp byte [esp + 0x61], 1
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x50]
cmovne ecx, edx
movzx eax, al
mov edx, 2
cmovne eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 4
mov al, 2
lea edx, [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x558038
mov cl, 3
mov byte [esp + 0x10], al
mov byte [esp + 0x11], cl
mov dword [esp + 0xec], edi
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x10]
mov cl, 1
test eax, eax
je 0x514cf0
cmp eax, 1
mov edi, dword [esp + 0x14]
jne 0x514d00
lea eax, [esp + 0x68]
mov dword [esp + 0x78], eax
mov al, 4
jmp 0x514d31
mov edi, dword [esp + 0x14]
jmp 0x514d31
cmp byte [esp + 0x11], 1
mov ecx, dword [esp]
mov edx, esp
cmovne ecx, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x7c], ecx
movzx eax, al
mov ecx, 2
cmovne eax, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ecx
mov cl, 4
mov byte [esp + 0x88], al
mov byte [esp + 0x89], cl
mov ecx, esi
lea eax, [esp + 0x78]
push eax
call fcn.0053aad0
test byte [esp + 0x68], 1
je 0x514d5e
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x514d6e
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
je 0x514d81
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov edx, dword [edi - 8]
mov eax, dword [edi - 4]
cmp edx, eax
jb 0x514a20
mov ecx, dword [edi - 0xc]
mov edi, edx
sub edi, ecx
sar edi, 4
lea esi, [edi + 1]
cmp esi, 0x10000000
jae 0x514f7a
sub eax, ecx
mov ebx, eax
sar ebx, 3
cmp ebx, esi
cmovbe ebx, esi
cmp eax, 0x7ffffff0
mov eax, 0xfffffff
cmovae ebx, eax
test ebx, ebx
je 0x514deb
cmp ebx, 0x10000000
jae 0x514f7f
mov eax, ebx
shl eax, 4
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
mov edx, dword [edx - 8]
jmp 0x514ded
xor eax, eax
shl edi, 4
mov dword [eax + edi], 0x55c07f
mov dword [eax + edi + 4], 3
mov esi, dword [esp + 0x48]
mov dword [eax + edi + 8], esi
lea esi, [eax + edi]
mov dword [eax + edi + 0xc], 0
cmp edx, ecx
je 0x514e3b
nop word cs:[eax + eax]
movups xmm0, xmmword [edx - 0x10]
add edx, 0xfffffff0
movups xmmword [esi - 0x10], xmm0
add esi, 0xfffffff0
cmp edx, ecx
jne 0x514e20
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
jmp 0x514e3f
mov edx, dword [esp + 0x14]
shl ebx, 4
add ebx, eax
add eax, edi
add eax, 0x10
mov dword [edx - 0xc], esi
mov dword [edx - 8], eax
mov dword [edx - 4], ebx
test ecx, ecx
mov esi, dword [esp + 0x44]
mov edi, edx
jne 0x514f64
jmp 0x514a45
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], eax
mov dword [esp + 0x44], esi
mov ecx, dword [ecx - 0xc]
mov ebx, edi
sub ebx, ecx
sar ebx, 4
lea esi, [ebx + 1]
cmp esi, 0x10000000
jae 0x514f7a
mov edx, dword [esp + 0x4c]
sub edx, ecx
mov eax, edx
sar eax, 3
cmp eax, esi
cmovbe eax, esi
cmp edx, 0x7ffffff0
mov edx, eax
mov eax, 0xfffffff
cmovae edx, eax
mov dword [esp + 0x4c], edx
test edx, edx
je 0x514ee2
cmp dword [esp + 0x4c], 0x10000000
jae 0x514f7f
mov eax, dword [esp + 0x4c]
shl eax, 4
push eax
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
mov edi, dword [edx - 8]
jmp 0x514ee4
xor eax, eax
shl ebx, 4
mov edx, dword [esp + 0x100]
mov dword [eax + ebx + 4], edx
mov esi, dword [esp + 0x104]
mov dword [eax + ebx], esi
mov esi, dword [esp + 0x48]
mov dword [eax + ebx + 8], esi
lea esi, [eax + ebx]
mov dword [eax + ebx + 0xc], 0
cmp edi, ecx
je 0x514f3b
nop word cs:[eax + eax]
movups xmm0, xmmword [edi - 0x10]
add edi, 0xfffffff0
movups xmmword [esi - 0x10], xmm0
add esi, 0xfffffff0
cmp edi, ecx
jne 0x514f20
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
jmp 0x514f3f
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
shl edi, 4
add edi, eax
add eax, ebx
add eax, 0x10
mov dword [edx - 0xc], esi
mov dword [edx - 8], eax
mov dword [edx - 4], edi
test ecx, ecx
mov esi, dword [esp + 0x44]
mov edi, edx
je 0x514a45
push ecx
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x514a45
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.00454250
call fcn.004077b0
lea ecx, [esp + 0x80]
call fcn.00407790