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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov ebx, ecx
lea ebp, [esp + 0x1c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp], 1
lea edi, [esp + 0x10]
mov ecx, edi
call fcn.00444f80
sub esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4], 0
mov dword [eax + ecx*4 + 8], 0
mov byte [eax + ecx*4 + 0xc], 0
mov byte [eax + ecx*4 + 0x10], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x30], 0
mov byte [esp + 0x34], 1
add ecx, 2
cmp ecx, dword [esp + 0x18]
ja 0x50a8ad
lea esi, [esp + 0x24]
mov ecx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4], 0
mov byte [eax + ecx*4 + 0x10], 0
cmp byte [esi + 0x10], 0
je 0x50a5aa
lea eax, [eax + ecx*4]
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
movsd xmm0, qword [esi]
movsd qword [eax], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
movzx ecx, byte [esi + 0xc]
mov byte [eax + 0xc], cl
mov byte [eax + 0x10], 1
inc dword [esp + 0x14]
mov esi, dword [esp + 0x7c]
cmp byte [esp + 0x34], 0
je 0x50a5cc
test byte [esp + 0x24], 1
je 0x50a5cc
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov edx, dword [esp + 0x74]
mov dword [esp + 0x40], edi
test esi, esi
je 0x50a6d1
mov dword [esp + 4], esi
mov dword [esp], edx
lea ecx, [esp + 0x24]
call fcn.0050a900
sub esp, 8
movzx eax, byte [esp + 0x30]
mov esi, dword [esp + 0x24]
test al, 1
mov byte [esp + 0x3c], al
jne 0x50a697
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x50a67c
mov dword [esp + 0x38], ebx
add esi, 0x19
mov ebx, 0x7fff
lea ebp, [esp + 0x40]
nop dword [eax]
mov eax, dword [esi - 0xd]
and eax, ebx
movzx ecx, byte [esi - 1]
mov edx, ecx
shr edx, 1
test cl, 1
mov ecx, dword [esi + 7]
cmove ecx, esi
mov dword [esp + 0x58], ecx
cmovne edx, dword [esi + 3]
mov dword [esp + 0x5c], edx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 1
mov ecx, ebp
call fcn.0050b6a0
sub esp, 0x10
lea eax, [esi + 0x30]
add esi, 0x17
cmp esi, edi
mov esi, eax
jne 0x50a620
movzx eax, byte [esp + 0x30]
mov ebx, dword [esp + 0x38]
lea ebp, [esp + 0x1c]
test al, 1
jne 0x50a6a9
lea eax, [esp + 0x24]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x20]
call fcn.004466f0
lea edi, [esp + 0x10]
jmp 0x50a6c2
or byte [ebx + 0xc], 1
mov dword [esp + 0x24], 0
mov dword [ebx], esi
test al, 1
je 0x50a680
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
lea edi, [esp + 0x10]
je 0x50a6c2
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x3c], 1
mov edx, dword [esp + 0x74]
jne 0x50a855
mov eax, dword [esp + 0x78]
test eax, eax
je 0x50a82a
mov dword [esp + 0x20], 0x43ad10
mov dword [esp + 0x50], 0x43b380
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], ecx
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], edx
lea esi, [esp + 0x24]
mov ecx, esi
call fcn.0050b870
sub esp, 0x10
movzx eax, byte [esp + 0x30]
mov ecx, dword [esp + 0x24]
test al, 1
mov byte [esp + 0x1f], al
jne 0x50a7d4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], edx
cmp ecx, edx
je 0x50a7e2
mov dword [esp + 0x38], ebx
mov ebx, 0x7fff
lea ebp, [esp + 0x40]
jmp 0x50a761
mov ecx, dword [esp + 0x3c]
add ecx, 0x24
cmp ecx, dword [esp + 0x44]
je 0x50a7f5
mov edi, dword [ecx + 0x18]
mov dword [esp + 0x3c], ecx
mov esi, dword [ecx + 0x1c]
cmp edi, esi
je 0x50a750
add edi, 0x11
nop word cs:[eax + eax]
mov eax, dword [edi - 9]
and eax, ebx
movzx ecx, byte [edi - 1]
mov edx, ecx
shr edx, 1
test cl, 1
mov ecx, dword [edi + 7]
cmove ecx, edi
mov dword [esp + 0x48], ecx
cmovne edx, dword [edi + 3]
mov dword [esp + 0x4c], edx
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov ecx, ebp
call fcn.0050b6a0
sub esp, 0x10
lea eax, [edi + 0x1c]
add edi, 0xb
cmp edi, esi
mov edi, eax
jne 0x50a780
jmp 0x50a750
or byte [ebx + 0xc], 1
mov dword [esp + 0x24], 0
mov dword [ebx], ecx
test al, 1
jne 0x50a80e
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
call fcn.00447690
jmp 0x50a823
movzx eax, byte [esp + 0x30]
mov ebx, dword [esp + 0x38]
lea ebp, [esp + 0x1c]
lea edi, [esp + 0x10]
lea esi, [esp + 0x24]
test al, 1
je 0x50a7e6
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x50a823
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x1f], 1
jne 0x50a855
lea eax, [ebx + 0xc]
and byte [ebx + 0xc], 0xfe
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
cmp dword [esp + 0x14], 0
je 0x50a891
mov dword [esp], edi
mov ecx, ebx
call fcn.00447750
sub esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x50a895
shl eax, 2
lea edi, [eax + eax*4]
jmp 0x50a875
add edi, 0xffffffec
je 0x50a891
cmp byte [esi + edi - 4], 0
je 0x50a870
test byte [esi + edi - 0x14], 1
je 0x50a870
mov eax, dword [esi + edi - 0xc]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x50a870
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x50a8a1
mov dword [esp], esi
call sub.msvcrt.dll_free
mov eax, ebx
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
lea esi, [esp + 0x24]
cmp edx, esi
seta dl
cmp eax, esi
ja 0x50a8c4
test dl, dl
jne 0x50a8dc
mov dword [esp], ecx
lea ecx, [esp + 0x10]
call fcn.00444f80
sub esp, 4
mov eax, dword [esp + 0x10]
jmp 0x50a564
sub esi, eax
mov dword [esp], ecx
lea ecx, [esp + 0x10]
call fcn.00444f80
sub esp, 4
mov eax, dword [esp + 0x10]
add esi, eax
jmp 0x50a564