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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x210
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, dword [ecx]
movdqu xmm0, xmmword [esi + 0x10]
pxor xmm1, xmm1
movdqa xmm2, xmm0
punpckhbw xmm2, xmm1
pshufd xmm2, xmm2, 0x4e
pshuflw xmm2, xmm2, 0x1b
pshufhw xmm2, xmm2, 0x1b
movdqa xmmword [esp + 0xa0], xmm2
punpcklbw xmm0, xmm1
pshufd xmm0, xmm0, 0x4e
pshuflw xmm0, xmm0, 0x1b
pshufhw xmm0, xmm0, 0x1b
movdqa xmmword [esp + 0xb0], xmm0
call dword [eax + 0x90]
mov dword [esp + 0x34], str..eh_frame_section_at_offset_0x_llx_address_0x_llx:_n
mov dword [esp + 0x30], 0x54c120
movdqa xmm0, xmmword [esp + 0xa0]
packuswb xmm0, xmmword [esp + 0xb0]
movdqu xmmword [esp + 0x38], xmm0
lea ecx, [esp + 0x30]
mov dword [esp], ecx
mov ecx, eax
call fcn.0054a3ea
sub esp, 4
mov eax, dword [edi]
inc dword [eax + 8]
mov eax, dword [edi + 4]
add eax, 0x1c
mov dword [esp + 4], esi
mov dword [esp], eax
lea ecx, [esp + 0x94]
call fcn.0050b4b0
sub esp, 8
test byte [esp + 0x9c], 1
jne 0x50db3d
mov dword [esp + 0x24], edi
mov eax, dword [edi + 4]
mov word [esp + 0x114], 0
mov dword [esp + 0x1d0], 0x5580f0
mov dword [esp + 0x1d4], 0x54a6ba
lea esi, [esp + 0x1d0]
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x1b8], 0x5580f0
mov dword [esp + 0x1bc], 0x54a6c0
lea edi, [esp + 0x1b8]
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x114]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
call fcn.0054a40e
mov ecx, dword [esp + 0x1c8]
cmp ecx, edi
je 0x50d289
mov eax, 5
test ecx, ecx
jne 0x50d290
mov ecx, dword [esp + 0x1e0]
cmp ecx, esi
je 0x50d2a0
mov eax, 5
test ecx, ecx
jne 0x50d2a7
jmp 0x50d2ac
mov eax, 4
mov ecx, edi
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [esp + 0x1e0]
cmp ecx, esi
jne 0x50d27e
mov eax, 4
mov ecx, esi
mov edx, dword [ecx]
call dword [edx + eax*4]
movdqa xmm0, xmmword [esp + 0xb0]
packuswb xmm0, xmmword [esp + 0xa0]
movdqa xmmword [esp + 0xb0], xmm0
test byte [esp + 0x114], 1
je 0x50d2e0
mov eax, dword [esp + 0x11c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x40]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
mov ebx, eax
mov eax, dword [eax]
mov dword [esp + 0xa0], eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0xc4]
movdqa xmm0, xmmword [esp + 0xb0]
pshufd xmm1, xmm0, 0x55
movdqa xmmword [esp + 0x120], xmm1
movd dword [esp + 0xc], xmm1
movd dword [esp + 8], xmm0
mov dword [esp], eax
mov dword [esp + 4], 1
lea ecx, [esp + 0x1e8]
call fcn.0054a456
sub esp, 0x10
mov dword [esp + 0x138], esi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x134], eax
mov word [esp + 0x13c], 0x800
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], ebx
mov dword [esp + 0x14], ebx
movups xmm0, xmmword [esp + 0x134]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x1e8]
mov dword [esp], eax
lea ecx, [esp + 0x30]
call fcn.0054a450
sub esp, 0x18
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x50db8a
mov eax, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 0xd0], ecx
cmp eax, ecx
mov edi, dword [esp + 0x24]
je 0x50dada
movaps xmm0, xmmword [esp + 0xb0]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmmword [esp + 0x120]
movss dword [esp + 0x120], xmm0
jmp 0x50d413
mov eax, 4
mov ecx, edx
mov edx, dword [ecx]
call dword [edx + eax*4]
mov eax, dword [esp + 0xb0]
add eax, 4
cmp eax, dword [esp + 0xd0]
je 0x50dada
mov dword [esp + 0xb0], eax
mov ebx, dword [eax]
mov esi, dword [ebx + 4]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0xa0], eax
test ebx, ebx
je 0x50d5d0
test esi, esi
jne 0x50d5d0
mov eax, dword [ebx + 0x10]
add eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x14]
adc ecx, dword [esp + 0x120]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x34], str._0x_llx__CIE_length_llu_n
mov dword [esp + 0x30], 0x54c120
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
lea eax, [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
call fcn.0054a3ea
sub esp, 4
mov ecx, dword [edi]
inc dword [ecx + 8]
mov dword [esp + 0xfc], str.version
mov dword [esp + 0x100], 7
movzx eax, byte [ebx + 0x48]
mov edx, dword [ecx]
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp], xmm0
mov dword [esp + 8], eax
call dword [edx + 0x10]
sub esp, 0xc
mov ecx, dword [edi]
mov dword [esp + 0xf4], str.augmentation
mov dword [esp + 0xf8], 0xc
movsd xmm0, qword [ebx + 0x4c]
movsd qword [esp + 0x148], xmm0
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x148]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xf4]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xec], str.code_alignment_factor
mov dword [esp + 0xf0], 0x15
mov eax, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xec]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x30]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xe4], str.data_alignment_factor
mov dword [esp + 0xe8], 0x15
mov eax, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xe4]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x2c]
sub esp, 0x10
mov ecx, dword [edi]
mov dword [esp + 0xdc], str.return_address_register
mov dword [esp + 0xe0], 0x17
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xdc]
movsd qword [esp], xmm0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call dword [esi + 0x30]
sub esp, 0x10
jmp 0x50d6e3
mov ecx, dword [ebx + 0x10]
add ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x18]
mov dword [esp + 0xcc], esi
mov edi, dword [ebx + 0x60]
mov esi, dword [edi + 0x10]
mov edi, dword [edi + 0x14]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc8], eax
mov dword [esp + 0x34], str._0x_llx__FDE_length_llu_cie_0x_llx__n
mov dword [esp + 0x30], 0x558114
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x120]
adc edx, ecx
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x44], eax
add esi, dword [esp + 0x28]
mov dword [esp + 0x48], esi
adc edi, ecx
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x30]
mov dword [esp], eax
mov esi, eax
mov ecx, dword [esp + 0xa0]
call fcn.0054a3ea
sub esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
inc dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [esp + 0x34], str.initial_location:_0x_llx_n
mov dword [esp + 0x30], 0x54c130
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp], esi
mov ecx, eax
call fcn.0054a3ea
sub esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x5c]
mov esi, dword [ebx + 0x50]
add esi, ecx
mov edi, dword [ebx + 0x54]
adc edi, edx
mov dword [esp + 0x34], str.address_range:_0x_llx__end_:_0x_llx__n
mov dword [esp + 0x30], 0x54c120
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x30]
mov dword [esp], ecx
mov ecx, eax
call fcn.0054a3ea
sub esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x94]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
lea esi, [esp + 0x60]
je 0x50d710
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x50d729
mov dword [esp + 4], 1
mov dword [esp], 0x551f79
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 8
ja 0x50d760
mov dword [esp + 4], 9
mov dword [esp], str.Program:_n
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
jmp 0x50d775
mov byte [ecx + 8], 0xa
mov dword [ecx + 4], 0x3a6d6172
mov dword [ecx], 0x676f7250
add dword [eax + 0x10], 9
mov ecx, dword [edi]
inc dword [ecx + 8]
xorps xmm0, xmm0
lea edi, [esp + 0x48]
movsd qword [edi + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x30], xmm0
movups xmmword [edi + 0x20], xmm0
movups xmmword [edi + 0x10], xmm0
movups xmmword [edi], xmm0
movaps xmm0, xmmword [0x550ff0]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0x10000
mov dword [esp + 0x40], 0
mov dword [esp + 0x60], 0x5580f0
mov dword [esp + 0x64], 0x54a6ba
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], 0x5580f0
mov dword [esp + 0x7c], 0x54a6c0
lea eax, [esp + 0x78]
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
call dword [eax + 0x94]
mov esi, eax
movups xmm0, xmmword [esp + 0x30]
movaps xmmword [esp + 0x150], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x160], xmm0
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x50d840
cmp ecx, edi
je 0x50d880
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x178], eax
mov ecx, dword [esp + 0x70]
test ecx, ecx
lea edi, [esp + 0x180]
jne 0x50d85a
jmp 0x50d8ac
mov dword [esp + 0x178], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
lea edi, [esp + 0x180]
je 0x50d8ac
lea edx, [esp + 0x60]
cmp ecx, edx
je 0x50d8e0
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x190], eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x50d8c2
jmp 0x50d901
lea ecx, [esp + 0x168]
mov dword [esp + 0x178], ecx
mov eax, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, edi
call dword [eax + 0xc]
sub esp, 4
mov ecx, dword [esp + 0x70]
test ecx, ecx
lea edi, [esp + 0x180]
jne 0x50d85a
mov dword [esp + 0x190], 0
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x50d901
lea edx, [esp + 0x78]
cmp ecx, edx
je 0x50d910
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esp + 0x1a8], eax
jmp 0x50d92d
mov dword [esp + 0x190], edi
mov eax, dword [esp + 0x60]
mov dword [esp], edi
mov ecx, edx
call dword [eax + 0xc]
sub esp, 4
mov ecx, dword [esp + 0x88]
test ecx, ecx
jne 0x50d8c2
mov dword [esp + 0x1a8], 0
jmp 0x50d92d
lea ecx, [esp + 0x198]
mov dword [esp + 0x1a8], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0xc]
sub esp, 4
add ebx, 0x20
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
lea eax, [esp + 0x150]
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, ebx
call fcn.0054a74a
sub esp, 0xc
mov ecx, dword [esp + 0x1a8]
lea edx, [esp + 0x198]
cmp ecx, edx
je 0x50d9b0
mov eax, 5
test ecx, ecx
lea esi, [esp + 0x60]
lea ebx, [esp + 0x78]
jne 0x50d9bf
mov ecx, dword [esp + 0x190]
cmp ecx, edi
je 0x50d9cf
mov eax, 5
test ecx, ecx
mov edi, dword [esp + 0x24]
jne 0x50d9da
mov ecx, dword [esp + 0x178]
lea edx, [esp + 0x168]
cmp ecx, edx
je 0x50d9f1
mov eax, 5
test ecx, ecx
jne 0x50d9f8
jmp 0x50d9fd
mov eax, 4
mov ecx, edx
lea esi, [esp + 0x60]
lea ebx, [esp + 0x78]
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [esp + 0x190]
cmp ecx, edi
jne 0x50d983
mov eax, 4
mov ecx, edi
mov edi, dword [esp + 0x24]
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [esp + 0x178]
lea edx, [esp + 0x168]
cmp ecx, edx
jne 0x50d9a2
mov eax, 4
mov ecx, edx
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
cmp edx, 2
lea edx, [edx - 1]
mov edi, 0
cmovl edx, edi
cmp edx, 2
lea edx, [edx - 1]
cmovl edx, edi
mov dword [ecx + 8], edx
call dword [eax + 0x94]
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x50da70
mov byte [ecx], 0xa
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x88]
cmp ecx, ebx
mov edi, dword [esp + 0x24]
je 0x50da98
mov eax, 5
test ecx, ecx
jne 0x50da9f
mov ecx, dword [esp + 0x70]
cmp ecx, esi
je 0x50daac
mov eax, 5
test ecx, ecx
jne 0x50dab3
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x48]
cmp ecx, edx
jne 0x50dac8
jmp 0x50d3f0
mov dword [esp + 4], 1
mov dword [esp], 0x551f79
mov ecx, eax
call fcn.0054a3c0
sub esp, 8
mov ecx, dword [esp + 0x88]
cmp ecx, ebx
mov edi, dword [esp + 0x24]
jne 0x50da41
mov eax, 4
mov ecx, ebx
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [esp + 0x70]
cmp ecx, esi
jne 0x50da52
mov eax, 4
mov ecx, esi
mov edx, dword [ecx]
call dword [edx + eax*4]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x48]
cmp ecx, edx
je 0x50d3f0
mov eax, 5
test ecx, ecx
jne 0x50d3f7
jmp 0x50d3fc
mov eax, dword [edi]
mov ecx, dword [eax + 8]
lea edx, [ecx - 1]
xor esi, esi
cmp ecx, 2
cmovge esi, edx
mov dword [eax + 8], esi
lea ecx, [esp + 0x1e8]
call fcn.0054a45c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x2c], 0
test ecx, ecx
je 0x50db0e
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x9c], 1
je 0x50db33
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x94], 0
test ecx, ecx
je 0x50db33
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0x94]
mov dword [esp + 0x94], 0
mov dword [esp + 0xd8], eax
mov ecx, dword [edi + 4]
call fcn.0054aa3e
mov dword [esp + 0x110], edx
mov dword [esp + 0x10c], eax
movsd xmm0, qword [esp + 0x10c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xd8]
mov dword [esp], eax
call fcn.0052c4c0
mov dword [esp + 0xd4], eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.0054aa3e
mov dword [esp + 0x108], edx
mov dword [esp + 0x104], eax
movsd xmm0, qword [esp + 0x104]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0xd4]
mov dword [esp], eax
call fcn.0052c4c0
int3