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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov dword [esp + 0x8c], edx
mov esi, ecx
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x34], str.BuildAttributes
mov dword [esp + 0x38], 0xf
mov eax, dword [ecx]
sub esp, 8
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
mov dword [esp + 0x90], ecx
call dword [eax + 0x7c]
lea ecx, [esp + 0x98]
mov dword [esp + 4], esi
push dword [esi + 0x3c]
call fcn.00500980
mov esi, dword [esp + 0x9c]
test esi, esi
je 0x51df79
mov eax, dword [esp + 0x98]
shl esi, 6
lea ebx, [eax + 4]
jmp 0x51d92d
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
add ebx, 0x40
add eax, 0x40
add esi, 0xffffffc0
je 0x51df79
cmp dword [ebx], 0x3000070
jne 0x51d91e
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], esi
lea eax, [ebx - 4]
lea ecx, [esp + 0x48]
push eax
mov eax, dword [esp + 8]
push dword [eax + 0x3c]
call fcn.0050b4f0
test byte [esp + 0x50], 1
jne 0x51db10
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x51dd07
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x20]
movzx eax, byte [edi]
mov dword [esp + 0x34], str.FormatVersion
mov dword [esp + 0x38], 0xd
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov eax, dword [ecx]
sub esp, 0x10
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x44]
movsd qword [esp], xmm0
call dword [eax + 0xa8]
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], esi
sub esp, 0x10
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x6c]
call fcn.0054f32c
cmp dword [esp + 0x5c], 0
je 0x51d916
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x3c]
lea ecx, [esp + 8]
push edi
call fcn.00500980
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 8]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ebx]
bswap ecx
push ecx
push eax
call fcn.0054f434
add esp, 8
mov word [esp + 0x28], 0x305
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str._section_with_index
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x902
lea esi, [esp + 0x68]
mov ecx, esi
lea eax, [esp + 0x34]
push eax
call fcn.0054f5a2
mov ecx, esi
push str.unable_to_dump_attributes_from_the
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x48]
push 0x556440
call fcn.0054f9a4
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0054f518
add esp, 8
movzx eax, byte [esp + 0x74]
test al, 1
je 0x51de15
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
jmp 0x51de1b
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x3c]
lea ecx, [esp + 8]
push edi
call fcn.00500980
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 8]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ebx]
bswap ecx
push ecx
push eax
call fcn.0054f434
add esp, 8
mov word [esp + 0x28], 0x305
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str._section_with_index
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x902
lea esi, [esp + 0x74]
mov ecx, esi
lea eax, [esp + 0x34]
push eax
call fcn.0054f5a2
mov ecx, esi
push str.unable_to_read_the_content_of_the
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x68], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x68]
push 0x556440
call fcn.0054f9a4
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
xor eax, eax
test byte [esp + 0x50], 1
je 0x51dbf0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0054f518
add esp, 8
movzx eax, byte [esp + 0x5c]
test al, 1
je 0x51dc1f
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
jmp 0x51dc25
shr eax, 1
lea edx, [esp + 0x5d]
mov esi, dword [esp + 0x58]
lea ecx, [esp + 8]
push eax
push edx
call fcn.0054f9aa
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x44], 0x104
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
lea eax, [esp + 0x34]
push eax
call fcn.005394d0
test byte [esp + 0x18], 1
jne 0x51dca8
test byte [esp + 0x5c], 1
jne 0x51dcbb
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x51dc8e
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 8], 1
jne 0x51dcd4
test byte [esp + 0x68], 1
jne 0x51dce7
test byte [esp + 0x74], 1
jne 0x51dcfe
jmp 0x51df50
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x5c], 1
je 0x51dc7e
push dword [esp + 0x64]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x51dc89
jmp 0x51dc8e
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x51dc9c
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x74], 1
je 0x51df50
push dword [esp + 0x7c]
jmp 0x51df48
mov eax, dword [esp + 4]
mov edi, dword [eax + 0x3c]
lea ecx, [esp + 8]
push edi
call fcn.00500980
mov esi, dword [esp + 0x30]
sub esi, dword [esp + 8]
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
rol ax, 8
sar esi, 6
movzx eax, ax
mov ecx, dword [ebx]
bswap ecx
push ecx
push eax
call fcn.0054f434
add esp, 8
mov word [esp + 0x28], 0x305
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], str._section_with_index
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x44], 0x902
lea edi, [esp + 0x68]
mov ecx, edi
lea esi, [esp + 0x34]
push esi
call fcn.0054f5a2
mov ecx, edi
push 0x560533
push 0
call fcn.0054f9b6
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 8], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 8]
push str._is_empty
call fcn.0054f9a4
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x44], 0x104
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
push esi
call fcn.005394d0
test byte [esp + 0x18], 1
jne 0x51df16
test byte [esp + 8], 1
mov esi, dword [esp + 0x58]
jne 0x51df31
test byte [esp + 0x68], 1
jne 0x51df44
jmp 0x51df50
shr eax, 1
lea edx, [esp + 0x75]
lea ecx, [esp + 8]
push eax
push edx
call fcn.0054f9aa
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
mov word [esp + 0x44], 0x104
lea eax, [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
lea eax, [esp + 0x34]
push eax
call fcn.005394d0
test byte [esp + 0x18], 1
jne 0x51dea2
test byte [esp + 0x74], 1
jne 0x51deb5
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x51de80
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 8], 1
jne 0x51dece
test byte [esp + 0x48], 1
jne 0x51dee1
test byte [esp + 0x68], 1
jne 0x51def4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x51df0c
jmp 0x51d916
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x74], 1
je 0x51de70
push dword [esp + 0x7c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x80]
test ecx, ecx
jne 0x51de7b
jmp 0x51de80
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x48], 1
je 0x51de8e
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x51de95
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x51d916
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x51d916
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 8], 1
mov esi, dword [esp + 0x58]
je 0x51de05
push dword [esp + 0x10]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x68], 1
je 0x51df50
push dword [esp + 0x70]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x50], 1
je 0x51d91a
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x51d91a
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x51d91a
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx]
call dword [eax + 0x80]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret