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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x118
mov edi, ecx
mov esi, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x10], str.EHFrameHeader
mov dword [esp + 0x14], 0xd
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
mov dword [esp + 0x70], ecx
call dword [eax + 0x7c]
sub esp, 8
mov eax, esi
mov esi, dword [esi + 0x10]
mov ebx, dword [eax + 0x14]
bswap ebx
bswap esi
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.Address:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ebx
lea esi, [esp + 0x10]
mov dword [esp], esi
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
bswap edx
bswap ecx
mov dword [esp + 0x14], str.Offset:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp], esi
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
bswap edx
bswap ecx
mov dword [esp + 0x14], str.Size:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp], esi
mov ecx, eax
call fcn.005507fe
sub esp, 4
mov dword [esp + 0x24], edi
mov esi, dword [edi + 4]
lea eax, [esi + 0x1c]
mov ecx, ebx
mov ebx, dword [ebx + 0x10]
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp], eax
lea ecx, [esp + 0x10]
call fcn.00502220
sub esp, 4
test byte [esp + 0x18], 1
jne 0x50e888
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x50e199
mov eax, dword [esp + 0x10]
add eax, 0x10
shl ecx, 6
nop dword [eax + eax]
mov edx, dword [eax]
xor edx, ebx
mov esi, dword [eax + 4]
xor esi, edi
or esi, edx
je 0x50e75b
add eax, 0x40
add ecx, 0xffffffc0
jne 0x50e180
mov esi, dword [esp + 0x24]
lea edi, [esp + 0x10]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
lea ecx, [esp + 0x38]
call fcn.0050f580
sub esp, 8
test byte [esp + 0x40], 1
jne 0x50e8bf
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov word [esp + 0x4c], 0x800
mov ecx, dword [esi]
mov dword [esp + 0x10], str.Header
mov dword [esp + 0x14], 6
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0x10]
movsd qword [esp], xmm0
mov dword [esp + 0x6c], ecx
call dword [eax + 0x7c]
sub esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
call fcn.00550b0a
sub esp, 8
mov ebx, eax
mov ecx, dword [esi]
mov dword [esp + 0xc8], 0x55d29d
mov dword [esp + 0xcc], 7
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xc8]
movsd qword [esp], xmm0
movzx edx, bl
mov dword [esp + 8], edx
call dword [eax + 0x10]
sub esp, 0xc
cmp bl, 1
jne 0x50e906
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
call fcn.00550b0a
sub esp, 8
mov ebx, eax
movzx esi, al
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.eh_frame_ptr_enc:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov ecx, eax
call fcn.005507fe
sub esp, 4
cmp bl, 0x1b
jne 0x50e959
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
call fcn.00550b0a
sub esp, 8
mov ebx, eax
movzx esi, al
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.fde_count_enc:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov ecx, eax
call fcn.005507fe
sub esp, 4
cmp bl, 3
jne 0x50e9ac
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x44]
call fcn.00550b0a
sub esp, 8
mov ebx, eax
movzx esi, al
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.table_enc:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov dword [esp], edi
mov ecx, eax
call fcn.005507fe
sub esp, 4
cmp bl, 0x3b
jne 0x50e9ff
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 4
lea ecx, [esp + 0x44]
call fcn.00550b10
sub esp, 8
mov edi, eax
mov ebx, edx
add edi, dword [esp + 0x50]
adc ebx, dword [esp + 0x54]
add edi, 4
adc ebx, 0
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.eh_frame_ptr:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov dword [esp], ecx
mov ecx, eax
call fcn.005507fe
sub esp, 4
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 4
lea ecx, [esp + 0x44]
call fcn.00550b04
sub esp, 0xc
mov edi, esi
mov ecx, dword [esi]
mov dword [esp + 0xa0], str.fde_count
mov dword [esp + 0xa4], 9
mov esi, dword [ecx]
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp], xmm0
mov dword [esp + 0x58], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 8], eax
call dword [esi + 0x30]
sub esp, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ecx, 8
adc eax, 0
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x28]
mov esi, dword [esi + 0x2c]
bswap edx
bswap esi
cmp esi, ecx
sbb edx, eax
jb 0x50e71d
mov eax, dword [esp + 0x5c]
or eax, dword [esp + 0x58]
je 0x50e71d
mov edx, edi
xor edi, edi
xor esi, esi
xor ecx, ecx
nop word cs:[eax + eax]
mov dword [esp + 0x7c], esi
mov ebx, edx
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov byte [esp + 0x84], 0xc
lea eax, [esp + 0x85]
mov word [eax + 4], 0x2079
mov dword [eax], 0x72746e65
mov byte [esp + 0x8b], 0
mov dword [esp + 0x74], ecx
mov dword [esp + 4], ecx
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.00550f7e
movzx eax, byte [esp + 0x60]
test al, 1
je 0x50e500
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
jmp 0x50e506
shr eax, 1
lea ecx, [esp + 0x61]
lea esi, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x84]
call fcn.00550f3c
sub esp, 8
movsd xmm0, qword [eax]
movsd qword [esp + 0x10], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
movzx eax, byte [esp + 0x10]
test al, 1
je 0x50e560
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x50e566
shr eax, 1
lea ecx, [esp + 0x11]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xf8]
movsd qword [esp], xmm0
call dword [eax + 0x7c]
sub esp, 8
test byte [esp + 0x10], 1
jne 0x50e6e0
test byte [esp + 0x60], 1
jne 0x50e6f7
mov dword [esp + 0x80], edi
test byte [esp + 0x84], 1
je 0x50e5c4
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov dword [esp], esi
mov dword [esp + 4], 4
lea ecx, [esp + 0x44]
call fcn.00550b10
sub esp, 8
mov edi, eax
mov esi, edx
add edi, dword [esp + 0x50]
adc esi, dword [esp + 0x54]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.initial_location:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x10]
mov dword [esp], ecx
mov ecx, eax
call fcn.005507fe
sub esp, 4
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 4
lea ecx, [esp + 0x44]
call fcn.00550b10
sub esp, 8
mov ecx, ebx
mov ebx, edx
add eax, dword [esp + 0x50]
mov dword [esp + 0x78], eax
adc ebx, dword [esp + 0x54]
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x90]
mov dword [esp + 0x14], str.address:_0x_llx_n
mov dword [esp + 0x10], 0x553100
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp], ecx
mov ecx, eax
call fcn.005507fe
sub esp, 4
cmp edi, dword [esp + 0x80]
mov eax, esi
sbb eax, dword [esp + 0x7c]
jb 0x50e831
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add ecx, 8
adc eax, 0
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
bswap edx
bswap ebx
cmp ebx, ecx
sbb edx, eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
jb 0x50e71d
inc ecx
cmp ecx, dword [esp + 0x5c]
mov eax, 0
sbb eax, dword [esp + 0x58]
jb 0x50e4a0
jmp 0x50e71d
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x60], 1
je 0x50e5a4
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov dword [esp + 0x80], edi
test byte [esp + 0x84], 1
jne 0x50e5b5
jmp 0x50e5c4
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x80]
test byte [esp + 0x40], 1
je 0x50e745
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test ecx, ecx
je 0x50e745
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
call dword [eax + 0x80]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x38], 0x43ad10
mov dword [esp + 0xf0], 0x43b380
lea ecx, [esp + 0x38]
mov dword [esp + 0xf4], ecx
add eax, 0xfffffff0
movsd xmm0, qword [esp + 0xf0]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
lea ecx, [esp + 0x10]
call fcn.00506570
sub esp, 0x10
test byte [esp + 0x18], 1
jne 0x50ea56
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
mov dword [esp + 0xe0], str.Corresponding_Section
mov dword [esp + 0xe4], 0x15
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xd8], eax
mov eax, dword [ecx]
movsd xmm0, qword [esp + 0xd8]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0xe0]
movsd qword [esp], xmm0
call dword [eax + 0x74]
sub esp, 0x10
test byte [esp + 0x18], 1
lea edi, [esp + 0x10]
je 0x50e1a5
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x50e1a5
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x50e1a5
mov dword [esp + 0x10], str.initial_location_is_out_of_order
mov word [esp + 0x20], 0x103
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
lea esi, [esp + 0x100]
mov dword [esp], esi
call fcn.0041bf40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
movsd xmm0, qword [esp + 0x98]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052da00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x44], eax
mov ecx, esi
call fcn.00550e34
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0052da00
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x90], eax
mov ecx, dword [esi + 4]
call fcn.00550e34
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd0], eax
movsd xmm0, qword [esp + 0xd0]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x90]
mov dword [esp], eax
call fcn.0052da00
mov dword [esp + 0x10], str.only_version_1_of_.eh_frame_hdr_is_supported
mov word [esp + 0x20], 0x103
mov dword [esp + 4], edi
lea esi, [esp + 0x110]
mov dword [esp], esi
call fcn.0041bf40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc0], eax
movsd xmm0, qword [esp + 0xc0]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052da00
mov dword [esp + 0x10], str.unexpected_encoding_eh_frame_ptr_enc
mov word [esp + 0x20], 0x103
mov dword [esp + 4], edi
lea esi, [esp + 0x10c]
mov dword [esp], esi
call fcn.0041bf40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
movsd xmm0, qword [esp + 0xb8]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052da00
mov dword [esp + 0x10], str.unexpected_encoding_fde_count_enc
mov word [esp + 0x20], 0x103
mov dword [esp + 4], edi
lea esi, [esp + 0x108]
mov dword [esp], esi
call fcn.0041bf40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052da00
mov dword [esp + 0x10], str.unexpected_encoding_table_enc
mov word [esp + 0x20], 0x103
lea eax, [esp + 0x10]
mov dword [esp + 4], eax
lea esi, [esp + 0x104]
mov dword [esp], esi
call fcn.0041bf40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
movsd xmm0, qword [esp + 0xa8]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.0052da00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
call fcn.00550e34
mov dword [esp + 0xec], edx
mov dword [esp + 0xe8], eax
movsd xmm0, qword [esp + 0xe8]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.0052da00
int3